| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 243 | ****** |
| McCabe's Cyclomatic Number | MVG | 47 | ****** |
| Lines of Comment | COM | 110 | ******** |
| LOC/COM | L_C | 2.209 | |
| MVG/COM | M_C | 0.427 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 17 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 11 | |
| 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
ag/osm_agent_basic.h:61 |
17 | 0 | 12 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| OSM_AG_Main( void ) definition ag/osm_agent_basic.cpp:53declaration ag/osm_agent_basic.h:137 | 5 | 0 | 2 | ------ | ------ |
| exit_work( void ) definition ag/osm_agent_basic.cpp:330declaration ag/osm_agent_basic.h:90 | 27 | 4 | 8 | 3.375 | ------ |
| idn_master( const ACE_TCHAR *, const size_t ) definition ag/osm_agent_basic.cpp:183declaration ag/osm_agent_basic.h:127 | 5 | 0 | 4 | ------ | ------ |
| idn_master( void ) definition ag/osm_agent_basic.cpp:191declaration ag/osm_agent_basic.h:133 | 4 | 1 | 4 | ------ | ------ |
| init_work( ... ) definition ag/osm_agent_basic.cpp:244declaration ag/osm_agent_basic.h:83 | 41 | 7 | 14 | 2.929 | 0.500 |
| instance( void ) definition ag/osm_agent_basic.cpp:59declaration ag/osm_agent_basic.h:72 | 7 | 2 | 1 | ------ | ------ |
| parse_cmd_line( ... ) definition ag/osm_agent_basic.cpp:93declaration ag/osm_agent_basic.h:144 | 47 | 16 | 17 | 2.765 | 0.941 |
| parse_config_file( ACE_TCHAR * ) definition ag/osm_agent_basic.cpp:300declaration ag/osm_agent_basic.h:150 | 15 | 3 | 22 | ------ | ------ |
| prepare_ins_manager( ACE_TCHAR *, const int ) declaration ag/osm_agent_basic.h:109 | 1 | 0 | 5 | ------ | ------ |
| prepare_ins_manager( ACE_TCHAR *, int ) definition ag/osm_agent_basic.cpp:226 | 12 | 5 | 0 | ------ | ****** |
| prepare_msg_manager( ACE_TCHAR *, const int ) declaration ag/osm_agent_basic.h:102 | 1 | 0 | 5 | ------ | ------ |
| prepare_msg_manager( ACE_TCHAR *, int ) definition ag/osm_agent_basic.cpp:198 | 17 | 4 | 1 | ------ | ------ |
| print_usage( void ) definition ag/osm_agent_basic.cpp:68declaration ag/osm_agent_basic.h:139 | 24 | 0 | 2 | 12.000 | ------ |
| set_config_file( ACE_TCHAR * ) definition ag/osm_agent_basic.cpp:156declaration ag/osm_agent_basic.h:95 | 10 | 4 | 4 | ------ | ------ |
| typ_agent( const ACE_TCHAR *, const size_t ) definition ag/osm_agent_basic.cpp:168declaration ag/osm_agent_basic.h:115 | 5 | 0 | 4 | ------ | ------ |
| typ_agent( void ) definition ag/osm_agent_basic.cpp:176declaration ag/osm_agent_basic.h:121 | 4 | 1 | 4 | ------ | ------ |
| ~OSM_AG_Main( void ) declaration ag/osm_agent_basic.h:75 | 1 | 0 | 1 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
ACE_TCHAR [CV] pass by reference ag/osm_agent_basic.cpp:156pass by reference ag/osm_agent_basic.cpp:168pass by reference ag/osm_agent_basic.cpp:183pass by reference ag/osm_agent_basic.cpp:198pass by reference ag/osm_agent_basic.cpp:226pass by reference ag/osm_agent_basic.cpp:300pass by reference ag/osm_agent_basic.h:95pass by reference ag/osm_agent_basic.h:102pass by reference ag/osm_agent_basic.h:109pass by reference ag/osm_agent_basic.h:115pass by reference ag/osm_agent_basic.h:127pass by reference ag/osm_agent_basic.h:150has by value ag/osm_agent_basic.h:153has by value ag/osm_agent_basic.h:154has by value ag/osm_agent_basic.h:155has by value ag/osm_agent_basic.h:156size_t [CV] pass by value ag/osm_agent_basic.cpp:168pass by value ag/osm_agent_basic.cpp:183pass by value ag/osm_agent_basic.h:115pass by value ag/osm_agent_basic.h:127 |