Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Adapters\RPiAdapter::setDirection() | 0 | 10 | 7 | ? | 5 | 0 | 0 |
A | GPIO\Adapters\RPiAdapter::write() | 0 | 6 | 3 | ? | 3 | 0 | 0 |
A | Ballen\GPIO\Pin::__construct() | 0 | 6 | 1 | 1 | 3 | 0 | 0 |
A | Ballen\GPIO\GPIO::__construct() | 0 | 3 | 2 | 2 | 1 | 0 | 0 |
A | GPIO\Adapters\RPiAdapter::read() | 0 | 3 | 2 | ? | 2 | 0 | 0 |
A | Ballen\GPIO\Pin::validatePin() | 0 | 2 | 2 | 2 | 1 | 0 | 0 |
A | Adapters\VfsAdapter::setDirection() | 0 | 1 | 1 | 1 | 1 | 0 | 1 |
A | Ballen\GPIO\Pin::setValue() | 0 | 3 | 2 | 2 | 2 | 0 | 0 |
A | GPIO\Adapters\VfsAdapter::write() | 0 | 2 | 1 | 1 | 1 | 0 | 0 |
A | GPIO\Adapters\RPiAdapter::export() | 0 | 5 | 3 | ? | 1 | 0 | 0 |
A | Ballen\GPIO\Pin::getValue() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | GPIO\Adapters\VfsAdapter::read() | 0 | 3 | 2 | 2 | 1 | 0 | 0 |
A | Ballen\GPIO\GPIO::pin() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Ballen\GPIO\Pin::validateType() | 0 | 2 | 2 | 2 | 2 | 0 | 0 |
A | Exceptions\GPIOException::__construct() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |