| Percentage | Lines | ||
|---|---|---|---|
| SyncCommand |
|
68 % | 94 |
| BaseCommand |
|
75 % | 21 |
| EnvFileReader |
|
100 % | 19 |
| Loader |
|
100 % | 25 |
| SyncService |
|
100 % | 35 |
| EnvFileWriter |
|
100 % | 23 |
| CheckCommand |
|
100 % | 66 |
| DiffCommand |
|
100 % | 59 |
| CRAP Score | Lines | ||
|---|---|---|---|
| SyncCommand::handle() | 10 | 46 | |
| BaseCommand::getSrcAndDest() | 8 | 14 | |
| EnvFileWriter::append() | 6 | 15 | |
| CheckCommand::handle() | 5 | 27 | |
| Loader::load() | 4 | 17 | |
| DiffCommand::handle() | 4 | 20 | |
| SyncService::ensureFileExists() | 3 | 8 | |
| EnvFileReader::read() | 2 | 7 | |
| SyncService::__construct() | 1 | 4 | |
| SyncService::getDiff() | 1 | 13 | |