[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    quality/apidox/src
From:       Allen Winter <winter () kde ! org>
Date:       2011-01-07 23:51:22
Message-ID: 20110107235122.2DD4EAC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212691 by winterz:

port to work with doxygen1.7. now we actually see a useful report.


 M  +22 -4     doxylog2html.pl  


--- trunk/quality/apidox/src/doxylog2html.pl #1212690:1212691
@@ -2,7 +2,7 @@
 
 ###############################################################################
 # Converts doxygen log files into pretty HTML for the EBN.                    #
-# Copyright (C) 2006-2007,2009,2010 by Allen Winter <winter@kde.org>          #
+# Copyright (C) 2006-2007,2009-2011 by Allen Winter <winter@kde.org>          #
 #                                                                             #
 # This program is free software; you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -47,7 +47,7 @@
 use POSIX qw (strftime);
 
 my($Prog) = 'doxylog2html.pl';
-my($Version) = '1.91';
+my($Version) = '1.92';
 
 my($help) = '';
 my($explain) = '';
@@ -163,6 +163,12 @@
   $Issues{'MATCHFILE'}{'files'} = '';
 
   ###
+  $Issues{'NONAMEMEM'}{'issue'} = 'Check for members without names';
+  $Issues{'NONAMEMEM'}{'explain'} = 'Make sure that class members have names.';
+  $Issues{'NONAMEMEM'}{'count'} = 0;
+  $Issues{'NONAMEMEM'}{'files'} = '';
+
+  ###
   $Issues{'BADTAG'}{'issue'} = 'Check for bad tags';
   $Issues{'BADTAG'}{'explain'} = 'Do not use undefined XML or HTML tags in the \
documentation.';  $Issues{'BADTAG'}{'count'} = 0;
@@ -199,6 +205,12 @@
   $Issues{'BADFUNC'}{'files'} = '';
 
   ###
+  $Issues{'BADDEFINE'}{'issue'} = 'Check for undocumented defines';
+  $Issues{'BADDEFINE'}{'explain'} = 'An undocumented define was encountered.';
+  $Issues{'BADDEFINE'}{'count'} = 0;
+  $Issues{'BADDEFINE'}{'files'} = '';
+
+  ###
   $Issues{'INTERNAL'}{'issue'} = 'Check for internal inconsistencies';
   $Issues{'INTERNAL'}{'explain'} = 'An internal inconsistency was encountered.  \
Usually this is because the scope of a class can not be found.';  \
$Issues{'INTERNAL'}{'count'} = 0; @@ -258,7 +270,7 @@
   while ($line = <IN>) {
     $ln++;
     chomp($line);
-    if ($line !~ m+Warning:+) {
+    if ($line !~ m+[Ww]arning:+) {
       next if ($line =~ m/^\*/);
       next if ($line =~ m/^$/);
       next if ($line =~ m/^\s+/);
@@ -426,7 +438,7 @@
 #  return "ERROR: Strangeness detected: $line"
 #    unless ($line =~ m/Warning:/ || $line =~ m/\s+parameter/);
 
-  if ($line =~ m+Warning:+) {
+  if ($line =~ m+[Ww]arning:+) {
     if ($line =~ m+^<.*>:+) {
       return "GARBAGE";
     }
@@ -463,6 +475,9 @@
     if ($line =~ m+no matching file member+) {
       return "MATCHFILE";
     }
+    if ($line =~ m+member with no name found+) {
+      return "NONAMEMEM";
+    }
     if ($line =~ m+Unsupported xml/html tag+) {
       return "BADTAG";
     }
@@ -481,6 +496,9 @@
     if ($line =~ m+documented function+ && $line =~ m+was not defined+) {
       return "BADFUNC";
     }
+    if ($line =~ m+documentation for unknown define+) {
+      return "BADDEFINE";
+    }
     if ($line =~ m+Internal inconsistency+) {
       return "INTERNAL";
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic