| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 10 | 2 |
| McCabe's Cyclomatic Number | MVG | 0 | 0 |
| Lines of Comment | COM | 6 | 1.200 |
| LOC/COM | L_C | ------ | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 5 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 1 | |
| Coupling between objects | CBO | 7 | |
| Information Flow measure ( inclusive ) | IF4 | 36 | 7.200 |
| Information Flow measure ( visible ) | IF4v | 36 | 7.200 |
| Information Flow measure ( concrete ) | IF4c | 4 | 0.800 |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./core/repositories/refunds_repository_interface.h:15 |
3 | 0 | 1 | ------ | ------ |
declaration
./ui/widgets/ticket_return_widget.h:9 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| createRefund( const CreateRefundRequest & ) declaration ./core/repositories/refunds_repository_interface.h:18 | 1 | 0 | 1 | ------ | ------ |
| deleteRefundById( qint32 ) declaration ./core/repositories/refunds_repository_interface.h:31 | 1 | 0 | 1 | ------ | ------ |
| getAllRefunds( QVector & ) declaration ./core/repositories/refunds_repository_interface.h:25 | 1 | 0 | 1 | ------ | ------ |
| getRefundById( qint32, RefundDTO & ) declaration ./core/repositories/refunds_repository_interface.h:21 | 2 | 0 | 1 | ------ | ------ |
| updateRefund( const UpdateRefundRequest & ) declaration ./core/repositories/refunds_repository_interface.h:28 | 1 | 0 | 1 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
RefundsRepository [CV] inheritance ./data/sql/refunds_repository.h:9 |
CreateRefundRequest [V] pass by reference ./core/repositories/refunds_repository_interface.h:18QVector [V] pass by reference ./core/repositories/refunds_repository_interface.h:25RefundDTO [V] pass by reference ./core/repositories/refunds_repository_interface.h:22RepositoryInterface [CV] inheritance ./core/repositories/refunds_repository_interface.h:15UpdateRefundRequest [V] pass by reference ./core/repositories/refunds_repository_interface.h:28qint32 [CV] pass by value ./core/repositories/refunds_repository_interface.h:21pass by value ./core/repositories/refunds_repository_interface.h:31 |