| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 188 | 11 |
| McCabe's Cyclomatic Number | MVG | 64 | 4 |
| Lines of Comment | COM | 2 | 0.118 |
| LOC/COM | L_C | 94.000 | |
| MVG/COM | M_C | 32.000 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 17 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 3 | |
| Information Flow measure ( inclusive ) | IF4 | 4 | 0.235 |
| Information Flow measure ( visible ) | IF4v | 4 | 0.235 |
| 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 |
|---|---|---|---|---|---|
| DayManager( const QTime &, const QTime & ) definition ./core/utils/day_manager.cpp:6 | 3 | 0 | 0 | ------ | ------ |
| addAvailableSlot( const QTime &, const QTime & ) definition ./core/utils/day_manager.cpp:10 | 9 | 5 | 0 | ------ | ****** |
| calculatePossibleReservations( qint64 ) definition ./core/utils/day_manager.cpp:207 | 9 | 2 | 0 | ------ | ------ |
| duration( ) definition ./core/utils/day_manager.cpp:217 | 12 | 4 | 1 | ------ | ------ |
| duration( const QTime & ) definition ./core/utils/day_manager.cpp:233 | 12 | 5 | 0 | ------ | ****** |
| isAvailable( ... ) definition ./core/utils/day_manager.cpp:42 | 6 | 3 | 0 | ------ | ------ |
| reserve( const QTime & ) definition ./core/utils/day_manager.cpp:20 | 17 | 7 | 0 | ------ | ****** |
| reserveAvailableSlot( QTime, qint64 ) definition ./core/utils/day_manager.cpp:119 | 14 | 5 | 0 | ------ | ****** |
| reserveAvailableSlotLeft( QTime, qint64 ) definition ./core/utils/day_manager.cpp:60 | 10 | 2 | 0 | ------ | ------ |
| reserveAvailableSlotRandom( QTime, qint64 ) definition ./core/utils/day_manager.cpp:86 | 24 | 6 | 1 | 24.000 | 6.000 |
| reserveAvailableSlotRight( QTime, qint64 ) definition ./core/utils/day_manager.cpp:73 | 10 | 2 | 0 | ------ | ------ |
| reserveImpl( qint64 ) definition ./core/utils/day_manager.cpp:182 | 15 | 6 | 0 | ------ | ****** |
| reserveImplMaximal( qint64 ) definition ./core/utils/day_manager.cpp:134 | 11 | 4 | 0 | ------ | ------ |
| reserveImplMinimal( qint64 ) definition ./core/utils/day_manager.cpp:147 | 12 | 4 | 0 | ------ | ------ |
| reserveImplQuick( qint64 ) definition ./core/utils/day_manager.cpp:161 | 8 | 4 | 0 | ------ | ------ |
| reserveImplRandom( qint64 ) definition ./core/utils/day_manager.cpp:171 | 9 | 3 | 0 | ------ | ------ |
| setMinDuration( const QTime & ) definition ./core/utils/day_manager.cpp:198 | 7 | 2 | 0 | ------ | ------ |