← every case · 6000 · another language inside the file

6070-script_opener_that_never_closes

the text of a script tag written inside a paragraph, with no closing tag anywhere after it. Nothing marks an opener as a tag rather than the same word written out, so a block that never closes is text and the rest of the file belongs to the page

read ascloc.defaultcloc.docstring-as-codecodestats.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.html
1code<p>a page can write <script> as text</p>
2code<p>and everything under it is still the page</p>

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

cloc --json --config /tmp/linejudge-empty-file cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html

cloc.default ✓ agrees

--strip-str-comments

the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

cloc --json --config /tmp/linejudge-empty-file cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html --strip-str-comments

cloc.docstring-as-code ✓ agrees
the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

cloc --json --config /tmp/linejudge-empty-file cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html --docstring-as-code

codestats.default ✓ agrees
the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

codestats cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html --output json-compact --include-generated --no-gitignore --hidden --no-config

mezura.content ✓ agrees
the rules ask2 lines · 2 code · 0 comments · 0 extra
it answers2 lines · 2 code · 0 comments · 0 extra

mezura cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html --output json --hide timing --no-default-config --no-local --counting content

mezura.region ✓ agrees
the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

mezura cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html --output json --hide timing --no-default-config --no-local --counting region

scc.default ✓ agrees
the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

scc --format json --no-config cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html

tokei.default ✓ agrees
the rules ask2 lines · 0 blanks · 2 code · 0 comments
it answers2 lines · 0 blanks · 2 code · 0 comments

tokei --output json cases/6000-another_language_inside_the_file/6070-script_opener_that_never_closes/input.html