Classes

Line coverage against cyclomatic complexity. Bubble size is the number of executable lines; hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 10 20 30 Line Coverage (%) Cyclomatic Complexity Stewart\Support\Stream\SubscriptionScope — Coverage: 96.2% | Lines: 52 | Complexity: 27 Stewart\Support\Stream\ThresholdCrossingOperator — Coverage: 100.0% | Lines: 48 | Complexity: 16 Stewart\Support\Stream\PendingEmission — Coverage: 100.0% | Lines: 39 | Complexity: 12 Stewart\Support\Stream\ThrottleOperator — Coverage: 100.0% | Lines: 27 | Complexity: 8 Stewart\Support\Stream\WhenChangedToOperator — Coverage: 100.0% | Lines: 20 | Complexity: 8 Stewart\Support\Stream\ComposedStream — Coverage: 100.0% | Lines: 19 | Complexity: 10 Stewart\Support\Stream\ComposedStateChangeStream — Coverage: 80.0% | Lines: 15 | Complexity: 15 Stewart\Support\Stream\PendingEmissions — Coverage: 100.0% | Lines: 15 | Complexity: 9 Stewart\Support\Stream\DebounceOperator — Coverage: 100.0% | Lines: 14 | Complexity: 6 Stewart\Support\Stream\TakeOperator — Coverage: 100.0% | Lines: 14 | Complexity: 5 Stewart\Support\Stream\DistinctUntilChangedOperator — Coverage: 100.0% | Lines: 12 | Complexity: 4 Stewart\Support\Stream\ThresholdDirection — Coverage: 100.0% | Lines: 9 | Complexity: 9 Stewart\Support\Stream\ThrottleWindow — Coverage: 100.0% | Lines: 9 | Complexity: 8 Stewart\Support\Stream\WhenStableForOperator — Coverage: 100.0% | Lines: 9 | Complexity: 3 Stewart\Support\Stream\PreviousStateRule — Coverage: 100.0% | Lines: 8 | Complexity: 9 Stewart\Support\Stream\StartWithCurrentStateOperator — Coverage: 100.0% | Lines: 8 | Complexity: 3 Stewart\Support\Stream\FilterOperator — Coverage: 100.0% | Lines: 6 | Complexity: 3 Stewart\Support\Stream\TakeUntilOperator — Coverage: 100.0% | Lines: 6 | Complexity: 2 Stewart\Support\Stream\CancelledSubscription — Coverage: 80.0% | Lines: 5 | Complexity: 5 Stewart\Support\Stream\CrossingLatches — Coverage: 100.0% | Lines: 5 | Complexity: 5 Stewart\Support\Stream\MapOperator — Coverage: 100.0% | Lines: 5 | Complexity: 2 Stewart\Support\Stream\OperatorStream — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Support\Stream\StateChanges — Coverage: 100.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Methods

