Coding Standards Report for XML_Statistics

Type Line Message
Package 134 errors and 26 warnings
/data/pear/pear/XML_Statistics/Statistics.php
error 2 You must use "/**" style comments for a file comment
error 43 Space after opening parenthesis of function call prohibited
error 43 Space before closing parenthesis of function call prohibited
error 48 Space after opening parenthesis of function call prohibited
error 48 Space before closing parenthesis of function call prohibited
error 53 Space after opening parenthesis of function call prohibited
error 53 Space before closing parenthesis of function call prohibited
error 58 Space after opening parenthesis of function call prohibited
error 58 Space before closing parenthesis of function call prohibited
error 63 Space after opening parenthesis of function call prohibited
error 63 Space before closing parenthesis of function call prohibited
warning 90 Invalid version "0.1" in doc comment; consider "Release: " instead
error 90 The @version tag is in the wrong order; the tag follows @licence
error 92 Missing @license tag in class comment
error 92 Missing @link tag in class comment
error 93 Opening brace of a class must be on the line after the definition
error 95 Line indented incorrectly; expected at least 4 spaces, found 3
error 104 Line indented incorrectly; expected at least 4 spaces, found 3
error 111 Line indented incorrectly; expected at least 4 spaces, found 3
error 118 Line indented incorrectly; expected at least 4 spaces, found 3
error 125 Line indented incorrectly; expected at least 4 spaces, found 3
error 132 Line indented incorrectly; expected at least 4 spaces, found 3
error 139 Line indented incorrectly; expected at least 4 spaces, found 3
error 146 Line indented incorrectly; expected at least 4 spaces, found 3
error 153 Line indented incorrectly; expected at least 4 spaces, found 3
error 160 Line indented incorrectly; expected at least 4 spaces, found 3
error 167 Line indented incorrectly; expected at least 4 spaces, found 3
error 167 Doc comment for "$options" missing
warning 181 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 184 Line indented incorrectly; expected at least 4 spaces, found 3
error 191 Last parameter comment requires a blank newline after it
error 191 Parameters must appear immediately after the comment
error 191 Expected 1 space before variable type
error 191 Doc comment var "$filename" does not match actual variable name "$file" at position 1
error 191 Missing comment for param "$filename" at position 1
error 208 Line indented incorrectly; expected at least 4 spaces, found 3
error 215 Last parameter comment requires a blank newline after it
error 215 Parameters must appear immediately after the comment
error 215 Expected 1 space before variable type
error 215 Expected 1 space after the longest type
error 215 Expected 1 space after the longest variable name
error 231 Line indented incorrectly; expected at least 4 spaces, found 3
error 243 Line indented incorrectly; expected at least 4 spaces, found 3
warning 251 Line exceeds 85 characters; contains 95 characters
error 261 Line indented incorrectly; expected at least 4 spaces, found 3
warning 264 Line exceeds 85 characters; contains 92 characters
error 272 Last parameter comment requires a blank newline after it
error 272 Parameters must appear immediately after the comment
error 272 Expected 1 space before variable type
error 272 Doc comment var "$tag" does not match actual variable name "$tagname" at position 1
error 272 Expected 1 space after the longest type
error 272 Expected 1 space after the longest variable name
warning 273 Line exceeds 85 characters; contains 101 characters
warning 280 Line exceeds 85 characters; contains 106 characters
error 290 Line indented incorrectly; expected at least 4 spaces, found 3
error 298 Last parameter comment requires a blank newline after it
error 298 Parameters must appear immediately after the comment
error 298 Expected 1 space before variable type
error 298 Expected 1 space after the longest type
error 298 Expected 1 space after the longest variable name
warning 310 Line exceeds 85 characters; contains 98 characters
error 313 Line indented incorrectly; expected at least 4 spaces, found 3
error 322 Last parameter comment requires a blank newline after it
error 322 Parameters must appear immediately after the comment
error 322 Expected 1 space before variable type
error 322 Expected 1 space after the longest type
error 322 Expected 1 space after the longest variable name
warning 331 Line exceeds 85 characters; contains 96 characters
error 334 Line indented incorrectly; expected at least 4 spaces, found 3
warning 345 Line exceeds 85 characters; contains 96 characters
error 345 Parameters must appear immediately after the comment
error 345 Expected 1 space before variable type
error 345 Expected 1 space after the longest type
error 345 Expected 1 space after the longest variable name
error 346 Last parameter comment requires a blank newline after it
error 346 Expected 1 space before variable type
warning 359 Line exceeds 85 characters; contains 110 characters
warning 363 Line exceeds 85 characters; contains 102 characters
warning 368 Line exceeds 85 characters; contains 106 characters
error 371 Line indented incorrectly; expected at least 4 spaces, found 3
warning 374 Line exceeds 85 characters; contains 93 characters
error 381 Last parameter comment requires a blank newline after it
error 381 Parameters must appear immediately after the comment
error 381 Expected 1 space before variable type
error 381 Expected 1 space after the longest type
error 381 Expected 1 space after the longest variable name
warning 392 Line exceeds 85 characters; contains 137 characters
error 395 Line indented incorrectly; expected at least 4 spaces, found 3
error 411 Last parameter comment requires a blank newline after it
error 411 Parameters must appear immediately after the comment
error 411 Expected 1 space before variable type
error 411 Expected 1 space after the longest type
error 411 Expected 1 space after the longest variable name
warning 422 Line exceeds 85 characters; contains 126 characters
error 425 Line indented incorrectly; expected at least 4 spaces, found 3
error 441 Line indented incorrectly; expected at least 4 spaces, found 3
error 456 Line indented incorrectly; expected at least 4 spaces, found 3
error 484 Parameters must appear immediately after the comment
error 484 Expected 1 space before variable type
error 485 Expected 1 space before variable type
error 486 Last parameter comment requires a blank newline after it
error 486 Expected 1 space before variable type
warning 507 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 516 Line exceeds 85 characters; contains 111 characters
error 540 Parameters must appear immediately after the comment
error 540 Expected 1 space before variable type
error 540 Doc comment var "XML" does not match actual variable name "$parser" at position 1
error 541 Last parameter comment requires a blank newline after it
error 541 Expected 1 space before variable type
error 541 The variable names for parameters XML (1) and [ UNKNOWN ] (2) do not align
error 541 The comments for parameters XML (1) and [ UNKNOWN ] (2) do not align
error 541 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$element" at position 2
error 541 Missing parameter name at position 2
error 541 Missing comment for param "[ UNKNOWN ]" at position 2
error 541 Expected 1 space after the longest type
error 553 Parameters must appear immediately after the comment
error 553 Expected 1 space before variable type
error 553 Doc comment var "XML" does not match actual variable name "$parser" at position 1
error 554 Last parameter comment requires a blank newline after it
error 554 Expected 1 space before variable type
error 554 The comments for parameters XML (1) and CDATA (2) do not align
error 554 Doc comment var "CDATA" does not match actual variable name "$cdata" at position 2
error 554 Missing comment for param "CDATA" at position 2
error 577 Parameters must appear immediately after the comment
error 577 Expected 1 space before variable type
error 577 Doc comment var "XML" does not match actual variable name "$parser" at position 1
error 578 Expected 1 space before variable type
error 578 The comments for parameters XML (1) and target (2) do not align
error 578 Doc comment var "target" does not match actual variable name "$target" at position 2
error 578 Missing comment for param "target" at position 2
error 579 Last parameter comment requires a blank newline after it
error 579 Expected 1 space before variable type
error 579 The comments for parameters target (2) and data (3) do not align
error 579 Doc comment var "data" does not match actual variable name "$data" at position 3
error 579 Missing comment for param "data" at position 3
error 599 Parameters must appear immediately after the comment
error 599 Expected 1 space before variable type
error 599 Doc comment var "XML" does not match actual variable name "$parser" at position 1
error 600 Expected 1 space before variable type
error 600 The comments for parameters XML (1) and target (2) do not align
error 600 Doc comment var "target" does not match actual variable name "$open_entity_names" at position 2
error 600 Missing comment for param "target" at position 2
error 601 Last parameter comment requires a blank newline after it
error 601 Expected 1 space before variable type
error 601 The comments for parameters target (2) and data (3) do not align
error 601 Doc comment var "data" does not match actual variable name "$base" at position 3
error 601 Missing comment for param "data" at position 3
error 601 Doc comment for "$system_id" missing
error 601 Doc comment for "$public_id" missing
warning 604 Line exceeds 85 characters; contains 89 characters
error 618 Line indented incorrectly; expected at least 4 spaces, found 3
error 624 Missing @return tag in function comment
warning 627 Equals sign not aligned correctly; expected 1 space but found 10 spaces
warning 629 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 10 spaces
warning 632 Equals sign not aligned with surrounding assignments; expected 1 space but found 7 spaces
warning 636 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 640 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
warning 641 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
warning 643 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 11 spaces
warning 646 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
Sum 134 errors and 26 warnings