Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Squid
-
Labels:None
-
Number of attachments :
Description
Robert Martin has written a paper specifying what could be good OO design quality metrics.
Implementation of JDepend is based on this paper but a visual representation could be higly more usefull to undertand and interpret metrics. Read the end of Robert's paper to understand how true is it or take a look to the attached image :
- Each circle represents a java package
- Circle can have three different colors : green (D is near 0), yellow (D is around 0,2), red (D is around 0,5)
- Size of circle is proportional to its package size
The mean of "Distance" metrics could be a good way to compare projects. Projects with a Distance near than 0 are better than projects with a greater Distance (Could be used as a new metric to colorize the treemap).
Issue Links
- depends upon
-
SONAR-47
Add measures at package level
-
- is related to
-
SONARPLUGINS-415
Compute ADI (Abstract, Distance, Instability) metrics from Robert C. Martin
-
-
SONAR-137
Calculate Chidamber and Kemerer Metrics
-
- relates to
-
SONAR-501
New "Components DSM" service
-
The following pages give very good definitions of OO metrics