| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 123 | 14 |
| McCabe's Cyclomatic Number | MVG | 18 | 2 |
| Lines of Comment | COM | 9 | 1.000 |
| LOC/COM | L_C | 13.667 | |
| MVG/COM | M_C | 2.000 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 9 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 2 | |
| Information Flow measure ( inclusive ) | IF4 | 0 | 0.000 |
| Information Flow measure ( visible ) | IF4v | 0 | 0.000 |
| Information Flow measure ( concrete ) | IF4c | 0 | 0.000 |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| No module extents have been identified for this module | |||||
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| RefundGenerator( const QPair &, const QPair &, const QPair & ) definition ./core/services/refund_generator.cpp:14 | 15 | 1 | 4 | ------ | ------ |
| calculateRemainingCapacity( ) definition ./core/services/refund_generator.cpp:108 | 3 | 1 | 0 | ------ | ------ |
| clearStaleData( ) definition ./core/services/refund_generator.cpp:165 | 4 | 0 | 0 | ------ | ------ |
| createFailureMessage( const QString & ) definition ./core/services/refund_generator.cpp:87 | 13 | 1 | 0 | ------ | ------ |
| createRecord( ) definition ./core/services/refund_generator.cpp:112 | 11 | 2 | 0 | ------ | ------ |
| createSuccessMessage( ) definition ./core/services/refund_generator.cpp:101 | 6 | 1 | 0 | ------ | ------ |
| initializeRepositories( ) definition ./core/services/refund_generator.cpp:32 | 13 | 3 | 0 | ------ | ------ |
| initializeTicketIdToCacheValueMap( ) definition ./core/services/refund_generator.cpp:48 | 30 | 5 | 3 | 10.000 | 1.667 |
| prepareData( ) definition ./core/services/refund_generator.cpp:127 | 28 | 4 | 2 | 14.000 | ------ |
| Clients | Suppliers |
|---|---|
|
QPair [V] pass by reference ./core/services/refund_generator.cpp:14pass by reference ./core/services/refund_generator.cpp:15pass by reference ./core/services/refund_generator.cpp:16QString [V] pass by reference ./core/services/refund_generator.cpp:87 |