← every case · 8000 · what the line counts as
a line holding only a brace. A definition, not a mistake: neither code nor comment to a counter that asks what a line says, code to one that asks whether the file would compile without it
| 1 | codecodecodecodecode | int main(void) { |
| 2 | codecodecodecodecode | return 0; |
| 3 | codeextracodecodecode | } |
stringcommentthe tag around another language
cloc --json cases/8000-what_the_line_counts_as/8010-punctuation_only_line/input.c
mezura cases/8000-what_the_line_counts_as/8010-punctuation_only_line/input.c --output json --hide timing --counting content
mezura cases/8000-what_the_line_counts_as/8010-punctuation_only_line/input.c --output json --hide timing --counting region
scc --format json cases/8000-what_the_line_counts_as/8010-punctuation_only_line/input.c
tokei --output json cases/8000-what_the_line_counts_as/8010-punctuation_only_line/input.c