| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 82 | 12 |
| McCabe's Cyclomatic Number | MVG | 19 | 3 |
| Lines of Comment | COM | 0 | 0.000 |
| LOC/COM | L_C | ****** | |
| MVG/COM | M_C | ****** | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 7 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 8 | |
| 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 |
|---|---|---|---|---|---|
| RefundsRepository( QSqlDatabase &, QObject * ) definition ./data/sql/refunds_repository.cpp:10 | 2 | 0 | 0 | ------ | ------ |
| createRefund( const CreateRefundRequest & ) definition ./data/sql/refunds_repository.cpp:14 | 13 | 3 | 0 | ------ | ------ |
| deleteRefundById( qint32 ) definition ./data/sql/refunds_repository.cpp:93 | 10 | 3 | 0 | ------ | ------ |
| getAllRefunds( QVector & ) definition ./data/sql/refunds_repository.cpp:57 | 13 | 4 | 0 | ------ | ------ |
| getRefundById( qint32, RefundDTO & ) definition ./data/sql/refunds_repository.cpp:30 | 21 | 5 | 0 | ****** | ****** |
| mapQueryToDTO( const QSqlQuery & ) definition ./data/sql/refunds_repository.cpp:106 | 8 | 1 | 0 | ------ | ------ |
| updateRefund( const UpdateRefundRequest & ) definition ./data/sql/refunds_repository.cpp:75 | 15 | 3 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
CreateRefundRequest [V] pass by reference ./data/sql/refunds_repository.cpp:14QObject [V] pass by reference ./data/sql/refunds_repository.cpp:10QSqlDatabase [V] pass by reference ./data/sql/refunds_repository.cpp:10QSqlQuery [V] pass by reference ./data/sql/refunds_repository.cpp:106QVector [V] pass by reference ./data/sql/refunds_repository.cpp:57RefundDTO [V] pass by reference ./data/sql/refunds_repository.cpp:31UpdateRefundRequest [V] pass by reference ./data/sql/refunds_repository.cpp:75qint32 [CV] pass by value ./data/sql/refunds_repository.cpp:30pass by value ./data/sql/refunds_repository.cpp:93 |