Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 236 | ****** |
McCabe's Cyclomatic Number | MVG | 32 | ****** |
Lines of Comment | COM | 93 | ******** |
LOC/COM | L_C | 2.538 | |
MVG/COM | M_C | 0.344 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 26 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 6 | |
Coupling between objects | CBO | 15 | |
Information Flow measure ( inclusive ) | IF4 | 3136 | ******** |
Information Flow measure ( visible ) | IF4v | 1764 | ******** |
Information Flow measure ( concrete ) | IF4c | 576 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./services/datamodel/DataProvider.h:120 |
15 | 0 | 30 | ------ | ------ |
declaration
./services/datamodel/DataObject.h:44 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
DataProvider( ) declaration ./services/datamodel/DataProvider.h:229 definition ./services/datamodel/DataProvider.cpp:81 | 5 | 0 | 2 | ------ | ------ |
addChild( ... ) declaration ./services/datamodel/DataProvider.h:211 | 2 | 0 | 7 | ------ | ------ |
addConnection( string, const DataSlot &, DataType ) declaration ./services/datamodel/DataProvider.h:246 definition ./services/datamodel/DataProvider.cpp:117 | 26 | 3 | 4 | 6.500 | ------ |
fireGeneralSignal( DataType ) declaration ./services/datamodel/DataProvider.h:245 definition ./services/datamodel/DataProvider.cpp:292 | 9 | 1 | 0 | ------ | ------ |
fireSignal( string, DataType ) declaration ./services/datamodel/DataProvider.h:249 definition ./services/datamodel/DataProvider.cpp:192 | 85 | 15 | 4 | 21.250 | 3.750 |
getBoolVal( PDataKey ) declaration ./services/datamodel/DataProvider.h:189 | 1 | 0 | 6 | ------ | ------ |
getChild( PDataKey, string, DataProvider *& ) declaration ./services/datamodel/DataProvider.h:170 | 1 | 0 | 14 | ------ | ------ |
getChilds( PDataKey, vector & ) declaration ./services/datamodel/DataProvider.h:224 | 1 | 0 | 0 | ------ | ------ |
getDescription( PDataKey ) declaration ./services/datamodel/DataProvider.h:180 | 1 | 0 | 0 | ------ | ------ |
getFloatVal( PDataKey ) declaration ./services/datamodel/DataProvider.h:197 | 1 | 0 | 1 | ------ | ------ |
getIntVal( PDataKey ) declaration ./services/datamodel/DataProvider.h:193 | 1 | 0 | 1 | ------ | ------ |
getStringVal( PDataKey ) declaration ./services/datamodel/DataProvider.h:201 | 1 | 0 | 1 | ------ | ------ |
getSubpath( PDataKey ) declaration ./services/datamodel/DataProvider.h:176 | 1 | 0 | 4 | ------ | ------ |
getType( PDataKey ) declaration ./services/datamodel/DataProvider.h:179 | 1 | 0 | 0 | ------ | ------ |
makePath( string, string ) declaration ./services/datamodel/DataProvider.h:252 definition ./services/datamodel/DataProvider.cpp:316 | 11 | 2 | 0 | ------ | ------ |
makeSubpath( string, string ) declaration ./services/datamodel/DataProvider.h:251 definition ./services/datamodel/DataProvider.cpp:302 | 11 | 2 | 0 | ------ | ------ |
remove( PDataKey ) declaration ./services/datamodel/DataProvider.h:217 | 1 | 0 | 3 | ------ | ------ |
removeAdopted( PDataKey ) declaration ./services/datamodel/DataProvider.h:222 | 1 | 0 | 3 | ------ | ------ |
removeAllConnections( string ) declaration ./services/datamodel/DataProvider.h:244 definition ./services/datamodel/DataProvider.cpp:171 | 17 | 2 | 6 | ------ | ------ |
removeConnection( string, InternDataConnection * ) declaration ./services/datamodel/DataProvider.h:248 definition ./services/datamodel/DataProvider.cpp:149 | 19 | 4 | 1 | ------ | ------ |
setBoolVal( PDataKey, bool ) declaration ./services/datamodel/DataProvider.h:190 | 1 | 0 | 0 | ------ | ------ |
setDescription( PDataKey, string ) declaration ./services/datamodel/DataProvider.h:181 | 1 | 0 | 0 | ------ | ------ |
setFloatVal( PDataKey, float ) declaration ./services/datamodel/DataProvider.h:198 | 1 | 0 | 0 | ------ | ------ |
setIntVal( PDataKey, int ) declaration ./services/datamodel/DataProvider.h:194 | 1 | 0 | 0 | ------ | ------ |
setStringVal( PDataKey, const string & ) declaration ./services/datamodel/DataProvider.h:202 | 1 | 0 | 0 | ------ | ------ |
~DataProvider( ) declaration ./services/datamodel/DataProvider.h:234 definition ./services/datamodel/DataProvider.cpp:90 | 19 | 3 | 6 | ------ | ------ |