← every case

codestatsgithub.com

measured at codestats 1.1.0 · downloaded from crates-io as codestats

What it fails

codestats.default.svgdoes not agree on 1 of 107 cases

6115-php_closing_tag_on_the_closing_line_of_a_heredoc ✗the ?> on the closing line of the heredoc is missed, so the page after it is read as php and its html comment counts as code. Moved to the next line, or written after a plain statement with no heredoc, the same ?> is found and the comment is counted

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