| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 12 | 2 |
| McCabe's Cyclomatic Number | MVG | 0 | 0 |
| Lines of Comment | COM | 7 | 1.400 |
| 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 | 9 | |
| Information Flow measure ( inclusive ) | IF4 | 324 | 64.800 |
| Information Flow measure ( visible ) | IF4v | 36 | 7.200 |
| Information Flow measure ( concrete ) | IF4c | 4 | 0.800 |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./core/services/ticket_generator.h:13 |
1 | 0 | 1 | ------ | ------ |
declaration
./core/services/session_generator.h:14 |
1 | 0 | 0 | ------ | ------ |
definition
./core/repositories/halls_repository_interface.h:15 |
3 | 0 | 1 | ------ | ------ |
declaration
./ui/widgets/reports_widget.h:12 |
1 | 0 | 0 | ------ | ------ |
declaration
./ui/widgets/directories_management_widget.h:11 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| createHall( const CreateHallRequest & ) declaration ./core/repositories/halls_repository_interface.h:18 | 1 | 0 | 1 | ------ | ------ |
| deleteHallById( qint32 ) declaration ./core/repositories/halls_repository_interface.h:30 | 1 | 0 | 1 | ------ | ------ |
| getAllHalls( QVector & ) declaration ./core/repositories/halls_repository_interface.h:24 | 1 | 0 | 1 | ------ | ------ |
| getHallById( qint32, HallDTO & ) declaration ./core/repositories/halls_repository_interface.h:21 | 1 | 0 | 1 | ------ | ------ |
| updateHall( const UpdateHallRequest & ) declaration ./core/repositories/halls_repository_interface.h:27 | 1 | 0 | 1 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
HallsRepository [CV] inheritance ./data/sql/halls_repository.h:10SessionGenerator has by reference ./core/services/session_generator.h:36TicketGenerator has by reference ./core/services/ticket_generator.h:38 |
CreateHallRequest [V] pass by reference ./core/repositories/halls_repository_interface.h:18HallDTO [V] pass by reference ./core/repositories/halls_repository_interface.h:21QVector [V] pass by reference ./core/repositories/halls_repository_interface.h:24RepositoryInterface [CV] inheritance ./core/repositories/halls_repository_interface.h:15UpdateHallRequest [V] pass by reference ./core/repositories/halls_repository_interface.h:27qint32 [CV] pass by value ./core/repositories/halls_repository_interface.h:21pass by value ./core/repositories/halls_repository_interface.h:30 |