Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 94 | ****** |
McCabe's Cyclomatic Number | MVG | 7 | ****** |
Lines of Comment | COM | 187 | ******** |
LOC/COM | L_C | 0.503 | |
MVG/COM | M_C | 0.037 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 16 | |
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 | 16 | ******** |
Information Flow measure ( visible ) | IF4v | 16 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
GridNode.java:19 |
20 | 0 | 86 | 0.233 | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
GridNode( int, int ) definition GridNode.java:172 | 16 | 0 | 14 | ------ | ------ |
getDown( ) definition GridNode.java:288 | 1 | 0 | 6 | ------ | ------ |
getLeft( ) definition GridNode.java:264 | 1 | 0 | 6 | ------ | ------ |
getPellet( ) definition GridNode.java:313 | 4 | 0 | 8 | ------ | ------ |
getRight( ) definition GridNode.java:272 | 1 | 0 | 6 | ------ | ------ |
getSize( ) definition GridNode.java:66 | 4 | 0 | 3 | ------ | ------ |
getUp( ) definition GridNode.java:280 | 1 | 0 | 6 | ------ | ------ |
paint( Graphics ) definition GridNode.java:322 | 17 | 7 | 7 | ------ | 1.000 |
pixelCenterX( ) definition GridNode.java:200 | 4 | 0 | 3 | ------ | ------ |
pixelCenterY( ) definition GridNode.java:208 | 4 | 0 | 3 | ------ | ------ |
setDown( GridNode ) definition GridNode.java:256 | 1 | 0 | 6 | ------ | ------ |
setLeft( GridNode ) definition GridNode.java:222 | 4 | 0 | 8 | ------ | ------ |
setPellet( int ) definition GridNode.java:300 | 4 | 0 | 9 | ------ | ------ |
setRight( GridNode ) definition GridNode.java:234 | 4 | 0 | 7 | ------ | ------ |
setSize( int ) definition GridNode.java:58 | 4 | 0 | 3 | ------ | ------ |
setUp( GridNode ) definition GridNode.java:245 | 4 | 0 | 6 | ------ | ------ |
Clients | Suppliers |
---|---|
GameBoard [V] normal parameter GameBoard.java:74 GameBoardFactory [V] member variable GameBoardFactory.java:21 GhostActor [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 PacmanActor.java:55 member variable PacmanActor.java:111 normal parameter PacmanActor.java:159 return type PacmanActor.java:201 normal parameter PacmanActor.java:258 |
Graphics [V] normal parameter GridNode.java:322 |