A Software Complexity Metric Based On Cognitive Principles
Tom Mullen (Other Papers)
The metric is a measure of the cost of understanding software and can be evaluated at all levels of the code (from expression/statement through to library/application). A working prototype has been validated against manufactured examples for refactoring, design patterns and cohesion levels. The suggestion is that the metric could be used as part of an approach to automate refactoring and software design.
Crofton School Solutions(images showing the 203 different cases for the example in the paper, please see README.TXT in the zip file)
Prototype Code(eclipse plugin)
More Detailed discussion of results from the prototype (includes instructions how to run the plugin to generate the results)