← every case · 1000 · comments

1100-close_touching_reopen_plain

a block comment closes and the next one opens with nothing between the two symbols

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.c
1comments/* first block
2comments*//* second block opens where the first closed
3comments*/
4codeint x = 1;

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask4 lines · 0 blanks · 1 code · 3 comments
it answers4 lines · 0 blanks · 1 code · 3 comments

cloc --json cases/1000-comments/1100-close_touching_reopen_plain/input.c

mezura.content ✓ agrees
the rules ask4 lines · 1 code · 2 comments · 1 extra
it answers4 lines · 1 code · 2 comments · 1 extra

mezura cases/1000-comments/1100-close_touching_reopen_plain/input.c --output json --hide timing --counting content

mezura.region ✓ agrees
the rules ask4 lines · 0 blanks · 1 code · 3 comments
it answers4 lines · 0 blanks · 1 code · 3 comments

mezura cases/1000-comments/1100-close_touching_reopen_plain/input.c --output json --hide timing --counting region

scc.default ✓ agrees
the rules ask4 lines · 0 blanks · 1 code · 3 comments
it answers4 lines · 0 blanks · 1 code · 3 comments

scc --format json cases/1000-comments/1100-close_touching_reopen_plain/input.c

tokei.default ✓ agrees
the rules ask4 lines · 0 blanks · 1 code · 3 comments
it answers4 lines · 0 blanks · 1 code · 3 comments

tokei --output json cases/1000-comments/1100-close_touching_reopen_plain/input.c