Wednesday, 9 October 2013

Halstead analysis tool in java

Read : http://en.wikipedia.org/wiki/Halstead_complexity_measures

The assignment is to write a small program that takes a source code file as an input, identifies n1, n2, N1 & N2; and then prints all Halstead's metrics as output.

Language of the source code (input file) : C

Language used to develop the tool : Java7

Source-code for the tool (Java7) :


Source-code for the input file (C) :


| Advertisement |

No comments:

Post a Comment