Code

Rating Name Duplication Size Complexity   CRAP Changes Bugs Features
A InMemoryBatchingFetcher::rewind() 0 3 1 1 0 0 0
A BatchingIteratorTest::testMultipleIteration() 0 8 1 ? 0 0 0
A IteratorBasedBatchingFetcherTest::testWhenNoFetchingHasHappened_rewindStaysAtTheFirstElement() 0 7 1 ? 0 0 0
A BatchingIterator\BatchingIterator::key() 0 3 1 1 0 0 0
A BatchingIteratorTest::batchSizeProvider() 0 9 1 ? 0 0 0
A IteratorBasedBatchingFetcherTest::testGivenOneValue_onlyFirstFetchReturnsIt() 0 6 1 ? 0 0 0
A BatchingIterator\BatchingIterator::__construct() 0 3 1 1 0 0 0
A MultipleBatchingFetcher::attachFetcher() 0 3 1 1 0 0 0
A InMemoryBatchingFetcherTest::testWhenResultsHaveRunOut_rewindGoesToFirstElement() 0 8 1 ? 0 0 0
A MultipleBatchingFetcherTest::testGivenArrayAndFetchers_constructorThrowsException() 0 11 1 ? 0 0 0
A IteratorBasedBatchingFetcher::__construct() 0 3 1 1 0 0 0
A InMemoryBatchingFetcherTest::testGivenNoValues_fetchNextReturnEmptyArray() 0 8 1 ? 0 0 0
A MultipleBatchingFetcherTest::testGivenNonFetcher_constructorThrowsException() 0 10 1 ? 0 0 0
A BatchingIterator\BatchingIterator::valid() 0 3 1 1 0 0 0
A BatchingIteratorTest::testCorrectCallsAreMadeToTheBatchingFetcher() 0 26 1 ? 0 0 0