← every case · 2000 · string forms

2050-string_opening_after_block_close

a string beginning at the byte straight after a block comment closes

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.rs
1comments/* a block
2code*/"a string with no space before it" ;
3comments// a real comment

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

cloc --json cases/2000-string_forms/2050-string_opening_after_block_close/input.rs

mezura.content ✓ agrees
the rules ask3 lines · 1 code · 2 comments · 0 extra
it answers3 lines · 1 code · 2 comments · 0 extra

mezura cases/2000-string_forms/2050-string_opening_after_block_close/input.rs --output json --hide timing --counting content

mezura.region ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

mezura cases/2000-string_forms/2050-string_opening_after_block_close/input.rs --output json --hide timing --counting region

scc.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

scc --format json cases/2000-string_forms/2050-string_opening_after_block_close/input.rs

tokei.default ✗ fails

the code after the closing */ is not seen, so the file is reported as holding no code at all

the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 0 code · 3 comments

tokei --output json cases/2000-string_forms/2050-string_opening_after_block_close/input.rs