| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 70 | 10 |
| 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 |
|---|---|---|---|---|---|
| RolesRepository( QSqlDatabase &, QObject * ) definition ./data/sql/roles_repository.cpp:10 | 2 | 0 | 0 | ------ | ------ |
| createRole( const CreateRoleRequest & ) definition ./data/sql/roles_repository.cpp:13 | 12 | 3 | 0 | ------ | ------ |
| deleteRoleById( qint32 ) definition ./data/sql/roles_repository.cpp:78 | 10 | 3 | 0 | ------ | ------ |
| getAllRoles( QVector & ) definition ./data/sql/roles_repository.cpp:47 | 12 | 4 | 0 | ------ | ------ |
| getRoleById( qint32, RoleDTO & ) definition ./data/sql/roles_repository.cpp:28 | 15 | 5 | 0 | ------ | ****** |
| mapQueryToDTO( const QSqlQuery & ) definition ./data/sql/roles_repository.cpp:91 | 7 | 1 | 0 | ------ | ------ |
| updateRole( const UpdateRoleRequest & ) definition ./data/sql/roles_repository.cpp:63 | 12 | 3 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
CreateRoleRequest [V] pass by reference ./data/sql/roles_repository.cpp:13QObject [V] pass by reference ./data/sql/roles_repository.cpp:10QSqlDatabase [V] pass by reference ./data/sql/roles_repository.cpp:10QSqlQuery [V] pass by reference ./data/sql/roles_repository.cpp:91QVector [V] pass by reference ./data/sql/roles_repository.cpp:47RoleDTO [V] pass by reference ./data/sql/roles_repository.cpp:28UpdateRoleRequest [V] pass by reference ./data/sql/roles_repository.cpp:63qint32 [CV] pass by value ./data/sql/roles_repository.cpp:28pass by value ./data/sql/roles_repository.cpp:78 |