| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 77 | 11 |
| 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 |
|---|---|---|---|---|---|
| TicketsRepository( QSqlDatabase &, QObject * ) definition ./data/sql/tickets_repository.cpp:10 | 2 | 0 | 0 | ------ | ------ |
| createTicket( const CreateTicketRequest & ) definition ./data/sql/tickets_repository.cpp:14 | 13 | 3 | 0 | ------ | ------ |
| deleteTicketById( qint32 ) definition ./data/sql/tickets_repository.cpp:87 | 10 | 3 | 0 | ------ | ------ |
| getAllTickets( QVector & ) definition ./data/sql/tickets_repository.cpp:51 | 13 | 4 | 0 | ------ | ------ |
| getTicketById( qint32, TicketDTO & ) definition ./data/sql/tickets_repository.cpp:30 | 16 | 5 | 0 | ------ | ****** |
| mapQueryToDTO( const QSqlQuery & ) definition ./data/sql/tickets_repository.cpp:100 | 8 | 1 | 0 | ------ | ------ |
| updateTicket( const UpdateTicketRequest & ) definition ./data/sql/tickets_repository.cpp:69 | 15 | 3 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
CreateTicketRequest [V] pass by reference ./data/sql/tickets_repository.cpp:14QObject [V] pass by reference ./data/sql/tickets_repository.cpp:10QSqlDatabase [V] pass by reference ./data/sql/tickets_repository.cpp:10QSqlQuery [V] pass by reference ./data/sql/tickets_repository.cpp:100QVector [V] pass by reference ./data/sql/tickets_repository.cpp:51TicketDTO [V] pass by reference ./data/sql/tickets_repository.cpp:31UpdateTicketRequest [V] pass by reference ./data/sql/tickets_repository.cpp:69qint32 [CV] pass by value ./data/sql/tickets_repository.cpp:30pass by value ./data/sql/tickets_repository.cpp:87 |