Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A RewindableGeneratorTest::testIteratingMultipleTimes_onRewindCallbackGetsCalled() 0 25 1 ? 0 0 0
A RewindableGeneratorTest::testWhenCallingRewind_onRewindCallbackGetsCalled() 0 23 1 ? 0 0 0
A RewindableGeneratorTest::testCanRewind() 0 18 2 ? 0 0 0
A RewindableGeneratorTest::testIterateTwice() 0 17 1 ? 0 0 0
A RewindableGeneratorTest::testWhenOnRewindSetInConstructor_onRewindThrowsException() 0 13 1 ? 0 0 0
A RewindableGeneratorTest::testWhenCallingItTwice_onRewindThrowsException() 0 12 1 ? 0 0 0
A RewindableGeneratorTest::testAdaptsNotEmptyGenerator() 0 12 1 ? 0 0 0
A GeneratorTest::testCannotUseAndRewind() 0 12 2 ? 0 0 0
A RewindableGenerator::rewind() 0 11 3 3.03 0 0 0
A RewindableGeneratorTest::testAdaptsEmptyGenerator() 0 10 2 ? 0 0 0
A RewindableGenerator::valid() 0 3 1 1 0 0 0
A RewindableGenerator::__construct() 0 5 1 1 0 0 0
A RewindableGenerator::generateGenerator() 0 7 2 2 0 0 0
A RewindableGenerator::onRewind() 0 7 2 2 0 0 0
A RewindableGenerator::current() 0 3 1 1 0 0 0