Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 117 | ****** |
McCabe's Cyclomatic Number | MVG | 23 | ****** |
Lines of Comment | COM | 111 | ******** |
LOC/COM | L_C | 1.054 | |
MVG/COM | M_C | 0.207 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 11 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 4 | |
Information Flow measure ( inclusive ) | IF4 | 9 | ******** |
Information Flow measure ( visible ) | IF4v | 9 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
GhostActor.java:18 |
16 | 0 | 50 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
GhostActor( GridNode, PacmanActor ) definition GhostActor.java:101 | 10 | 0 | 8 | ------ | ------ |
advanceFrame( ) definition GhostActor.java:131 | 28 | 9 | 8 | 3.500 | 1.125 |
getNode( ) definition GhostActor.java:124 | 3 | 0 | 4 | ------ | ------ |
getX( ) definition GhostActor.java:240 | 4 | 0 | 3 | ------ | ------ |
getY( ) definition GhostActor.java:248 | 4 | 0 | 3 | ------ | ------ |
goInDirection( int ) definition GhostActor.java:201 | 8 | 4 | 5 | ------ | ------ |
goToNode( GridNode ) definition GhostActor.java:214 | 8 | 1 | 4 | ------ | ------ |
moveTowards( int, int, int, int ) definition GhostActor.java:177 | 17 | 9 | 9 | ------ | 1.000 |
paint( Graphics ) definition GhostActor.java:227 | 9 | 0 | 4 | ------ | ------ |
restart( ) definition GhostActor.java:264 | 8 | 0 | 10 | ------ | ------ |
setRunFromPac( boolean ) definition GhostActor.java:117 | 2 | 0 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
GameBoard [V] normal parameter GameBoard.java:180 |
Graphics [V] normal parameter GhostActor.java:227 GridNode [V] member variable GhostActor.java:52 member variable GhostActor.java:59 normal parameter GhostActor.java:101 return type GhostActor.java:124 normal parameter GhostActor.java:214 PacmanActor [V] member variable GhostActor.java:65 normal parameter GhostActor.java:101 |