| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 81 | 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 |
|---|---|---|---|---|---|
| SessionsRepository( QSqlDatabase &, QObject * ) definition ./data/sql/sessions_repository.cpp:10 | 2 | 0 | 0 | ------ | ------ |
| createSession( const CreateSessionRequest & ) definition ./data/sql/sessions_repository.cpp:14 | 15 | 3 | 0 | ------ | ------ |
| deleteSessionById( qint32 ) definition ./data/sql/sessions_repository.cpp:90 | 10 | 3 | 0 | ------ | ------ |
| getAllSessions( QVector & ) definition ./data/sql/sessions_repository.cpp:53 | 13 | 4 | 0 | ------ | ------ |
| getSessionById( qint32, SessionDTO & ) definition ./data/sql/sessions_repository.cpp:32 | 16 | 5 | 0 | ------ | ****** |
| mapQueryToDTO( const QSqlQuery & ) definition ./data/sql/sessions_repository.cpp:103 | 9 | 1 | 0 | ------ | ------ |
| updateSession( const UpdateSessionRequest & ) definition ./data/sql/sessions_repository.cpp:71 | 16 | 3 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
CreateSessionRequest [V] pass by reference ./data/sql/sessions_repository.cpp:14QObject [V] pass by reference ./data/sql/sessions_repository.cpp:10QSqlDatabase [V] pass by reference ./data/sql/sessions_repository.cpp:10QSqlQuery [V] pass by reference ./data/sql/sessions_repository.cpp:103QVector [V] pass by reference ./data/sql/sessions_repository.cpp:53SessionDTO [V] pass by reference ./data/sql/sessions_repository.cpp:33UpdateSessionRequest [V] pass by reference ./data/sql/sessions_repository.cpp:71qint32 [CV] pass by value ./data/sql/sessions_repository.cpp:32pass by value ./data/sql/sessions_repository.cpp:90 |