Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 77 | ****** |
McCabe's Cyclomatic Number | MVG | 12 | ****** |
Lines of Comment | COM | 60 | ******** |
LOC/COM | L_C | 1.283 | |
MVG/COM | M_C | 0.200 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 10 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 5 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 2 | |
Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./framework/ServiceManager.h:37 |
7 | 0 | 18 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
ServiceManager( ) definition ./framework/ServiceManager.cpp:15 declaration ./framework/ServiceManager.h:53 | 4 | 0 | 2 | ------ | ------ |
ServiceManager( const ServiceManager & ) definition ./framework/ServiceManager.h:118 | 3 | 0 | 1 | ------ | ------ |
addService( Service * ) definition ./framework/ServiceManager.cpp:53 declaration ./framework/ServiceManager.h:100 | 13 | 4 | 6 | ------ | ------ |
getServices( ) definition ./framework/ServiceManager.h:90 | 4 | 1 | 5 | ------ | ------ |
listAll( ) definition ./framework/ServiceManager.cpp:40 declaration ./framework/ServiceManager.h:83 | 10 | 1 | 5 | ------ | ------ |
operator =( const ServiceManager & ) definition ./framework/ServiceManager.h:123 | 3 | 0 | 1 | ------ | ------ |
removeService( Service * ) definition ./framework/ServiceManager.cpp:66 declaration ./framework/ServiceManager.h:109 | 13 | 4 | 7 | ------ | ------ |
startAll( ) definition ./framework/ServiceManager.cpp:24 declaration ./framework/ServiceManager.h:70 | 8 | 1 | 8 | ------ | ------ |
stopAll( int ) definition ./framework/ServiceManager.cpp:32 declaration ./framework/ServiceManager.h:77 | 8 | 1 | 5 | ------ | ------ |
~ServiceManager( ) definition ./framework/ServiceManager.cpp:20 declaration ./framework/ServiceManager.h:56 | 4 | 0 | 2 | ------ | ------ |
Clients | Suppliers |
---|---|
Service [V] pass by reference ./framework/ServiceManager.cpp:53 pass by reference ./framework/ServiceManager.cpp:66 pass by reference ./framework/ServiceManager.h:100 pass by reference ./framework/ServiceManager.h:109 vector [CV] has by value ./framework/ServiceManager.h:45 |