GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CMX / V2-7-0
Constituent: cmx_count     Tag: linux-gcc
cmx_count
- A trivial "lines-of-code" countercmx_count file ...
cmx_count
command applies rudimentary parsing to the file(s) provided as arguments to come up with a number of metrics including the infamous "lines-of-code". Input files are presumed to be C or C++. Totals are provided for each file and for all files in total.A typical unix command line sequence to count the lines of code in package <pkg> would look like:
> cd $CMX_I_<pkg>
> cmx_count <pkg>/*.h <pkg>/*.h.* src/*.h src/*.h.* src/*.c src/*.c.*