GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CMX / V2-5-3

Constituent: cmx_count     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

cmx_count.c File Reference

Home grown "lines-of-code" counter. More...

#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

Include dependency graph for cmx_count.c:

Include dependency graph

Defines

#define CMX_L_MESSAGE   1024
 Maximum length of error message.

#define CMX_L_FILENAME   (CMX_L_MESSAGE - 64)
 Maximum length of error message filename.


Functions

int main (int argc, char *argv[])
 Main routine.


Detailed Description

Home grown "lines-of-code" counter.

cmx_count applies very primitive parsing to the input files to come up with a variety of code metrics including the infamous "lines of code" count.

CVS $Id: cmx_count.c,v 1.3 2002/10/24 23:09:13 apw Exp $

Function Documentation

int main int  argc,
char *  argv[]
 

Main routine.

Calculate metrics for each member of the list of input files and total them.


Generated on Tue Aug 9 20:25:42 2005 by doxygen 1.3.3