Code Counts

The DoxyLine.pl script can collect statistics from DoxyFilt.pl.

In particular we can count lines in certain broadly-defined categories. These categories are specified on the DoxyLine.pl command line as arguments.

We also use this script as a really contrived example of spawning a process to handle a file by suffix. The Doxygen.lox file contains the log from the last run of Doxygen. DoxyLine.pl is spawned with the --doxy argument to generate a page that Doxygen can handle stripped from the log file.

So the following numbers are from the last run of Doxygen, not the one that generated the pages you're actually reading. If you run it twice in a row it'll be accurate.

--------------------------------------------------------------
      Perl / code               2014
           / comment             388
           / blank               988
       POD / POD                2014
--------------------------------------------------------------
     Total / Sub                5404
           / Grand              5459
--------------------------------------------------------------
           / (uncounted           55)