Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 168 | ****** |
McCabe's Cyclomatic Number | MVG | 26 | ****** |
Lines of Comment | COM | 179 | ******** |
LOC/COM | L_C | 0.939 | |
MVG/COM | M_C | 0.145 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 13 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 5 | |
Information Flow measure ( inclusive ) | IF4 | 36 | ******** |
Information Flow measure ( visible ) | IF4v | 36 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
PacmanActor.java:21 |
24 | 0 | 89 | 0.270 | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
PacmanActor( GridNode ) definition PacmanActor.java:159 | 16 | 0 | 23 | ------ | ------ |
advanceFrame( ) definition PacmanActor.java:310 | 46 | 12 | 17 | 2.706 | 0.706 |
getLivesLeft( ) definition PacmanActor.java:232 | 4 | 0 | 3 | ------ | ------ |
getNode( ) definition PacmanActor.java:201 | 3 | 0 | 3 | ------ | ------ |
getPelletsEaten( ) definition PacmanActor.java:208 | 4 | 0 | 3 | ------ | ------ |
getX( ) definition PacmanActor.java:216 | 4 | 0 | 3 | ------ | ------ |
getY( ) definition PacmanActor.java:224 | 4 | 0 | 3 | ------ | ------ |
goToNode( GridNode ) definition PacmanActor.java:258 | 7 | 1 | 3 | ------ | ------ |
isInvincible( ) definition PacmanActor.java:266 | 11 | 1 | 0 | ------ | ------ |
paint( Graphics ) definition PacmanActor.java:379 | 21 | 12 | 17 | 1.235 | 0.706 |
restart( ) definition PacmanActor.java:281 | 16 | 0 | 7 | ------ | ------ |
setDesiredDirection( int ) definition PacmanActor.java:241 | 4 | 0 | 4 | ------ | ------ |
setLivesLeft( int ) definition PacmanActor.java:250 | 4 | 0 | 4 | ------ | ------ |
Clients | Suppliers |
---|---|
GameBoard [V] member variable GameBoard.java:49 normal parameter GameBoard.java:163 return type GameBoard.java:171 GhostActor [V] member variable GhostActor.java:65 normal parameter GhostActor.java:101 |
Graphics [V] normal parameter PacmanActor.java:379 GridNode [V] member variable PacmanActor.java:55 member variable PacmanActor.java:111 normal parameter PacmanActor.java:159 return type PacmanActor.java:201 normal parameter PacmanActor.java:258 PacmanTimer [V] member variable PacmanActor.java:149 |