Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran-dev] Lines of code

I ran a count of the lines of code in Photran again, just to see where we're at. See attached. The first column is total lines of code. The second is the number of actual maintained lines, i.e., excluding generated code, copied code, etc.

Jeff



==========

Counts do not include plugin.xml, build scripts, etc.

Java lines counted using Metrics plug-in from SourceForge

BNF lines counted using:
sed -e '/^[ \t]*$/d; /^[ \t]*#/d' ../org.eclipse.photran.core.vpg/parser/fortran2003.bnf | wc -l

Fortran lines in test plug-ins counted using:
LOC=0; for file in `find . -name "*.f*"`; do N=`sed -e '/^[ \t]*$/d; /^[ \t]*#/d' $file | wc -l | cut -c 1-8`; LOC=`expr $LOC + $N`; done; echo $LOC

GIF image


Back to the top