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               3265
           / comment            1051
           / blank              1140
       POD / POD                 374
--------------------------------------------------------------
     Total / Sub                5830
           / Grand              5839
--------------------------------------------------------------
           / (uncounted            9)