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 1 2 3 4 5 Line Coverage (%) Cyclomatic Complexity Stewart\Contracts\Exposure\Command\SwitchCommand — Coverage: 75.0% | Lines: 4 | Complexity: 4 Stewart\Contracts\Exposure\Command\ButtonPress — Coverage: 66.7% | Lines: 3 | Complexity: 3 Stewart\Contracts\Exposure\Command\DateCommand — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Contracts\Exposure\Command\DateTimeCommand — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Contracts\Exposure\Command\NumberCommand — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Contracts\Exposure\Command\SelectCommand — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Contracts\Exposure\Command\TextCommand — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Contracts\Exposure\Command\TimeCommand — Coverage: 0.0% | Lines: 3 | Complexity: 3

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 1 2 Line Coverage (%) Cyclomatic Complexity Stewart\Contracts\Exposure\Command\ButtonPress::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\ButtonPress::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\ButtonPress::getRequestedState — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\DateCommand::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\DateCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\DateCommand::getRequestedState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\DateTimeCommand::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\DateTimeCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\DateTimeCommand::getRequestedState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\NumberCommand::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\NumberCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\NumberCommand::getRequestedState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SelectCommand::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SelectCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SelectCommand::getRequestedState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SwitchCommand::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SwitchCommand::isTurnOn — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SwitchCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\SwitchCommand::getRequestedState — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\TextCommand::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\TextCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\TextCommand::getRequestedState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\TimeCommand::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\TimeCommand::getContext — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Contracts\Exposure\Command\TimeCommand::getRequestedState — Coverage: 0.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Method CRAP Coverage
Stewart\Contracts\Exposure\Command\ButtonPress::getContext20.0%
Stewart\Contracts\Exposure\Command\DateCommand::__construct20.0%
Stewart\Contracts\Exposure\Command\DateCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\DateCommand::getRequestedState20.0%
Stewart\Contracts\Exposure\Command\DateTimeCommand::__construct20.0%
Stewart\Contracts\Exposure\Command\DateTimeCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\DateTimeCommand::getRequestedState20.0%
Stewart\Contracts\Exposure\Command\NumberCommand::__construct20.0%
Stewart\Contracts\Exposure\Command\NumberCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\NumberCommand::getRequestedState20.0%
Stewart\Contracts\Exposure\Command\SelectCommand::__construct20.0%
Stewart\Contracts\Exposure\Command\SelectCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\SelectCommand::getRequestedState20.0%
Stewart\Contracts\Exposure\Command\SwitchCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\TextCommand::__construct20.0%
Stewart\Contracts\Exposure\Command\TextCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\TextCommand::getRequestedState20.0%
Stewart\Contracts\Exposure\Command\TimeCommand::__construct20.0%
Stewart\Contracts\Exposure\Command\TimeCommand::getContext20.0%
Stewart\Contracts\Exposure\Command\TimeCommand::getRequestedState20.0%
Stewart\Contracts\Exposure\Command\ButtonPress::__construct1100.0%
Stewart\Contracts\Exposure\Command\ButtonPress::getRequestedState1100.0%
Stewart\Contracts\Exposure\Command\SwitchCommand::__construct1100.0%
Stewart\Contracts\Exposure\Command\SwitchCommand::isTurnOn1100.0%
Stewart\Contracts\Exposure\Command\SwitchCommand::getRequestedState1100.0%