-
Home
-
Debug Objects
-
2.5.0 (latest)
-
Code
-
Classes
- SqlFormatter
Total Complexity |
188 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
1,072 |
Lines of code |
541 |
Logical lines of code |
337 |
Comment lines |
253 |
Methods |
23 |
Properties |
38 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format() |
D |
18 |
78 |
198 |
getNextToken() |
D |
32 |
34 |
92 |
highlightToken() |
A |
48 |
14 |
34 |
compress() |
A |
51 |
9 |
25 |
tokenize() |
A |
47 |
8 |
39 |
splitQuery() |
A |
52 |
8 |
24 |
removeComments() |
S |
61 |
4 |
12 |
highlightBoundary() |
S |
66 |
4 |
8 |
output() |
S |
63 |
3 |
11 |
init() |
S |
59 |
2 |
12 |
is_cli() |
S |
74 |
2 |
4 |
highlightError() |
S |
68 |
2 |
7 |
highlightVariable() |
S |
68 |
2 |
7 |
highlightWord() |
S |
68 |
2 |
7 |
highlightComment() |
S |
68 |
2 |
7 |
highlightQuote() |
S |
68 |
2 |
7 |
highlightNumber() |
S |
68 |
2 |
7 |
highlightReservedWord() |
S |
68 |
2 |
7 |
highlightBacktickQuote() |
S |
68 |
2 |
7 |
highlight() |
S |
66 |
2 |
8 |
getQuotedString() |
S |
68 |
2 |
7 |
quote_regex() |
S |
79 |
1 |
3 |
getCacheStats() |
S |
67 |
1 |
8 |