| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 36 | ****** |
| McCabe's Cyclomatic Number | MVG | 0 | ****** |
| Lines of Comment | COM | 47 | ******** |
| LOC/COM | L_C | 0.766 | |
| MVG/COM | M_C | ------ | |
| 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 | 8 | |
| Information Flow measure ( inclusive ) | IF4 | 144 | ******** |
| Information Flow measure ( visible ) | IF4v | 144 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
pacman.java:21 |
7 | 0 | 12 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| commandAction( Command, Displayable ) definition pacman.java:112 | 3 | 0 | 3 | ------ | ------ |
| destroyApp( boolean ) definition pacman.java:101 | 3 | 0 | 9 | ------ | ------ |
| pacman( ) definition pacman.java:45 | 7 | 0 | 5 | ------ | ------ |
| pauseApp( ) definition pacman.java:72 | 3 | 0 | 4 | ------ | ------ |
| restartApp( ) definition pacman.java:80 | 8 | 0 | 8 | ------ | ------ |
| startApp( ) definition pacman.java:59 | 5 | 0 | 6 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
GameCanvas [V] member variable GameCanvas.java:47normal parameter GameCanvas.java:53Menu [V] member variable Menu.java:4normal parameter Menu.java:19normal parameter Menu.java:26 |
Command [V] normal parameter pacman.java:112CommandListener [CV] implements pacman.java:21Displayable [V] normal parameter pacman.java:112GameCanvas [V] member variable pacman.java:29MIDlet [CV] extends pacman.java:21Menu [V] member variable pacman.java:34member variable pacman.java:35 |