| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 103 | 11 |
| McCabe's Cyclomatic Number | MVG | 28 | 3 |
| Lines of Comment | COM | 2 | 0.222 |
| LOC/COM | L_C | 51.500 | |
| MVG/COM | M_C | 14.000 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 9 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 16 | 1.778 |
| Information Flow measure ( visible ) | IF4v | 16 | 1.778 |
| 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 |
|---|---|---|---|---|---|
| ReservationManager( qsizetype, qsizetype, const DayManager & ) definition ./core/utils/reservation_manager.cpp:5 | 6 | 0 | 0 | ------ | ------ |
| calculateAvailableDaysCount( ) definition ./core/utils/reservation_manager.cpp:19 | 5 | 2 | 0 | ------ | ------ |
| calculateAvailableSlotsCount( ) definition ./core/utils/reservation_manager.cpp:42 | 6 | 2 | 0 | ------ | ------ |
| calculatePossibleReservations( qint64 ) definition ./core/utils/reservation_manager.cpp:26 | 13 | 2 | 0 | ------ | ------ |
| dayManager( qsizetype ) definition ./core/utils/reservation_manager.cpp:84 | 8 | 2 | 0 | ------ | ------ |
| prepareDaysRange( ) definition ./core/utils/reservation_manager.cpp:113 | 17 | 7 | 0 | ------ | ****** |
| reserve( const QTime & ) definition ./core/utils/reservation_manager.cpp:49 | 28 | 11 | 1 | 28.000 | 11.000 |
| reserve( qsizetype, const QTime & ) definition ./core/utils/reservation_manager.cpp:93 | 14 | 2 | 1 | ------ | ------ |
| setReference( const DayManager & ) definition ./core/utils/reservation_manager.cpp:12 | 6 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
SessionGenerator [V] pass by reference ./core/services/session_generator.cpp:14 |
DayManager [V] pass by reference ./core/utils/reservation_manager.cpp:6pass by reference ./core/utils/reservation_manager.cpp:12QTime [V] pass by reference ./core/utils/reservation_manager.cpp:49pass by reference ./core/utils/reservation_manager.cpp:94qint64 [CV] pass by value ./core/utils/reservation_manager.cpp:26qsizetype [CV] pass by value ./core/utils/reservation_manager.cpp:5pass by value ./core/utils/reservation_manager.cpp:5pass by value ./core/utils/reservation_manager.cpp:84pass by value ./core/utils/reservation_manager.cpp:93 |