Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A SmartSleep\Rule\OnceDayRule::isMatched() 6 3 1 1 1 0 0
A SmartSleep\Rule\HolidayRule::isMatched() 8 5 3 3 1 0 0
A SmartSleep\Rule\OnceDayRule::seconds() 8 5 1 1 0 0 0
A SmartSleep\Rule\OnceMonthRule::seconds() 0 6 1 1 1 0 0
A SmartSleep\Schedule::__construct() 0 3 2 2 0 0 0
A SmartSleep\Rule\OnceWeekRule::seconds() 7 4 1 1 0 0 0
A Rule\EverydayRule::__construct() 6 4 1 1 0 0 0
A Rule\SpecificDayRule::__construct() 0 5 1 1 1 0 1
A SmartSleep\Rule\OnceMonthRule::isMatched() 0 3 1 1 1 0 0
A Rule\SpecificDayRule::isMatched() 0 5 3 3 1 0 1
A SmartSleep\Rule\WeekdayRule::__construct() 6 4 1 1 0 0 0
A SmartSleep\Rule\WeekdayRule::isMatched() 8 5 3 3 1 0 0
A SmartSleep\SmartSleep::sleepForSeconds() 0 6 3 3 0 0 0
A SmartSleep\Rule\HolidayRule::__construct() 6 4 1 1 0 0 0
A SmartSleep\Rule\OnceWeekRule::isMatched() 6 3 1 1 1 0 0