| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 82 | ****** |
| McCabe's Cyclomatic Number | MVG | 9 | ****** |
| Lines of Comment | COM | 60 | ******** |
| LOC/COM | L_C | 1.367 | |
| MVG/COM | M_C | 0.150 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 7 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 7 | |
| Information Flow measure ( inclusive ) | IF4 | 100 | ******** |
| Information Flow measure ( visible ) | IF4v | 100 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
GameBoard.java:19 |
9 | 0 | 25 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| GameBoard( ) definition GameBoard.java:64 | 6 | 0 | 6 | ------ | ------ |
| addGhost( GhostActor ) definition GameBoard.java:180 | 4 | 0 | 4 | ------ | ------ |
| addGridNode( GridNode ) definition GameBoard.java:74 | 4 | 0 | 3 | ------ | ------ |
| advanceFrame( ) definition GameBoard.java:108 | 35 | 7 | 11 | 3.182 | 0.636 |
| getPacman( ) definition GameBoard.java:171 | 4 | 0 | 3 | ------ | ------ |
| paint( Graphics ) definition GameBoard.java:84 | 16 | 2 | 5 | ------ | ------ |
| setPacman( PacmanActor ) definition GameBoard.java:163 | 4 | 0 | 3 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
GameBoardFactory [V] return type GameBoardFactory.java:26GameCanvas [V] member variable GameCanvas.java:36 |
GhostActor [V] normal parameter GameBoard.java:180Graphics [V] normal parameter GameBoard.java:84GridNode [V] normal parameter GameBoard.java:74PacmanActor [V] member variable GameBoard.java:49normal parameter GameBoard.java:163return type GameBoard.java:171Vector [V] member variable GameBoard.java:39member variable GameBoard.java:44 |