| Percentage | Lines | ||
|---|---|---|---|
| JsonQuery |
|
85 % | 82 |
| File |
|
100 % | 29 |
| Text |
|
100 % | 41 |
| DataTypeMapper |
|
100 % | 48 |
| JsonQueryFactory |
|
100 % | 29 |
| CRAP Score | Lines | ||
|---|---|---|---|
| DataTypeMapper::map() | 8 | 36 | |
| JsonQueryFactory::createWith() | 2 | 9 | |
| JsonQuery::run() | 2 | 18 | |
| Text::getPath() | 2 | 9 | |
| JsonQuery::setCmd() | 2 | 4 | |
| File::__construct() | 1 | 4 | |
| File::getPath() | 1 | 4 | |
| Text::__construct() | 1 | 4 | |
| JsonQuery::__construct() | 1 | 5 | |
| JsonQuery::setDataProvider() | 1 | 4 | |