Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 84 | ****** |
McCabe's Cyclomatic Number | MVG | 12 | ****** |
Lines of Comment | COM | 44 | ******** |
LOC/COM | L_C | 1.909 | |
MVG/COM | M_C | 0.273 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 10 | |
Information Flow measure ( inclusive ) | IF4 | 256 | ******** |
Information Flow measure ( visible ) | IF4v | 256 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
GameCanvas.java:24 |
8 | 0 | 17 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
GameCanvas( pacman ) definition GameCanvas.java:47 | 13 | 0 | 4 | ------ | ------ |
advanceFrame( ) definition GameCanvas.java:89 | 15 | 1 | 5 | ------ | ------ |
commandAction( Command, Displayable ) definition GameCanvas.java:145 | 13 | 2 | 3 | ------ | ------ |
keyPressed( int ) definition GameCanvas.java:114 | 23 | 9 | 9 | 2.556 | 1.000 |
paint( Graphics ) definition GameCanvas.java:74 | 6 | 0 | 6 | ------ | ------ |
unPause( ) definition GameCanvas.java:63 | 6 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
FrameTrigger [V] member variable FrameTrigger.java:27 normal parameter FrameTrigger.java:44 pacman [V] member variable pacman.java:28 |
Canvas [CV] extends GameCanvas.java:24 Command [V] member variable GameCanvas.java:40 member variable GameCanvas.java:41 normal parameter GameCanvas.java:145 CommandListener [CV] implements GameCanvas.java:24 Displayable [V] normal parameter GameCanvas.java:145 FrameTrigger [V] member variable GameCanvas.java:37 GameBoard [V] member variable GameCanvas.java:31 Graphics [V] normal parameter GameCanvas.java:74 pacman [V] member variable GameCanvas.java:39 normal parameter GameCanvas.java:47 |