< Summary - ReFlex - Library

Information
Class: ReFlex.Core.Common.Util.SteppedIterator
Assembly: ReFlex.Core.Common
File(s): D:\a\reflex\reflex\library\src\Core\Common\Util\SteppedIterator.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 16
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
SteppedIntegerList()0%620%

File(s)

D:\a\reflex\reflex\library\src\Core\Common\Util\SteppedIterator.cs

#LineLine coverage
 1using System.Collections.Generic;
 2
 3namespace ReFlex.Core.Common.Util
 4{
 5    public class SteppedIterator
 6    {
 7        public static IEnumerable<int> SteppedIntegerList(int startIndex,
 8            int endIndex, int stepSize)
 09        {
 010            for (var i = startIndex; i < endIndex; i += stepSize)
 011            {
 012                yield return i;
 013            }
 014        }
 15    }
 16}

Methods/Properties

SteppedIntegerList()