+1. I'd also like intellij to add a lot more metrics, similar to these 
(taken from www.refactorit.com feature list). Maybe not all of them 
right away, but it's a start.

--pete

Metrics
The following metrics are available at the project, package and type level;

Non-OO metrics

     * LOC -- Total Lines of Code
     * NCLOC -- Non-Comment Lines of Code, aka ELOC, aka NCSL
     * CLOC -- Comment Lines of Code
     * DC -- Density of comments = CLOC / LOC.
     * NP -- Number of Parameters
     * EXEC -- Executable Statements
     * CC or V(G) -- Cyclomatic Complexity.

OO Metrics

     * WMC -- Weighted Methods per Class (weighted by V(g))
     * RFC -- Response for Class
     * DIT -- Depth in Tree. Distance from class to root of inheritance 
hierachy
     * NOC -- Number of Children. Number of direct subclasses of a class.
     * NOT -- Number of Types. Number of classes and interfaces
     * NOTa -- Number of Abstract Types. Number of abstract classes and 
interfaces
     * NOTc -- Number of Concrete Types. Number of concrete classes
     * NOTe -- Number of Exported Types. Number of classes and 
interfaces made available to clients outside of package
     * A -- Abstractness. Ratio of abstract classes and interfaces in a 
package.
     * Ca -- Afferent Coupling aka Incoming Dependencies. Number of 
types outside of a package that depend of types of the package
     * Ce -- Edfferent Coupling aka Outgoing Dependencies. Number of 
types outside of a package that types of the package depend on
     * I = Ce / (Ca + Ce) -- Instability (Robert C. Martin)
     * D -- Distance from the Main Sequence (Robert C. Martin).
* CYC -- Cyclic Dependencies.

Jordan Zimmerman wrote:
> It would be nice if Inspect Code would produce a report on number of lines
> in the code (and maybe complexity, etc.).
> 
> --
> Jordan Zimmerman
> Altura International
> Catalog City
> 
> 


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to