I am looking for some time now for some method to measure perl scripts (and modules) for their quality.
Since quality is not simply expressed in a single number you will need a set of metrics like:
- cyclomatic complexity
- fan in/fan out (number of functions referenced and number of functions referring to)
- use of "use strict" and the -w option
- etc.
Can somebody help me out here?
Since quality is not simply expressed in a single number you will need a set of metrics like:
- cyclomatic complexity
- fan in/fan out (number of functions referenced and number of functions referring to)
- use of "use strict" and the -w option
- etc.
Can somebody help me out here?