senzacionale
senzacionale

Reputation: 20926

program for calculating metrics in java

i need to calculate few metrics (CBO, NOC, DAC, LCOM, WMC, RFC and DIT metric). Program is written in jdeveloper and i do not know how to calculate this metrics. Migration to eclipse is not possible becouse code is not compiled. Does anyone know any good program for calculating metrics?

Upvotes: 1

Views: 3026

Answers (2)

stacker
stacker

Reputation: 68992

The most advanced tool in static analyze and report metrics on source code is IMHO the Sonar Maven Plugin.

Comparatively plain is JDepend

Upvotes: 4

trashgod
trashgod

Reputation: 205875

I like SourceMeter; this patch shows how to use JavaCC for custom Java source code metrics. Some colleagues prefer cccc.

Upvotes: 2

Related Questions