← every case

clocgithub.com

measured at 2.10 · downloaded from github-release-file as AlDanial/cloc

What it fails

defaultcloc.default.svgdoes not agree on 54 of 107 cases

1120-close_then_code_then_stray_and_reopen ✗the block comment is cut out together with the line break inside it, so the code before the opener and the code after the closer become one line and the line that vanished is charged to comments
1180-cmake_bracket_comment ✗CMake has no bracket comment here, only the hash, which is a comment wherever the line's first mark is one. So the opener's line is a comment and its body and closing bracket count as code
1200-nested_block_comment_that_nests ✗the inner closer ends the comment although Haskell's pair nests, so what follows it on that line is left standing and the line counts as code
1210-close_touching_reopen_nesting ✗an opener that comes after a closer on the same line is not acted on, whether the two symbols touch or a space separates them, so the block it reopens is never a comment
1215-nesting_openers_sharing_bytes_with_closers ✗the */ ending the first line closes the comment although Rust's pair nests, so the lines under it up to and including the second closer are left as code
1220-nested_block_comment_in_odin ✗the inner closer ends the comment although Odin's pair nests, so the lines under it up to and including the outer closer are left as code
1230-a_comment_word_at_the_head_of_a_longer_word ✗a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
1240-a_comment_opener_inside_a_vector_type ✗the <* of the vector type opens a documentation comment, which the one below the macro closes. That closing line begins with <* itself and cloc opens a comment there once more, so the function under it counts as comment too. The same file with int[<4>] comes out right
1280-matlab_block_markers_sharing_their_line ✗the %} with words after it on line 3 closes the block, so those words and line 4 count as code, and the %{ with words after it on line 6 opens one over line 7. With the words on those two lines written as plain text the file reads right
2010-comment_symbol_inside_string ✗the // of the address inside the string is read as a line comment, which hides the /* after the string, so the line closing that comment counts as code
2025-raw_opener_inside_a_comment ✗the /* inside the string "/*" is read as a comment opener, and the */ at the end of the last line closes it, so the two lines of code between them count as comments
2026-raw_opener_inside_a_comment_with_a_real_closer_after_it ✗the /* inside the string "/*" is read as a comment opener, and the */ at the end of the last line closes it, so the line of code between them counts as a comment
2040-comment_pair_opening_inside_a_string ✗the /* inside the string "/*" is read as a comment opener, and the comment ending the file closes it, so the code line between counts as comment
2060-backtick_template_holding_a_comment ✗a // at the head of a line opens a comment inside a backtick template as readily as outside one, so that line of template text counts as a comment
2064-template_inside_a_template_hole ✗a // at the head of a line opens a comment inside a backtick template as readily as outside one, so the line inside the inner template counts as a comment. One template over the same three lines, with no hole, is counted the same way
2072-verbatim_string_holding_a_doubled_quote ✗the two // lines inside the verbatim string count as comments, and they do the same when the string holds no doubled quote and no backslash
2077-interpolation_hole_holding_the_strings_own_quote ✗the two // lines inside the string count as comments, and they do the same when the string holds no hole at all
2078-raw_interpolated_string_opened_by_a_dollar_and_three_quotes ✗the // line inside the string counts as a comment, and it does the same inside a verbatim string @" written over the same lines
2079-doubled_brace_in_an_interpolated_string ✗the /* inside the string opens a block comment, so the code line below counts as a comment. A plain string "{ /* braces" with no $ and one brace does the same, and --strip-str-comments counts both right
2080-odd_triple_quote_count ✗a triple quoted string is read as documentation wherever it opens, the middle of a line of code included, so the lines holding its text and its closing quotes are added to the comment count
2085-raw_string_ending_in_a_quote ✗the // of the address inside the raw string is taken for a line comment that cuts the first line, so the /* after it is never seen and the comment's second line counts as code
2110-here_string_holding_an_apostrophe ✗it reads no here strings, so the line beginning with # inside one counts as a comment
2120-heredoc_holding_an_apostrophe ✗it reads no heredocs, so the line beginning with # inside one counts as a comment
2125-operator_spelled_like_a_heredoc_opener ✗reads no heredoc in Ruby, so the line of the heredoc that begins with # counts as a comment
2127-heredoc_closing_word_indented_only_after_a_tilde_or_dash ✗reads no heredoc in Ruby, so lines 4 and 13, the lines of the heredocs beginning with #, count as comments
2130-raw_string_holding_quotes ✗the /* inside the raw string is read as a comment opener, as it is inside a plain string too, and the */ at the end of the last line closes it, so the line of code between them counts as a comment
2135-raw_string_holding_a_shorter_closer ✗the /* inside the raw string is read as a comment opener, as it is inside a plain string too, and the */ at the end of the last line closes it, so the line of code between them counts as a comment
2140-raw_string_holding_its_own_closing_bracket ✗the /* on the third line opens a comment, which the block comment ending the file closes. A /* inside an ordinary string on one line opens one as well, so no string keeps it out
2150-delimited_raw_string_names_its_own_closer ✗the /* on the second line opens a comment, which the block comment ending the file closes. A /* inside an ordinary string on one line opens one as well, so no string keeps it out
2190-triple_quote_read_as_three_short_ones ✗a // at the head of a line opens a comment inside a triple apostrophe string too, so that line counts as one, while the /* under it opens nothing and takes no line with it
3020-multiline_string_ending_in_backslash ✗its Odin filters know no backtick string, so the line holding only // inside the raw string is dropped as a comment by its C++ comment filter. --strip-str-comments clears markers between double quotes only
3050-verbatim_string_ending_in_a_backslash ✗its F# filters drop every line that begins with //, so line 2, inside the verbatim string, is counted as a comment
4030-character_written_with_a_backslash ✗its Clojure filters drop every line that begins with ;, so line 2, inside the string opened on line 1, is counted as a comment
4080-primed_identifier_and_apostrophe ✗its F# filters drop every line that begins with //, so line 2, inside the string opened on line 1, is counted as a comment
5010-line_splice_inside_a_string ✗a string that opened on an earlier line does not stop a // from being stripped, so the line of string text holding it counts as a comment. Inside a string that opens and closes on one line it is left alone
5020-blank_line_inside_a_spliced_string ✗a blank line under a line ending in the language's continuation symbol is read as continuing it and is never blank, so the blank inside the spliced string comes out code
5030-line_splice_inside_a_comment ✗a line comment ending in a backslash takes its line break with it and stops there, so the line spliced onto it is joined to the comment's own line and counts as code
5040-line_splice_in_a_comment_with_no_words ✗a comment carrying no letter or digit is read like any other: it takes its line break with it and stops there, so the line spliced onto it is joined to the comment's own line and counts as code
5050-line_splice_after_a_closed_block_comment ✗a block comment closing earlier on the line changes nothing: the line comment after it takes its line break with it and stops there, so the line spliced onto it is joined to that line and counts as code
5060-code_then_a_spliced_line_comment ✗the comment takes its line break with it and stops there, so the first spliced line is joined to the code line above it and the second counts as code. A single splice comes out right by accident, since what it joins lands on a line that is code already
5070-blank_line_inside_a_spliced_comment ✗the blank line under the spliced comment is read as continuing it and is never blank, so it comes out comment where its own blanks-first rule says a line of nothing is blank
6020-comment_opener_inside_an_attribute ✗a comment opener inside a quoted attribute value opens a comment all the same, and the comment ending the file closes it, so both lines between count as comments
6030-opening_tag_split_over_two_lines ✗the file is counted as one language from beginning to end and no script block is separated out however its tag is written, so the js comment inside it counts as markup
6040-script_tag_in_upper_case ✗no script block is separated out of the page at all, so the case of the tag never comes up: the same file written in lower case is counted exactly the same way
6050-script_closer_written_with_a_space ✗every number comes out as the rules ask while the javascript line is credited to the page and no second language is named, so nothing in the totals shows the block was never found
6080-block_named_by_a_mime_type ✗the file is counted as one language from beginning to end, so a block named by a mime type is read with the page's symbols and the comment inside it lands in code
6090-vue_blocks_count_as_their_own_languages ✗the file is counted as one language from beginning to end, and the totals come out right only because the symbols it applies to a vue file already cover the markup, the js and the css comments, while neither block is named
6100-block_language_named_by_the_tag ✗the file is counted as one language from beginning to end and no lang attribute is read, so the totals come out right only because cloc's Vue symbols already treat // as a comment
6105-block_language_named_on_a_middle_line_of_the_tag ✗the file is counted as one language from beginning to end and no style block is separated out however its tag is written, so the totals come out right only because cloc's Vue symbols already treat // as a comment
6110-php_block_holding_html_around_it ✗the file is read as php from beginning to end and never switches language at the closing tag, so the markup comment between the blocks counts as code
6115-php_closing_tag_on_the_closing_line_of_a_heredoc ✗the file is read as php from beginning to end, so the markup comment after the closing tag counts as code
6120-script_inside_html_inside_php ✗the file is read as php from beginning to end, so the js comment two languages deep survives only because php spells its line comment the same way, and neither language inside is named
7020-regex_holding_a_comment_opener ✗the /* inside the pattern is read as a comment opener, and the comment ending the file closes it, so the two code lines between count as comment
8030-blank_line_inside_a_multiline_string ✗the empty line is set aside as blank before any comment rule runs, which is what its own rules ask, and the rest of the string around it is read as documentation

default--strip-str-commentsdoes not agree on 50 of 107 cases

1120-close_then_code_then_stray_and_reopen ✗the block comment is cut out together with the line break inside it, so the code before the opener and the code after the closer become one line and the line that vanished is charged to comments
1180-cmake_bracket_comment ✗CMake has no bracket comment here, only the hash, which is a comment wherever the line's first mark is one. So the opener's line is a comment and its body and closing bracket count as code
1200-nested_block_comment_that_nests ✗the inner closer ends the comment although Haskell's pair nests, so what follows it on that line is left standing and the line counts as code
1210-close_touching_reopen_nesting ✗an opener that comes after a closer on the same line is not acted on, whether the two symbols touch or a space separates them, so the block it reopens is never a comment
1215-nesting_openers_sharing_bytes_with_closers ✗the */ ending the first line closes the comment although Rust's pair nests, so the lines under it up to and including the second closer are left as code
1220-nested_block_comment_in_odin ✗the inner closer ends the comment although Odin's pair nests, so the lines under it up to and including the outer closer are left as code
1230-a_comment_word_at_the_head_of_a_longer_word ✗a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
1240-a_comment_opener_inside_a_vector_type ✗the <* of the vector type opens a documentation comment, which the one below the macro closes. That closing line begins with <* itself and cloc opens a comment there once more, so the function under it counts as comment too. The same file with int[<4>] comes out right
1280-matlab_block_markers_sharing_their_line ✗the %} with words after it on line 3 closes the block, so those words and line 4 count as code, and the %{ with words after it on line 6 opens one over line 7. With the words on those two lines written as plain text the file reads right
2025-raw_opener_inside_a_comment ✗the quote of the r#" inside the block comment pairs with the first quote of "/*", the comment's own closer between them is stripped as the content of a string, and the comment then runs from the first line to the */ at the end of the last line
2026-raw_opener_inside_a_comment_with_a_real_closer_after_it ✗the quote of the r#" inside the block comment pairs with the first quote of "/*", the comment's own closer between them is stripped as the content of a string, and the comment then runs from the first line to the */ at the end of the last line
2060-backtick_template_holding_a_comment ✗a // at the head of a line opens a comment inside a backtick template as readily as outside one, so that line of template text counts as a comment
2064-template_inside_a_template_hole ✗a // at the head of a line opens a comment inside a backtick template as readily as outside one, so the line inside the inner template counts as a comment. One template over the same three lines, with no hole, is counted the same way
2072-verbatim_string_holding_a_doubled_quote ✗the two // lines inside the verbatim string count as comments, and they do the same when the string holds no doubled quote and no backslash
2077-interpolation_hole_holding_the_strings_own_quote ✗the two // lines inside the string count as comments, and they do the same when the string holds no hole at all
2078-raw_interpolated_string_opened_by_a_dollar_and_three_quotes ✗the // line inside the string counts as a comment, and it does the same inside a verbatim string @" written over the same lines
2080-odd_triple_quote_count ✗a triple quoted string is read as documentation wherever it opens, the middle of a line of code included, so the lines holding its text and its closing quotes are added to the comment count
2085-raw_string_ending_in_a_quote ✗the /* on the first line is blanked as text inside a string, so the comment's second line counts as code
2110-here_string_holding_an_apostrophe ✗it reads no here strings, so the line beginning with # inside one counts as a comment
2120-heredoc_holding_an_apostrophe ✗it reads no heredocs, so the line beginning with # inside one counts as a comment
2125-operator_spelled_like_a_heredoc_opener ✗reads no heredoc in Ruby, so the line of the heredoc that begins with # counts as a comment
2127-heredoc_closing_word_indented_only_after_a_tilde_or_dash ✗reads no heredoc in Ruby, so lines 4 and 13, the lines of the heredocs beginning with #, count as comments
2130-raw_string_holding_quotes ✗Rust has no raw string here, so the string ends at the plain quote inside it and the /* after that quote opens a comment, which the */ at the end of the last line closes
2135-raw_string_holding_a_shorter_closer ✗Rust has no raw string here, so the quote after the two hashes opens an ordinary string that the quote of "# closes, and the /* after it opens a comment, which the */ at the end of the last line closes
2140-raw_string_holding_its_own_closing_bracket ✗the /* on the third line opens a comment, which the block comment ending the file closes. A /* inside an ordinary string on one line opens one as well, so no string keeps it out
2150-delimited_raw_string_names_its_own_closer ✗the /* on the second line opens a comment, which the block comment ending the file closes. A /* inside an ordinary string on one line opens one as well, so no string keeps it out
3020-multiline_string_ending_in_backslash ✗its Odin filters know no backtick string, so the line holding only // inside the raw string is dropped as a comment by its C++ comment filter. --strip-str-comments clears markers between double quotes only
3050-verbatim_string_ending_in_a_backslash ✗its F# filters drop every line that begins with //, so line 2, inside the verbatim string, is counted as a comment
4030-character_written_with_a_backslash ✗its Clojure filters drop every line that begins with ;, so line 2, inside the string opened on line 1, is counted as a comment
4080-primed_identifier_and_apostrophe ✗its F# filters drop every line that begins with //, so line 2, inside the string opened on line 1, is counted as a comment
5010-line_splice_inside_a_string ✗a string that opened on an earlier line does not stop a // from being stripped, so the line of string text holding it counts as a comment. Inside a string that opens and closes on one line it is left alone
5020-blank_line_inside_a_spliced_string ✗a blank line under a line ending in the language's continuation symbol is read as continuing it and is never blank, so the blank inside the spliced string comes out code
5030-line_splice_inside_a_comment ✗a line comment ending in a backslash takes its line break with it and stops there, so the line spliced onto it is joined to the comment's own line and counts as code
5040-line_splice_in_a_comment_with_no_words ✗a comment carrying no letter or digit is read like any other: it takes its line break with it and stops there, so the line spliced onto it is joined to the comment's own line and counts as code
5050-line_splice_after_a_closed_block_comment ✗a block comment closing earlier on the line changes nothing: the line comment after it takes its line break with it and stops there, so the line spliced onto it is joined to that line and counts as code
5060-code_then_a_spliced_line_comment ✗the comment takes its line break with it and stops there, so the first spliced line is joined to the code line above it and the second counts as code. A single splice comes out right by accident, since what it joins lands on a line that is code already
5070-blank_line_inside_a_spliced_comment ✗the blank line under the spliced comment is read as continuing it and is never blank, so it comes out comment where its own blanks-first rule says a line of nothing is blank
6020-comment_opener_inside_an_attribute ✗a comment opener inside a quoted attribute value opens a comment all the same, and the comment ending the file closes it, so both lines between count as comments
6030-opening_tag_split_over_two_lines ✗the file is counted as one language from beginning to end and no script block is separated out however its tag is written, so the js comment inside it counts as markup
6040-script_tag_in_upper_case ✗no script block is separated out of the page at all, so the case of the tag never comes up: the same file written in lower case is counted exactly the same way
6050-script_closer_written_with_a_space ✗every number comes out as the rules ask while the javascript line is credited to the page and no second language is named, so nothing in the totals shows the block was never found
6080-block_named_by_a_mime_type ✗the file is counted as one language from beginning to end, so a block named by a mime type is read with the page's symbols and the comment inside it lands in code
6090-vue_blocks_count_as_their_own_languages ✗the file is counted as one language from beginning to end, and the totals come out right only because the symbols it applies to a vue file already cover the markup, the js and the css comments, while neither block is named
6100-block_language_named_by_the_tag ✗the file is counted as one language from beginning to end and no lang attribute is read, so the totals come out right only because cloc's Vue symbols already treat // as a comment
6105-block_language_named_on_a_middle_line_of_the_tag ✗the file is counted as one language from beginning to end and no style block is separated out however its tag is written, so the totals come out right only because cloc's Vue symbols already treat // as a comment
6110-php_block_holding_html_around_it ✗the file is read as php from beginning to end and never switches language at the closing tag, so the markup comment between the blocks counts as code
6115-php_closing_tag_on_the_closing_line_of_a_heredoc ✗the file is read as php from beginning to end, so the markup comment after the closing tag counts as code
6120-script_inside_html_inside_php ✗the file is read as php from beginning to end, so the js comment two languages deep survives only because php spells its line comment the same way, and neither language inside is named
7020-regex_holding_a_comment_opener ✗the /* inside the pattern is read as a comment opener, and the comment ending the file closes it, so the two code lines between count as comment
8030-blank_line_inside_a_multiline_string ✗the empty line is set aside as blank before any comment rule runs, which is what its own rules ask, and the rest of the string around it is read as documentation

docstring-as-codecloc.docstring-as-code.svg--docstring-as-codedoes not agree on 54 of 107 cases

1120-close_then_code_then_stray_and_reopen ✗the block comment is cut out together with the line break inside it, so the code before the opener and the code after the closer become one line and the line that vanished is charged to comments
1180-cmake_bracket_comment ✗CMake has no bracket comment here, only the hash, which is a comment wherever the line's first mark is one. So the opener's line is a comment and its body and closing bracket count as code
1200-nested_block_comment_that_nests ✗the inner closer ends the comment although Haskell's pair nests, so what follows it on that line is left standing and the line counts as code
1210-close_touching_reopen_nesting ✗an opener that comes after a closer on the same line is not acted on, whether the two symbols touch or a space separates them, so the block it reopens is never a comment
1215-nesting_openers_sharing_bytes_with_closers ✗the */ ending the first line closes the comment although Rust's pair nests, so the lines under it up to and including the second closer are left as code
1220-nested_block_comment_in_odin ✗the inner closer ends the comment although Odin's pair nests, so the lines under it up to and including the outer closer are left as code
1230-a_comment_word_at_the_head_of_a_longer_word ✗a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
1240-a_comment_opener_inside_a_vector_type ✗the <* of the vector type opens a documentation comment, which the one below the macro closes. That closing line begins with <* itself and cloc opens a comment there once more, so the function under it counts as comment too. The same file with int[<4>] comes out right
1280-matlab_block_markers_sharing_their_line ✗the %} with words after it on line 3 closes the block, so those words and line 4 count as code, and the %{ with words after it on line 6 opens one over line 7. With the words on those two lines written as plain text the file reads right
2010-comment_symbol_inside_string ✗the // of the address inside the string is read as a line comment, which hides the /* after the string, so the line closing that comment counts as code
2025-raw_opener_inside_a_comment ✗the /* inside the string "/*" is read as a comment opener, and the */ at the end of the last line closes it, so the two lines of code between them count as comments
2026-raw_opener_inside_a_comment_with_a_real_closer_after_it ✗the /* inside the string "/*" is read as a comment opener, and the */ at the end of the last line closes it, so the line of code between them counts as a comment
2040-comment_pair_opening_inside_a_string ✗the /* inside the string "/*" is read as a comment opener, and the comment ending the file closes it, so the code line between counts as comment
2060-backtick_template_holding_a_comment ✗a // at the head of a line opens a comment inside a backtick template as readily as outside one, so that line of template text counts as a comment
2064-template_inside_a_template_hole ✗a // at the head of a line opens a comment inside a backtick template as readily as outside one, so the line inside the inner template counts as a comment. One template over the same three lines, with no hole, is counted the same way
2072-verbatim_string_holding_a_doubled_quote ✗the two // lines inside the verbatim string count as comments, and they do the same when the string holds no doubled quote and no backslash
2077-interpolation_hole_holding_the_strings_own_quote ✗the two // lines inside the string count as comments, and they do the same when the string holds no hole at all
2078-raw_interpolated_string_opened_by_a_dollar_and_three_quotes ✗the // line inside the string counts as a comment, and it does the same inside a verbatim string @" written over the same lines
2079-doubled_brace_in_an_interpolated_string ✗the /* inside the string opens a block comment, so the code line below counts as a comment. A plain string "{ /* braces" with no $ and one brace does the same, and --strip-str-comments counts both right
2080-odd_triple_quote_count ✗the flag makes cloc skip the stage that turns a docstring into a comment, so nothing tells the filters below that those lines are inside anything, and the one whose first mark is a # is dropped as a comment line
2085-raw_string_ending_in_a_quote ✗the // of the address inside the raw string is taken for a line comment that cuts the first line, so the /* after it is never seen and the comment's second line counts as code
2090-docstring_holding_a_comment_symbol ✗the flag makes cloc skip the stage that turns a docstring into a comment, so nothing tells the filters below that those lines are inside anything, and the one whose first mark is a # is dropped as a comment line
2110-here_string_holding_an_apostrophe ✗it reads no here strings, so the line beginning with # inside one counts as a comment
2120-heredoc_holding_an_apostrophe ✗it reads no heredocs, so the line beginning with # inside one counts as a comment
2125-operator_spelled_like_a_heredoc_opener ✗reads no heredoc in Ruby, so the line of the heredoc that begins with # counts as a comment
2127-heredoc_closing_word_indented_only_after_a_tilde_or_dash ✗reads no heredoc in Ruby, so lines 4 and 13, the lines of the heredocs beginning with #, count as comments
2130-raw_string_holding_quotes ✗the /* inside the raw string is read as a comment opener, as it is inside a plain string too, and the */ at the end of the last line closes it, so the line of code between them counts as a comment
2135-raw_string_holding_a_shorter_closer ✗the /* inside the raw string is read as a comment opener, as it is inside a plain string too, and the */ at the end of the last line closes it, so the line of code between them counts as a comment
2140-raw_string_holding_its_own_closing_bracket ✗the /* on the third line opens a comment, which the block comment ending the file closes. A /* inside an ordinary string on one line opens one as well, so no string keeps it out
2150-delimited_raw_string_names_its_own_closer ✗the /* on the second line opens a comment, which the block comment ending the file closes. A /* inside an ordinary string on one line opens one as well, so no string keeps it out
2190-triple_quote_read_as_three_short_ones ✗a // at the head of a line opens a comment inside a triple apostrophe string too, so that line counts as one, while the /* under it opens nothing and takes no line with it
3020-multiline_string_ending_in_backslash ✗its Odin filters know no backtick string, so the line holding only // inside the raw string is dropped as a comment by its C++ comment filter. --strip-str-comments clears markers between double quotes only
3050-verbatim_string_ending_in_a_backslash ✗its F# filters drop every line that begins with //, so line 2, inside the verbatim string, is counted as a comment
4030-character_written_with_a_backslash ✗its Clojure filters drop every line that begins with ;, so line 2, inside the string opened on line 1, is counted as a comment
4080-primed_identifier_and_apostrophe ✗its F# filters drop every line that begins with //, so line 2, inside the string opened on line 1, is counted as a comment
5010-line_splice_inside_a_string ✗a string that opened on an earlier line does not stop a // from being stripped, so the line of string text holding it counts as a comment. Inside a string that opens and closes on one line it is left alone
5020-blank_line_inside_a_spliced_string ✗a blank line under a line ending in the language's continuation symbol is read as continuing it and is never blank, so the blank inside the spliced string comes out code
5030-line_splice_inside_a_comment ✗a line comment ending in a backslash takes its line break with it and stops there, so the line spliced onto it is joined to the comment's own line and counts as code
5040-line_splice_in_a_comment_with_no_words ✗a comment carrying no letter or digit is read like any other: it takes its line break with it and stops there, so the line spliced onto it is joined to the comment's own line and counts as code
5050-line_splice_after_a_closed_block_comment ✗a block comment closing earlier on the line changes nothing: the line comment after it takes its line break with it and stops there, so the line spliced onto it is joined to that line and counts as code
5060-code_then_a_spliced_line_comment ✗the comment takes its line break with it and stops there, so the first spliced line is joined to the code line above it and the second counts as code. A single splice comes out right by accident, since what it joins lands on a line that is code already
5070-blank_line_inside_a_spliced_comment ✗the blank line under the spliced comment is read as continuing it and is never blank, so it comes out comment where its own blanks-first rule says a line of nothing is blank
6020-comment_opener_inside_an_attribute ✗a comment opener inside a quoted attribute value opens a comment all the same, and the comment ending the file closes it, so both lines between count as comments
6030-opening_tag_split_over_two_lines ✗the file is counted as one language from beginning to end and no script block is separated out however its tag is written, so the js comment inside it counts as markup
6040-script_tag_in_upper_case ✗no script block is separated out of the page at all, so the case of the tag never comes up: the same file written in lower case is counted exactly the same way
6050-script_closer_written_with_a_space ✗every number comes out as the rules ask while the javascript line is credited to the page and no second language is named, so nothing in the totals shows the block was never found
6080-block_named_by_a_mime_type ✗the file is counted as one language from beginning to end, so a block named by a mime type is read with the page's symbols and the comment inside it lands in code
6090-vue_blocks_count_as_their_own_languages ✗the file is counted as one language from beginning to end, and the totals come out right only because the symbols it applies to a vue file already cover the markup, the js and the css comments, while neither block is named
6100-block_language_named_by_the_tag ✗the file is counted as one language from beginning to end and no lang attribute is read, so the totals come out right only because cloc's Vue symbols already treat // as a comment
6105-block_language_named_on_a_middle_line_of_the_tag ✗the file is counted as one language from beginning to end and no style block is separated out however its tag is written, so the totals come out right only because cloc's Vue symbols already treat // as a comment
6110-php_block_holding_html_around_it ✗the file is read as php from beginning to end and never switches language at the closing tag, so the markup comment between the blocks counts as code
6115-php_closing_tag_on_the_closing_line_of_a_heredoc ✗the file is read as php from beginning to end, so the markup comment after the closing tag counts as code
6120-script_inside_html_inside_php ✗the file is read as php from beginning to end, so the js comment two languages deep survives only because php spells its line comment the same way, and neither language inside is named
7020-regex_holding_a_comment_opener ✗the /* inside the pattern is read as a comment opener, and the comment ending the file closes it, so the two code lines between count as comment

The rules it is judged by

default ruleset

blanks
blank-anywhere-is-blank
the line is nothing but spaces and tabs
code
anything-outside-spans-is-code
take the strings and the comments away and something is still there
code
a-plain-string-is-code
part of the line is inside a string
the line is not inside a block that opened with three quotes at the start of a line
the line has more on it than spaces and tabs
comments
a-doc-string-is-documentation
the line is inside a block that opened with three quotes at the start of a line
take the strings and the comments away and nothing is left but spaces
the line has more on it than spaces and tabs
comments
a-comment-alone-is-comments
part of the line is inside a comment
take the strings and the comments away and nothing is left but spaces
no part of the line is inside a string
the line has more on it than spaces and tabs

docstring-as-code ruleset

blanks
blank-anywhere-is-blank
the line is nothing but spaces and tabs
code
anything-outside-spans-is-code
take the strings and the comments away and something is still there
code
a-string-is-code
part of the line is inside a string
the line has more on it than spaces and tabs
comments
a-comment-alone-is-comments
part of the line is inside a comment
take the strings and the comments away and nothing is left but spaces
no part of the line is inside a string
the line has more on it than spaces and tabs