← every case · 1000 · comments
a block opener inside a line comment opens nothing. The file ends with a block comment of its own, so a comment opened there by mistake has a closer to reach, and a counter that ignores an opener nobody closes cannot pass by accident
| 1 | commentscommentscommentscommentscommentscommentscomments | // this /* opens nothing |
| 2 | codecodecodecodecodecodecode | int x = 1; |
| 3 | commentscommentscommentscommentscommentscommentscomments | /* a real comment */ |
stringcommentthe tag around another language
cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1060-line_comment_holding_block_open/input.c
--strip-str-comments
cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1060-line_comment_holding_block_open/input.c --strip-str-comments
cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1060-line_comment_holding_block_open/input.c --docstring-as-code
codestats cases/1000-comments/1060-line_comment_holding_block_open/input.c --output json-compact --include-generated --no-gitignore --hidden --no-config
mezura cases/1000-comments/1060-line_comment_holding_block_open/input.c --output json --hide timing --no-default-config --no-local --counting content
mezura cases/1000-comments/1060-line_comment_holding_block_open/input.c --output json --hide timing --no-default-config --no-local --counting region
scc --format json --no-config cases/1000-comments/1060-line_comment_holding_block_open/input.c
tokei --output json cases/1000-comments/1060-line_comment_holding_block_open/input.c