/improved-halstead

A code-readability parser based on an improved set of Halstead metrics

Primary LanguageScalaGNU General Public License v3.0GPL-3.0

Improved Halstead Metric Parser

This is parser written in Scala which calculates the readability of sample of code as based on an improved set of Halstead metrics as described by A Simpler Model of Software Readability .

To get a readability score for a particular file scala -cp $CLASSPATH:cgrammar.jar runtime.Main [filename]

To get readbility scores for all files in a directory ./parse-samples.bash [directory]