Percentage | Lines | ||
---|---|---|---|
AssociativeList |
|
0 % | 4 |
TableTransformation |
|
92 % | 143 |
TableFormatter |
|
97 % | 128 |
CsvFormatter |
|
97 % | 110 |
UnknownFormatException |
|
100 % | 8 |
RenderTableDataTrait |
|
100 % | 23 |
IncompatibleDataException |
|
100 % | 11 |
JsonFormatter |
|
100 % | 10 |
PrintRFormatter |
|
100 % | 10 |
VarExportFormatter |
|
100 % | 10 |
CRAP Score | Lines | ||
---|---|---|---|
FormatterManager::simplifyToArray() | 42 | 24 | |
ReorderFields::isRegex() | 42 | 19 | |
FormatterManager::isValidFormat() | 30 | 13 | |
FormatterManager::isValidDataType() | 30 | 14 | |
FormatterManager::write() | 30 | 28 | |
FormatterManager::getFormatter() | 12 | 15 | |
FormatterManager::validateData() | 12 | 23 | |
FormatterManager::canSimplifyToArray() | 12 | 9 | |
StringFormatter::overrideOptions() | 12 | 10 | |
StringFormatter::reduceToSigleFieldAndWrite() | 12 | 14 | |