| Percentage | Lines | ||
|---|---|---|---|
| BackgroundProcess |
|
71 % | 169 |
| Factory |
|
100 % | 16 |
| CRAP Score | Lines | ||
|---|---|---|---|
| BackgroundProcess::run() | 8 | 22 | |
| BackgroundProcess::checkSupportingOS() | 6 | 6 | |
| BackgroundProcess::getOS() | 6 | 12 | |
| BackgroundProcess::isRunning() | 4 | 15 | |
| BackgroundProcess::stop() | 3 | 15 | |
| BackgroundProcess::__construct() | 2 | 5 | |
| BackgroundProcess::setPid() | 2 | 4 | |
| BackgroundProcess::getPid() | 1 | 7 | |
| Factory::__construct() | 1 | 4 | |
| Factory::newProcess() | 1 | 5 | |