Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 71 | ****** |
McCabe's Cyclomatic Number | MVG | 13 | ****** |
Lines of Comment | COM | 6 | ******** |
LOC/COM | L_C | 11.833 | |
MVG/COM | M_C | 2.167 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 8 | |
Information Flow measure ( inclusive ) | IF4 | 49 | ******** |
Information Flow measure ( visible ) | IF4v | 49 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
Menu.java:3 |
11 | 0 | 1 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Menu( Display, pacman ) definition Menu.java:19 | 6 | 0 | 0 | ------ | ------ |
commandAction( Command, Displayable ) definition Menu.java:54 | 34 | 11 | 4 | 8.500 | 2.750 |
init( pacman ) definition Menu.java:26 | 16 | 2 | 1 | ------ | ------ |
show( ) definition Menu.java:49 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
pacman [V] member variable pacman.java:34 member variable pacman.java:35 |
Command [V] member variable Menu.java:10 member variable Menu.java:11 member variable Menu.java:12 member variable Menu.java:13 member variable Menu.java:15 normal parameter Menu.java:54 CommandListener [CV] implements Menu.java:3 Display [V] member variable Menu.java:9 normal parameter Menu.java:19 Displayable [V] normal parameter Menu.java:54 GameCanvas [V] member variable Menu.java:6 List [CV] extends Menu.java:3 pacman [V] member variable Menu.java:4 normal parameter Menu.java:19 normal parameter Menu.java:26 |