| Percentage | Lines | ||
|---|---|---|---|
| TerminalDimensions |
|
0 % | 137 |
| DiffConsoleOutput |
|
95 % | 319 |
| ConsoleDiff |
|
98 % | 87 |
| FirstDiff |
|
100 % | 63 |
| Terminal |
|
100 % | 185 |
| ANSI |
|
100 % | 286 |
| Wrapper |
|
100 % | 86 |
| CRAP Score | Lines | ||
|---|---|---|---|
| TerminalDimensions::refreshDimensions() | 72 | 25 | |
| TerminalDimensions::getWidth() | 42 | 14 | |
| TerminalDimensions::getHeight() | 42 | 14 | |
| TerminalDimensions::getConsoleMode() | 20 | 22 | |
| ConsoleDiff::firstDifference() | 12 | 32 | |
| TerminalDimensions::getSttyColumns() | 12 | 22 | |
| DiffConsoleOutput::format() | 9 | 27 | |
| DiffConsoleOutput::reWrite() | 8 | 37 | |
| DiffConsoleOutput::buildOutput() | 8 | 29 | |
| FirstDiff::firstDifference() | 7 | 19 | |