Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 73 | ****** |
McCabe's Cyclomatic Number | MVG | 10 | ****** |
Lines of Comment | COM | 56 | ******** |
LOC/COM | L_C | 1.304 | |
MVG/COM | M_C | 0.179 | |
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 | 9 | |
Information Flow measure ( inclusive ) | IF4 | 324 | ******** |
Information Flow measure ( visible ) | IF4v | 324 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
GameCanvas.java:24 |
7 | 0 | 24 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
GameCanvas( pacman, Display ) definition GameCanvas.java:53 | 6 | 0 | 5 | ------ | ------ |
advanceFrame( ) definition GameCanvas.java:99 | 20 | 1 | 6 | 3.333 | ------ |
destroyFrameTrigger( ) definition GameCanvas.java:78 | 4 | 0 | 3 | ------ | ------ |
keyPressed( int ) definition GameCanvas.java:130 | 23 | 9 | 9 | 2.556 | 1.000 |
paint( Graphics ) definition GameCanvas.java:65 | 6 | 0 | 6 | ------ | ------ |
show( ) definition GameCanvas.java:86 | 7 | 0 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
FrameTrigger [V] member variable FrameTrigger.java:27 normal parameter FrameTrigger.java:44 Menu [V] member variable Menu.java:6 pacman [V] member variable pacman.java:29 |
Canvas [CV] extends GameCanvas.java:24 Display [V] member variable GameCanvas.java:30 normal parameter GameCanvas.java:53 FrameTrigger [V] member variable GameCanvas.java:42 GameBoard [V] member variable GameCanvas.java:36 Graphics [V] normal parameter GameCanvas.java:65 pacman [V] member variable GameCanvas.java:47 normal parameter GameCanvas.java:53 |