Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bunch of new metrics for Java #46

Open
wants to merge 107 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
70ad385
Remove CSS, JavaScript, JSP and Scala metrics as unnecessary
ArgentumWalker Mar 5, 2017
23570e9
Add building guide
ArgentumWalker Mar 5, 2017
c6410df
Merge pull request #1 from ml-in-programming/Plugin-config
jzuken Mar 5, 2017
7ad8e93
Guide simplified
shurik111333 Mar 14, 2017
406d876
Merge pull request #3 from shurik111333/update_guide
jzuken Mar 15, 2017
8ac7a96
Added fan-in metric for classes
shurik111333 Mar 28, 2017
2393a18
Added fan-out class metric
shurik111333 Mar 28, 2017
65bad44
Fixed NPE when calls method from unexisting class
shurik111333 Apr 2, 2017
fcfe723
Post Fan-Out metric only for classes from scope
shurik111333 Apr 2, 2017
59fb53f
Added Fan-In method metric
shurik111333 Apr 2, 2017
2079084
Adde Fan-Out method metric
shurik111333 Apr 2, 2017
bc5c68a
Fix abbreviations for fan class metrics
shurik111333 Apr 2, 2017
09f4bfd
Adde existing metrics for SDDRAR approach
shurik111333 Apr 10, 2017
d272aed
Added afferent coupling class metric
shurik111333 Apr 10, 2017
b44f052
Added information flow-based cohesion metric
shurik111333 Apr 11, 2017
0f7b99a
Added number of methods metric
shurik111333 Apr 11, 2017
a97bac6
Fix fan method metrics
shurik111333 Apr 11, 2017
97ad1e5
Fix fan class metrics
shurik111333 Apr 14, 2017
6c1a778
Added data abstraction coupling class metric
shurik111333 Apr 24, 2017
3caec27
Add field usage calculation
shurik111333 May 2, 2017
e17ec6a
Added calculating field usages in fan class metric
shurik111333 May 2, 2017
d9671f1
Added field usage calculation
shurik111333 May 2, 2017
f42464b
Condition & Decision count metrics
ArgentumWalker May 7, 2017
631d7d1
Operands & Operators metrics
ArgentumWalker May 7, 2017
be51ef7
Add usage util
shurik111333 May 5, 2017
6cac4cf
Add tight class coupling metric
shurik111333 May 9, 2017
91951d9
Added loose class coupling metric
shurik111333 May 10, 2017
9730e73
Some refactoring; Create abstract class for calculating method pairs …
shurik111333 May 10, 2017
d2f2b2e
Added LCOM1
shurik111333 May 10, 2017
8104ad1
Remove instability metric
shurik111333 May 10, 2017
bdd7019
Added LCOM2
shurik111333 May 10, 2017
3abd423
Added set utils
shurik111333 May 10, 2017
0a3a56a
Fix LCOM2 class names
shurik111333 May 10, 2017
0b2ff26
Added LCOM5
shurik111333 May 10, 2017
7915875
Fix dependency map
shurik111333 May 10, 2017
28ce73c
Remove commented code
shurik111333 May 11, 2017
19c65d4
Now fan class metrics calculate metrics only for concrete classes
shurik111333 May 11, 2017
919dda1
Now fan metrics ignore lambda methods
shurik111333 May 11, 2017
5f9e20b
Add branch count metric
ArgentumWalker May 13, 2017
681ed9f
Add branch count metric fix
ArgentumWalker May 13, 2017
ddbeaa5
Blank lines count
ArgentumWalker May 13, 2017
5f3329f
Blank lines count
ArgentumWalker May 13, 2017
f37625b
Added locality of data metric
shurik111333 May 15, 2017
a0bb77b
Halstead Program Level metric
ArgentumWalker May 18, 2017
a1f181d
Design Density Metric
ArgentumWalker May 18, 2017
b327535
Fix LCC
shurik111333 May 24, 2017
c5cc0a3
Added isGetter() and isSetter() methods
shurik111333 May 24, 2017
c5dc0a9
Fixed Locality of Data metric
shurik111333 May 24, 2017
c0d9f9b
Fix LCOM1
shurik111333 May 24, 2017
c0e8d1d
Fixed LCOM2
shurik111333 May 24, 2017
8f32e3a
Fixed information flow-based cohesion
shurik111333 May 24, 2017
e1d66b3
Fix TCC and LCC: now they consider visible methods in class
shurik111333 May 28, 2017
b002e0d
Formal Parameters metric
ArgentumWalker Jun 5, 2017
bce5df8
add bloc for methods
ArgentumWalker Jun 6, 2017
0145956
fix bug with deco metric & move design density metric
ArgentumWalker Jun 10, 2017
085ff21
Remove author comments
ArtyomLobanov Jul 3, 2017
0d3c96e
Merge pull request #4 from shurik111333/fan_metrics
ArtyomLobanov Jul 3, 2017
8cd5e63
Merge remote-tracking branch 'origin/metrics_pack'
ArtyomLobanov Jul 3, 2017
5b9a8e7
Fix illegal character
ArtyomLobanov Jul 3, 2017
d82fa3b
Rewrite fan metrics
ArtyomLobanov Jul 3, 2017
d53fce7
Bug in BlankLinesCalculator fixed
ArtyomLobanov Jul 4, 2017
96c7e5a
Added description for fan metrics #13
ArtyomLobanov Jul 4, 2017
d5a54fb
Remove iws file
shurik111333 Jul 4, 2017
318470a
Fix asserts in SetUtil tests
shurik111333 Jul 4, 2017
e9ad21a
Fix exception in DAC
shurik111333 Jul 4, 2017
7f5cdd0
Refactor IFC metric
shurik111333 Jul 6, 2017
294c01f
Fix LD metric
shurik111333 Jul 6, 2017
370c98a
Fix Number of methods metric. Now it calculates onlu for concrete cla…
shurik111333 Jul 6, 2017
93e0559
Transferred helper methods from LCOM calculator to MethodsCohesionUtils
shurik111333 Jul 7, 2017
9835723
Rewrite LCC with MethodCohesionUtils
shurik111333 Jul 7, 2017
6d31608
Rewrite TCC with MethodsCohesionUtils
shurik111333 Jul 7, 2017
40556aa
Rewrite LCOM1 with MethodsCohesionUtils
shurik111333 Jul 7, 2017
85232a1
Add descriptions for Operands&Operators count metrics, fix descriptio…
ArtyomLobanov Jul 4, 2017
6e4d199
close #12
ArtyomLobanov Jul 4, 2017
a53f8b4
Close #9
ArtyomLobanov Jul 4, 2017
4ca526a
Description for BlankLines metrics #11
ArtyomLobanov Jul 4, 2017
fa32a4a
Fix bug in BranchCountCalculator, add description for Branch, fix des…
ArtyomLobanov Jul 4, 2017
a43c366
Remove TODO's; Fix abbreviations
ArtyomLobanov Jul 4, 2017
0e6c5fa
Rewrite descriptions to maintain format (Calculates...)
ArtyomLobanov Jul 6, 2017
b944a66
Split too long lines
ArtyomLobanov Jul 6, 2017
ebc2e25
Fix abbreviations and names
ArtyomLobanov Jul 6, 2017
d5c6cc1
Improve Halstead program level description
ArtyomLobanov Jul 6, 2017
ef1a922
minor syntax fixes
jzuken Jul 7, 2017
63c3b70
Added calculating methods for each field in util; Now LCOM2 uses Meth…
shurik111333 Jul 7, 2017
0a43841
Now LCOM5 uses MethodsCohesionUtils
shurik111333 Jul 7, 2017
57f208f
code style fixes
jzuken Jul 7, 2017
3451fa5
Fix for non concrete classes in NOM
shurik111333 Jul 7, 2017
da8fb97
Unnecessary classes was removed; Added javadoc for some utils
shurik111333 Jul 7, 2017
f98de3a
reverted project files
jzuken Jul 7, 2017
da1cc0f
reverted deleted files
jzuken Jul 7, 2017
b532848
deleted build manual
jzuken Jul 7, 2017
cf708e4
Added descriptions for ICH, TCC, LCC
shurik111333 Jul 7, 2017
edabb9e
Added descriptions for LCOM metrics
shurik111333 Jul 7, 2017
15da2ae
Added descriptions for DAC, LD, NOM metrics
shurik111333 Jul 7, 2017
75d69a0
Optimized imports in DAC calculator
shurik111333 Jul 7, 2017
a9720a0
Removed duplicate metric AC
shurik111333 Jul 7, 2017
7e66bfb
Some refactoring in LCOM1 and TCC
shurik111333 Jul 7, 2017
87c6467
Remove AC from StockMetricsBundle
shurik111333 Jul 7, 2017
92f4f70
Merge branch 'master' of https://github.com/ml-in-programming/Metrics…
shurik111333 Jul 7, 2017
20d3400
Merge branch 'master' into sddrar_metrics
shurik111333 Jul 7, 2017
e6194ed
Remove comments with author
shurik111333 Jul 9, 2017
9f04275
Added fan-in metric in sddrar profile
shurik111333 Jul 9, 2017
e2b99aa
Fixed name of ScalaFileType instance in project
shurik111333 Jul 9, 2017
acf9aee
code style fixes
jzuken Jul 10, 2017
1287b1f
Merge branch 'sddrar_metrics' of github.com:shurik111333/MetricsReloa…
jzuken Jul 10, 2017
2fdb2ec
Merge pull request #17 from shurik111333/sddrar_metrics
jzuken Jul 10, 2017
ac5fcfe
Some code cleanup in SetUtil
shurik111333 Jul 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of blank lines in a class's code.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>BL</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of blank lines in a method's code.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>BL</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of code blocks which execution depends on a condition
(e.g. body of if statements, try-catch blocks etc.). The method's body
block is also included.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>BC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of elementary conditions in method. A condition is elementary
if it doesn't contains any others conditions.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>CC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of classes used by the class as an attribute.
For more information see <i>LiW, Henry S (1993) Object oriented metrics which predict maintainability</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>DAC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of decisions points in method that can not be computed in compile-time
(e.g. if, switch, while statements etc.)
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>DC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the ratio between the Design Complexity of the method and its Cyclomatic Complexity.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>DD</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of unique operands in a method.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>D_OPRND</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of unique operators in a method.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>D_OPRTR</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
For each class calculates the number of classes that reference it.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>FIC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of times a method is invoked by other methods.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>FIM</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
For each class calculates the number of classes that are referenced by it.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>FOC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of times a method invokes another methods.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>FOC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of explicit method's parameters.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>FPC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates ratio between the Halstead Potential Volume
<span class="texhtml"><i>V</i><sup>&nbsp;*&nbsp;</sup></span> of the algorithm and its
actual volume <span class="texhtml"><i>V</i></span>. It represents the implementation
level of the algorithm characterized by
<span class="texhtml"><i>V</i><sup>&nbsp;*&nbsp;</sup></span>. For the same algorithm,
the program level decreases as the program volume increases.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>HPL</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of method invocations inside a class weighted by the number of parameters.
Only invocations of methods from the same class are counted.
For more information see <i>Lee YS, Liang BS, Wu SF et al. (1995) Measuring the coupling and cohesion
of an object-oriented program based on information flow. In: Proceedings of international conference
on software quality, Maribor, Slovenia</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>ICH</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the degree of cohesiveness of a class.
This is one of the variants of <b>Lack of cohesion in methods</b> metric.
The metric is the difference between number of method pairs that do not access common
attributes and method pairs that do. If that is negative number, then LCOM1 is set to 0.
For more information see <i>S.R.Chidamber, C.F.Kemerer. A Metrics Suite for Object
Oriented Design. IEEE Transactions on Software Engineering, Vol. 20, No. 6, June 1994</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>LCOM1</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the degree of cohesiveness of a class.
This is one of the variants of <b>Lack of cohesion in methods</b> metric.
The metric is the mean number of methods accessing each field minus
the number of methods divided by 1 minus the number of methods.
For more information see <i>Henderson-Sellers, B., Object-oriented
metrics: measures of complexity, Prentice-Hall, pp.142-147, 1996.
</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>LCOM2</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the degree of cohesiveness of a class.
This is onу of the variants of <b>Lack of cohesion in methods</b> metric.
For each field it finds a set of methods from the same class that use this field.
Value of the metric is the mean of the
<a href="https://en.wikipedia.org/wiki/Jaccard_index">Jaccard distance</a> between two sets of methods
for each pair of fields.
For more information see <i>Henderson-Sellers, Constantine and Graham. Coupling and Cohesion
(Towards a Valid Metrics Suite for Object-Oriented Analysis and Design).
Object-Oriented Systems, 3(3), pp 143-158, 1996</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>LCOM5</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the ratio of the sum of all methods' local variables to
all variables for all methods except local variables defined in method.
Local variables are non-public instance variables of a class or
inherited protected instance variables of a superclass.
For more information see <i>Hitz M, Montazeri B.
Measuring coupling and cohesion in object-oriented systems. 1995</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>LD</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the ratio of connected or indirectly connected method pairs to all method pairs in a class.
Two methods are connected if they use at least one common attribute (an attribute can be from another class).
Two methods <b>A</b> and <b>B</b> are indirectly connected if there is a method sequence <b>M_1, ..., M_n</b>
such that <b>A = M_1</b>, <b>B = M_n</b> and <b>M_i</b> connected with <b>M_i+1</b>
for all <b>i</b> in <b>[1..n-1]</b>.
For more information see <i>Bieman JM, Kang BK (1995) Cohesion and reuse in an object-oriented system.
ACM SIGSOFT Softw Eng Notes 20(SI):259–262</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>LCC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the number of methods in a class.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>NOM</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates number of operands used in method.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>OPRND_C</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates number of operators used in method.
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>OPRTR_C</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<html>
<body>
<table><tr><td valign="top" height="150">
<font face="verdana" size="-1">
Calculates the ratio of connected method pairs to all method pairs in a class.
Two methods are connected if they use at least one common attribute (an attribute can be from another class).
For more information see <i>Bieman JM, Kang BK (1995) Cohesion and reuse in an object-oriented system.
ACM SIGSOFT Softw Eng Notes 20(SI):259–262</i>
</font></td></tr>
<tr><td height="50"><font face="verdana" size="-1">Abbreviation: <b>TCC</b></font></td></tr>
<tr><td height="20"><font face="verdana" size="-2">Powered by MetricsReloaded </font></td></tr>
</table>
</body>
</html>
Loading