← every case · 4000 · a quote that opens nothing

4090-transpose_operator_and_char

Julia transposes a matrix by writing an apostrophe after it, so a' is an operation and the apostrophe stands alone. A block comment opens after it and a real character literal sits under the comment, so a counter that pairs the two apostrophes swallows the comment, and one that ends its strings with the line hides the opener all the same

read ascloc.defaultcloc.docstring-as-codecodestats.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.jl
1codeb = a' #= a real comment
2commentsthat closes on this line =#
3codec = 'x'

stringcommentthe tag around another language

What each tool answered

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

cloc --json --config /tmp/linejudge-empty-file cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl

cloc.default ✓ agrees

--strip-str-comments

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

cloc --json --config /tmp/linejudge-empty-file cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl --strip-str-comments

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

cloc --json --config /tmp/linejudge-empty-file cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl --docstring-as-code

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

codestats cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl --output json-compact --include-generated --no-gitignore --hidden --no-config

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

mezura cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl --output json --hide timing --no-default-config --no-local --counting content

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

mezura cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl --output json --hide timing --no-default-config --no-local --counting region

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

scc --format json --no-config cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl

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

tokei --output json cases/4000-a_quote_that_opens_nothing/4090-transpose_operator_and_char/input.jl