| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 55 | ****** |
| McCabe's Cyclomatic Number | MVG | 1 | ****** |
| Lines of Comment | COM | 31 | ******** |
| LOC/COM | L_C | 1.774 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 9 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 7 | |
| 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:20 |
6 | 0 | 9 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| continueGame( ) definition pacman.java:82 | 5 | 0 | 0 | ------ | ------ |
| destroyApp( boolean ) definition pacman.java:93 | 3 | 0 | 5 | ------ | ------ |
| menuScreen( ) definition pacman.java:103 | 5 | 0 | 0 | ------ | ------ |
| pacman( ) definition pacman.java:40 | 3 | 0 | 5 | ------ | ------ |
| pauseApp( ) definition pacman.java:68 | 3 | 0 | 4 | ------ | ------ |
| quit( ) definition pacman.java:109 | 5 | 0 | 0 | ------ | ------ |
| restartApp( ) definition pacman.java:75 | 6 | 0 | 3 | ------ | ------ |
| splashScreenDone( ) definition pacman.java:97 | 5 | 0 | 0 | ------ | ------ |
| startApp( ) definition pacman.java:48 | 14 | 1 | 5 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
GameCanvas [V] member variable GameCanvas.java:39normal parameter GameCanvas.java:47MenuScreen [V] member variable MenuScreen.java:9normal parameter MenuScreen.java:14SplashScreen [V] member variable SplashScreen.java:8normal parameter SplashScreen.java:19 |
GameCanvas [V] member variable pacman.java:28MIDlet [CV] extends pacman.java:20MenuScreen [V] member variable pacman.java:30SplashScreen [V] member variable pacman.java:29 |