You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Line of Code",/*LOC: It counts the lines of count, ignoring empty lines.*/
21
+
"Class Cyclomatic Complexity",/*WMC: Weight Method Class or McCabe's complexity. It counts the number of branch instructions in a class.*/
22
+
"Depth of Inheritance Tree",/*DIT: It counts the number of "fathers" a class has. All classes have DIT at least 1 (everyone inherits java.lang.Object). In order to make it happen, classes must exist in the project (i.e. if a class depends upon X which relies in a jar/dependency file, and X depends upon other classes, DIT is counted as 2).*/
23
+
"Number of Children", /*NOC: Counts the number of children a class has.*/
24
+
"Coupling Between Objects", /*CBO: Counts the number of dependencies a class has. The tools checks for any type used in the entire class (field declaration, method return types, variable declarations, etc). It ignores dependencies to Java itself (e.g. java.lang.String)*/
25
+
"Lack of Cohesion of Methods",/*LCOM: This is the very first version of metric, which is not reliable. LCOM-HS can be better (hopefully, you will send us a pull request)*/
26
+
"Response for a Class",/*RFC: Counts the number of unique method invocations in a class. As invocations are resolved via static analysis, this implementation fails when a method has overloads with same number of parameters, but different types.*/
27
+
"Number of Methods",
28
+
"Number of Public Methods",
29
+
"Number of Static Methods",
30
+
"Number of Fields",
31
+
"Number of Public Fields",
32
+
"Number of Static Fields",
33
+
"Number of Static Invocations", /*NOSI: Counts the number of invocations to static methods. It can only count the ones that can be resolved by the JDT*/
0 commit comments