Java: Complexity Measurement

There are several approaches to estimating how much complexity humans will perceive in a program. Many of these techniques are applied to single methods, some to classes, and some to entire programs.

Some of these measures can be automated, but it's unlikely that complexity measurement software will ever accurately model the human difficulties in comprehending source code, not to mention that there are lots of individual programmer differences.

Metrics