Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
F | DateIntervalHelper::humanDurationFromInterval() | 0 | 40 | 14 | 210 | 0 | 0 | 0 |
C | DateIntervalHelper::secondsToHumanTimeDuration() | 0 | 43 | 11 | 132 | 0 | 0 | 0 |
A | DateIntervalHelper::isValidIntervalString() | 0 | 11 | 6 | 42 | 0 | 0 | 0 |
A | fields\Interval::normalizeValue() | 0 | 24 | 5 | 30 | 0 | 0 | 0 |
A | interval\fields\Interval::getInputHtml() | 0 | 43 | 4 | 20 | 0 | 0 | 0 |
A | Interval::toDateIntervalFromHumanReadable() | 0 | 33 | 3 | 12 | 0 | 0 | 0 |
A | Interval::toDateIntervalFromSeconds() | 0 | 17 | 3 | 12 | 0 | 0 | 0 |
A | flipbox\craft\interval\Interval::init() | 0 | 13 | 1 | 2 | 0 | 0 | 0 |
A | fields\Interval::getSearchKeywords() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | interval\fields\Interval::displayName() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | Interval::getContentColumnType() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | Interval::getTableAttributeHtml() | 0 | 6 | 1 | 2 | 0 | 0 | 0 |
A | interval\fields\Interval::isValueEmpty() | 0 | 4 | 2 | 6 | 0 | 0 | 0 |
A | fields\Interval::getStaticHtml() | 0 | 4 | 1 | 2 | 0 | 0 | 0 |
A | DateIntervalHelper::secondsToInterval() | 0 | 6 | 1 | 2 | 0 | 0 | 0 |