Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 99 | ****** |
McCabe's Cyclomatic Number | MVG | 11 | ****** |
Lines of Comment | COM | 66 | ******** |
LOC/COM | L_C | 1.500 | |
MVG/COM | M_C | 0.167 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 11 | |
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 | 36 | ******** |
Information Flow measure ( visible ) | IF4v | 36 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./services/server/ServerService.h:43 |
1 | 0 | 0 | ------ | ------ |
definition
./services/server/OOGChat.h:60 |
19 | 0 | 52 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
appearance( Room *, Person * ) definition ./services/server/OOGChat.cpp:164 | 8 | 0 | 0 | ------ | ------ |
changed( const StringSet &, Room * ) definition ./services/server/OOGChat.cpp:188 | 3 | 0 | 0 | ------ | ------ |
disappearance( Room *, Person * ) definition ./services/server/OOGChat.cpp:176 | 8 | 0 | 0 | ------ | ------ |
emote( Room *, Person *, const string & ) definition ./services/server/OOGChat.cpp:152 | 8 | 0 | 0 | ------ | ------ |
entered( Room * ) definition ./services/server/OOGChat.cpp:130 | 8 | 0 | 1 | ------ | ------ |
loggedIn( const Player & ) definition ./services/server/OOGChat.cpp:100 | 4 | 0 | 2 | ------ | ------ |
privateTalk( Person *, const string & ) definition ./services/server/OOGChat.cpp:86 | 8 | 0 | 0 | ------ | ------ |
runCommand( const string &, const string & ) definition ./services/server/OOGChat.cpp:107 | 17 | 11 | 2 | ------ | 5.500 |
sightPerson( Person * ) definition ./services/server/OOGChat.cpp:81 | 4 | 0 | 1 | ------ | ------ |
talk( Room *, Person *, const string & ) definition ./services/server/OOGChat.cpp:142 | 8 | 0 | 0 | ------ | ------ |
~OOGChat( ) definition ./services/server/OOGChat.cpp:66 | 3 | 0 | 8 | ------ | ------ |