Line coverage against cyclomatic complexity. Bubble size is the number of executable lines; hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 5 10 15 Line Coverage (%) Cyclomatic Complexity Stewart\Support\Stream\ThresholdCrossingOperator::attach — Coverage: 100.0% | Lines: 43 | Complexity: 12 Stewart\Support\Stream\ThrottleOperator::attach — Coverage: 100.0% | Lines: 26 | Complexity: 7 Stewart\Support\Stream\WhenChangedToOperator::attach — Coverage: 100.0% | Lines: 19 | Complexity: 7 Stewart\Support\Stream\SubscriptionScope::close — Coverage: 100.0% | Lines: 14 | Complexity: 5 Stewart\Support\Stream\DebounceOperator::attach — Coverage: 100.0% | Lines: 13 | Complexity: 5 Stewart\Support\Stream\TakeOperator::attach — Coverage: 100.0% | Lines: 13 | Complexity: 4 Stewart\Support\Stream\DistinctUntilChangedOperator::attach — Coverage: 100.0% | Lines: 11 | Complexity: 3 Stewart\Support\Stream\PendingEmission::arm — Coverage: 100.0% | Lines: 9 | Complexity: 1 Stewart\Support\Stream\ComposedStream::waitForNext — Coverage: 100.0% | Lines: 8 | Complexity: 1 Stewart\Support\Stream\PendingEmission::flushInto — Coverage: 100.0% | Lines: 8 | Complexity: 2 Stewart\Support\Stream\WhenStableForOperator::attach — Coverage: 100.0% | Lines: 8 | Complexity: 2 Stewart\Support\Stream\PendingEmission::disarm — Coverage: 100.0% | Lines: 7 | Complexity: 1 Stewart\Support\Stream\StartWithCurrentStateOperator::attach — Coverage: 100.0% | Lines: 7 | Complexity: 2 Stewart\Support\Stream\PendingEmission::settleIfCurrent — Coverage: 100.0% | Lines: 6 | Complexity: 2 Stewart\Support\Stream\SubscriptionScope::runEmission — Coverage: 100.0% | Lines: 6 | Complexity: 2 Stewart\Support\Stream\SubscriptionScope::closeIfSettled — Coverage: 100.0% | Lines: 6 | Complexity: 6 Stewart\Support\Stream\ComposedStateChangeStream::choosePreviousStateRule — Coverage: 100.0% | Lines: 5 | Complexity: 6 Stewart\Support\Stream\FilterOperator::attach — Coverage: 100.0% | Lines: 5 | Complexity: 2 Stewart\Support\Stream\SubscriptionScope::emit — Coverage: 100.0% | Lines: 5 | Complexity: 2 Stewart\Support\Stream\TakeUntilOperator::attach — Coverage: 100.0% | Lines: 5 | Complexity: 1 Stewart\Support\Stream\ThresholdCrossingOperator::__construct — Coverage: 100.0% | Lines: 5 | Complexity: 4 Stewart\Support\Stream\MapOperator::attach — Coverage: 100.0% | Lines: 4 | Complexity: 1 Stewart\Support\Stream\PendingEmission::syncOutstanding — Coverage: 100.0% | Lines: 4 | Complexity: 3 Stewart\Support\Stream\PendingEmissions::arm — Coverage: 100.0% | Lines: 4 | Complexity: 1 Stewart\Support\Stream\PreviousStateRule::permits — Coverage: 100.0% | Lines: 4 | Complexity: 5 Stewart\Support\Stream\SubscriptionScope::__construct — Coverage: 100.0% | Lines: 4 | Complexity: 1 Stewart\Support\Stream\SubscriptionScope::onTeardown — Coverage: 100.0% | Lines: 4 | Complexity: 2 Stewart\Support\Stream\ComposedStream::attachWithin — Coverage: 100.0% | Lines: 3 | Complexity: 1 Stewart\Support\Stream\PendingEmission::hold — Coverage: 100.0% | Lines: 3 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::disarmAll — Coverage: 100.0% | Lines: 3 | Complexity: 2 Stewart\Support\Stream\SubscriptionScope::attachedTo — Coverage: 100.0% | Lines: 3 | Complexity: 2 Stewart\Support\Stream\SubscriptionScope::trackOutstanding — Coverage: 66.7% | Lines: 3 | Complexity: 2 Stewart\Support\Stream\ThresholdDirection::isBeyond — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Support\Stream\ThresholdDirection::hasReturned — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Support\Stream\ThresholdDirection::describeUsage — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Support\Stream\ComposedStateChangeStream::distinctUntilChanged — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::disarm — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::settle — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Support\Stream\SubscriptionScope::untrackOutstanding — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Support\Stream\SubscriptionScope::closeWhenDownstreamSettles — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Support\Stream\ThrottleWindow::settleWindow — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Support\Stream\ThrottleWindow::reopenAndForward — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Support\Stream\CancelledSubscription::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CancelledSubscription::createUnique — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CancelledSubscription::unsubscribe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CancelledSubscription::isActive — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CancelledSubscription::getId — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::startWithCurrentState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::whenChangedTo — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::whenStableFor — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::whenAbove — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::whenBelow — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::acrossEntities — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStateChangeStream::createPartitionKeyReader — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::subscribe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::filter — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::map — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::debounce — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::throttle — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::take — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ComposedStream::takeUntil — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CrossingLatches::isKnown — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CrossingLatches::isFired — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CrossingLatches::recordArmed — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CrossingLatches::recordFired — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\CrossingLatches::forget — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\DebounceOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\DistinctUntilChangedOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\FilterOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\MapOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\OperatorStream::extendWith — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\OperatorStream::createPartitionKeyReader — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PendingEmission::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PendingEmission::isArmed — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::isArmed — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::hold — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PendingEmissions::pendingFor — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PreviousStateRule::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PreviousStateRule::excludingUnavailable — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PreviousStateRule::allowingAny — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\PreviousStateRule::allowingOnly — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\StartWithCurrentStateOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\StateChanges::extendWith — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\SubscriptionScope::deliverVia — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\SubscriptionScope::claimStage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\SubscriptionScope::isActive — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\TakeOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\TakeUntilOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ThrottleOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ThrottleWindow::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ThrottleWindow::isOpen — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ThrottleWindow::holdEvent — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ThrottleWindow::openWindow — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\ThrottleWindow::cancelWindowTimer — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\WhenChangedToOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Support\Stream\WhenStableForOperator::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Method CRAP Coverage
Stewart\Support\Stream\ThresholdCrossingOperator::attach12100.0%
Stewart\Support\Stream\ThrottleOperator::attach7100.0%
Stewart\Support\Stream\WhenChangedToOperator::attach7100.0%
Stewart\Support\Stream\ComposedStateChangeStream::choosePreviousStateRule6100.0%
Stewart\Support\Stream\SubscriptionScope::closeIfSettled6100.0%
Stewart\Support\Stream\DebounceOperator::attach5100.0%
Stewart\Support\Stream\PreviousStateRule::permits5100.0%
Stewart\Support\Stream\SubscriptionScope::close5100.0%
Stewart\Support\Stream\TakeOperator::attach4100.0%
Stewart\Support\Stream\ThresholdCrossingOperator::__construct4100.0%
Stewart\Support\Stream\DistinctUntilChangedOperator::attach3100.0%
Stewart\Support\Stream\PendingEmission::syncOutstanding3100.0%
Stewart\Support\Stream\ThresholdDirection::isBeyond3100.0%
Stewart\Support\Stream\ThresholdDirection::hasReturned3100.0%
Stewart\Support\Stream\ThresholdDirection::describeUsage3100.0%
Stewart\Support\Stream\SubscriptionScope::trackOutstanding2.1566.7%
Stewart\Support\Stream\CancelledSubscription::unsubscribe20.0%
Stewart\Support\Stream\ComposedStateChangeStream::startWithCurrentState20.0%
Stewart\Support\Stream\ComposedStateChangeStream::whenAbove20.0%
Stewart\Support\Stream\ComposedStateChangeStream::whenBelow20.0%
Stewart\Support\Stream\FilterOperator::attach2100.0%
Stewart\Support\Stream\PendingEmission::flushInto2100.0%
Stewart\Support\Stream\PendingEmission::settleIfCurrent2100.0%
Stewart\Support\Stream\PendingEmissions::disarmAll2100.0%
Stewart\Support\Stream\StartWithCurrentStateOperator::attach2100.0%
Stewart\Support\Stream\SubscriptionScope::emit2100.0%
Stewart\Support\Stream\SubscriptionScope::onTeardown2100.0%
Stewart\Support\Stream\SubscriptionScope::attachedTo2100.0%
Stewart\Support\Stream\SubscriptionScope::claimStage20.0%
Stewart\Support\Stream\SubscriptionScope::runEmission2100.0%
Stewart\Support\Stream\ThrottleWindow::settleWindow2100.0%
Stewart\Support\Stream\WhenStableForOperator::attach2100.0%
Stewart\Support\Stream\CancelledSubscription::__construct1100.0%
Stewart\Support\Stream\CancelledSubscription::createUnique1100.0%
Stewart\Support\Stream\CancelledSubscription::isActive1100.0%
Stewart\Support\Stream\CancelledSubscription::getId1100.0%
Stewart\Support\Stream\ComposedStateChangeStream::__construct1100.0%
Stewart\Support\Stream\ComposedStateChangeStream::distinctUntilChanged1100.0%
Stewart\Support\Stream\ComposedStateChangeStream::whenChangedTo1100.0%
Stewart\Support\Stream\ComposedStateChangeStream::whenStableFor1100.0%
Stewart\Support\Stream\ComposedStateChangeStream::acrossEntities1100.0%
Stewart\Support\Stream\ComposedStateChangeStream::createPartitionKeyReader1100.0%
Stewart\Support\Stream\ComposedStream::__construct1100.0%
Stewart\Support\Stream\ComposedStream::subscribe1100.0%
Stewart\Support\Stream\ComposedStream::waitForNext1100.0%
Stewart\Support\Stream\ComposedStream::filter1100.0%
Stewart\Support\Stream\ComposedStream::map1100.0%
Stewart\Support\Stream\ComposedStream::debounce1100.0%
Stewart\Support\Stream\ComposedStream::throttle1100.0%
Stewart\Support\Stream\ComposedStream::take1100.0%
Stewart\Support\Stream\ComposedStream::takeUntil1100.0%
Stewart\Support\Stream\ComposedStream::attachWithin1100.0%
Stewart\Support\Stream\CrossingLatches::isKnown1100.0%
Stewart\Support\Stream\CrossingLatches::isFired1100.0%
Stewart\Support\Stream\CrossingLatches::recordArmed1100.0%
Stewart\Support\Stream\CrossingLatches::recordFired1100.0%
Stewart\Support\Stream\CrossingLatches::forget1100.0%
Stewart\Support\Stream\DebounceOperator::__construct1100.0%
Stewart\Support\Stream\DistinctUntilChangedOperator::__construct1100.0%
Stewart\Support\Stream\FilterOperator::__construct1100.0%
Stewart\Support\Stream\MapOperator::__construct1100.0%
Stewart\Support\Stream\MapOperator::attach1100.0%
Stewart\Support\Stream\OperatorStream::extendWith1100.0%
Stewart\Support\Stream\OperatorStream::createPartitionKeyReader1100.0%
Stewart\Support\Stream\PendingEmission::__construct1100.0%
Stewart\Support\Stream\PendingEmission::hold1100.0%
Stewart\Support\Stream\PendingEmission::isArmed1100.0%
Stewart\Support\Stream\PendingEmission::arm1100.0%
Stewart\Support\Stream\PendingEmission::disarm1100.0%
Stewart\Support\Stream\PendingEmissions::__construct1100.0%
Stewart\Support\Stream\PendingEmissions::isArmed1100.0%
Stewart\Support\Stream\PendingEmissions::hold1100.0%
Stewart\Support\Stream\PendingEmissions::arm1100.0%
Stewart\Support\Stream\PendingEmissions::disarm1100.0%
Stewart\Support\Stream\PendingEmissions::pendingFor1100.0%
Stewart\Support\Stream\PendingEmissions::settle1100.0%
Stewart\Support\Stream\PreviousStateRule::__construct1100.0%
Stewart\Support\Stream\PreviousStateRule::excludingUnavailable1100.0%
Stewart\Support\Stream\PreviousStateRule::allowingAny1100.0%
Stewart\Support\Stream\PreviousStateRule::allowingOnly1100.0%
Stewart\Support\Stream\StartWithCurrentStateOperator::__construct1100.0%
Stewart\Support\Stream\StateChanges::extendWith1100.0%
Stewart\Support\Stream\SubscriptionScope::__construct1100.0%
Stewart\Support\Stream\SubscriptionScope::deliverVia1100.0%
Stewart\Support\Stream\SubscriptionScope::untrackOutstanding1100.0%
Stewart\Support\Stream\SubscriptionScope::closeWhenDownstreamSettles1100.0%
Stewart\Support\Stream\SubscriptionScope::isActive1100.0%
Stewart\Support\Stream\TakeOperator::__construct1100.0%
Stewart\Support\Stream\TakeUntilOperator::__construct1100.0%
Stewart\Support\Stream\TakeUntilOperator::attach1100.0%
Stewart\Support\Stream\ThrottleOperator::__construct1100.0%
Stewart\Support\Stream\ThrottleWindow::__construct1100.0%
Stewart\Support\Stream\ThrottleWindow::isOpen1100.0%
Stewart\Support\Stream\ThrottleWindow::holdEvent1100.0%
Stewart\Support\Stream\ThrottleWindow::openWindow1100.0%
Stewart\Support\Stream\ThrottleWindow::cancelWindowTimer1100.0%
Stewart\Support\Stream\ThrottleWindow::reopenAndForward1100.0%
Stewart\Support\Stream\WhenChangedToOperator::__construct1100.0%
Stewart\Support\Stream\WhenStableForOperator::__construct1100.0%
Stewart\Support\Stream\ComposedStream::extendWith0100.0%
Stewart\Support\Stream\ComposedStream::createPartitionKeyReader0100.0%