GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CMX / V2-13-8 > cmx_count / 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>

Defines

#define CMX_L_MESSAGE   1024
#define CMX_L_FILENAME   (CMX_L_MESSAGE - 64)

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 Thu Nov 29 15:57:56 2012 by  doxygen 1.5.8