| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 236 | ****** |
| McCabe's Cyclomatic Number | MVG | 27 | ****** |
| Lines of Comment | COM | 158 | ******** |
| LOC/COM | L_C | 1.494 | |
| MVG/COM | M_C | 0.171 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 17 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 2 | |
| Depth of Inheritance Tree | DIT | 2 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 9 | |
| Information Flow measure ( inclusive ) | IF4 | 196 | ******** |
| Information Flow measure ( visible ) | IF4v | 144 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/sound/OgreSoundProvider.h:30 |
1 | 0 | 0 | ------ | ------ |
declaration
./framework/ISoundProvider.h:30 |
1 | 0 | 0 | ------ | ------ |
declaration
./services/EmberServices.h:35 |
1 | 0 | 0 | ------ | ------ |
definition
./services/sound/SoundService.h:50 |
24 | 0 | 36 | 0.667 | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| LoadWAV( const char *, int ) definition ./services/sound/SoundService.cpp:226declaration ./services/sound/SoundService.h:138 | 8 | 1 | 14 | ------ | ------ |
| SoundService( ) declaration ./services/sound/SoundService.h:114 | 1 | 0 | 1 | ------ | ------ |
| TestPlatform( void ) definition ./services/sound/SoundService.cpp:269declaration ./services/sound/SoundService.h:142 | 7 | 0 | 0 | ------ | ------ |
| UnloadWAV( void ) definition ./services/sound/SoundService.cpp:250declaration ./services/sound/SoundService.h:140 | 7 | 1 | 2 | ------ | ------ |
| getWorldSourceIndexForPlaying( int ) definition ./services/sound/SoundService.cpp:433declaration ./services/sound/SoundService.h:90 | 4 | 1 | 0 | ------ | ------ |
| playAvatarSound( ) definition ./services/sound/SoundService.cpp:370declaration ./services/sound/SoundService.h:162 | 6 | 0 | 0 | ------ | ------ |
| playSystemSound( string ) definition ./services/sound/SoundService.cpp:397declaration ./services/sound/SoundService.h:166 | 4 | 0 | 29 | ------ | ------ |
| playTalk( string, const Point &, const Quaternion & ) definition ./services/sound/SoundService.cpp:376declaration ./services/sound/SoundService.h:163 | 16 | 0 | 3 | ------ | ------ |
| playTestGrunt( void ) definition ./services/sound/SoundService.cpp:298declaration ./services/sound/SoundService.h:145 | 12 | 1 | 18 | ------ | ------ |
| playTestSound( ) definition ./services/sound/SoundService.cpp:364declaration ./services/sound/SoundService.h:161 | 6 | 0 | 0 | ------ | ------ |
| registerSoundProvider( ISoundProvider * ) definition ./services/sound/SoundService.cpp:219declaration ./services/sound/SoundService.h:136 | 7 | 0 | 4 | ------ | ------ |
| runCommand( const string &, const string & ) definition ./services/sound/SoundService.cpp:196declaration ./services/sound/SoundService.h:130 | 20 | 4 | 2 | 10.000 | ------ |
| start( ) definition ./services/sound/SoundService.cpp:77declaration ./services/sound/SoundService.h:126 | 81 | 19 | 17 | 4.765 | 1.118 |
| stop( int ) definition ./services/sound/SoundService.cpp:188declaration ./services/sound/SoundService.h:128 | 8 | 0 | 2 | ------ | ------ |
| updateAvatarSourcePosition( const Point &, const Quaternion & ) definition ./services/sound/SoundService.cpp:353declaration ./services/sound/SoundService.h:157 | 9 | 0 | 21 | ------ | ------ |
| updateListenerPosition( const Point &, const Quaternion & ) definition ./services/sound/SoundService.cpp:321declaration ./services/sound/SoundService.h:147 | 9 | 0 | 7 | ------ | ------ |
| ~SoundService( ) definition ./services/sound/SoundService.cpp:71declaration ./services/sound/SoundService.h:118 | 4 | 0 | 2 | ------ | ------ |