Coding Standards Report for RDF_N3

Type Line Message
Package 189 errors and 109 warnings
/data/pear/pear/RDF_N3/N3/Parser.php
error 2 You must use "/**" style comments for a file comment
warning 13 Line exceeds 85 characters; contains 106 characters
warning 33 Line exceeds 85 characters; contains 134 characters
error 39 Missing class doc comment
error 51 Extra newline found before function comment short description
error 52 There must be exactly one blank line before the tags in function comment
warning 57 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 58 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 59 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 60 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 61 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 62 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
warning 64 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 65 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 70 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 71 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 72 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 73 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 74 Line exceeds 85 characters; contains 88 characters
error 74 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
warning 74 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 75 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
warning 76 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 77 Line exceeds 85 characters; contains 92 characters
warning 78 Line exceeds 85 characters; contains 90 characters
warning 79 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 87 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 88 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 89 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 94 Line exceeds 85 characters; contains 100 characters
error 97 Last parameter comment requires a blank newline after it
error 97 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$set" at position 1
error 97 Missing parameter name at position 1
error 97 Missing comment for param "[ UNKNOWN ]" at position 1
error 99 Missing @return tag in function comment
error 110 Last parameter comment requires a blank newline after it
error 110 Missing comment for param "$s" at position 1
error 112 Missing @return tag in function comment
warning 140 Line exceeds 85 characters; contains 93 characters
error 142 Missing comment for param "$s" at position 1
error 143 Last parameter comment requires a blank newline after it
error 143 The comments for parameters $s (1) and $func (2) do not align
error 143 Missing comment for param "$func" at position 2
error 145 Missing @return tag in function comment
error 175 Last parameter comment requires a blank newline after it
error 175 Missing comment for param "$s" at position 1
error 208 Last parameter comment requires a blank newline after it
error 208 Parameters must appear immediately after the comment
error 208 Expected 1 space before variable type
error 208 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$path" at position 1
error 208 Missing parameter name at position 1
error 208 Missing comment for param "[ UNKNOWN ]" at position 1
warning 214 Line exceeds 85 characters; contains 105 characters
warning 215 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 216 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 219 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 233 Parameters must appear immediately after the comment
error 233 Missing comment for param "$s" at position 1
error 234 Missing @return tag in function comment
error 248 Parameters must appear immediately after the comment
error 248 Doc comment var "[ UNKNOWN ]" does not match actual variable name "&$l" at position 1
error 248 Missing parameter name at position 1
error 248 Missing comment for param "[ UNKNOWN ]" at position 1
error 248 Doc comment for "$i" missing
error 249 Missing @return tag in function comment
error 259 Last parameter comment requires a blank newline after it
error 259 Parameters must appear immediately after the comment
error 259 Missing comment for param "$s" at position 1
error 261 Missing @return tag in function comment
warning 269 Inline control structures are discouraged
warning 270 Inline control structures are discouraged
error 277 Parameters must appear immediately after the comment
error 277 Missing comment for param "$list" at position 1
error 278 Missing @return tag in function comment
error 292 Parameters must appear immediately after the comment
error 292 Missing comment for param "$list" at position 1
error 293 The variable names for parameters $list (1) and $start (2) do not align
error 293 The comments for parameters $list (1) and $start (2) do not align
error 293 Missing comment for param "$start" at position 2
error 294 The comments for parameters $start (2) and $end (3) do not align
error 294 Missing comment for param "$end" at position 3
warning 298 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 310 Missing comment for param "$a" at position 1
error 311 Last parameter comment requires a blank newline after it
error 311 Missing comment for param "$b" at position 2
error 314 Missing @return tag in function comment
error 315 Method name "RDF_N3_Parser::array_concat" is not in camel caps format
error 324 Missing comment for param "$list" at position 1
error 325 Last parameter comment requires a blank newline after it
error 325 The variable names for parameters $list (1) and $item (2) do not align
error 325 Missing comment for param "$item" at position 2
error 328 Missing @return tag in function comment
warning 332 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 348 Last parameter comment requires a blank newline after it
error 348 Missing comment for param "$s" at position 1
error 351 Missing @return tag in function comment
warning 356 Inline control structures are discouraged
warning 360 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 374 Missing comment for param "$list" at position 1
error 375 The variable names for parameters $list (1) and $start (2) do not align
error 375 The comments for parameters $list (1) and $start (2) do not align
error 375 Missing comment for param "$start" at position 2
error 376 Last parameter comment requires a blank newline after it
error 376 The comments for parameters $start (2) and $end (3) do not align
error 376 Missing comment for param "$end" at position 3
error 379 Missing @return tag in function comment
error 398 Last parameter comment requires a blank newline after it
error 398 Missing comment for param "$list" at position 1
error 401 Missing @return tag in function comment
warning 405 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 406 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 412 Line exceeds 85 characters; contains 91 characters
error 412 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
warning 412 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 413 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 414 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 419 Inline control structures are discouraged
error 427 Last parameter comment requires a blank newline after it
error 427 Doc comment var "$l" does not match actual variable name "&$l" at position 1
error 427 Missing comment for param "$l" at position 1
error 427 Doc comment for "$p" missing
error 429 Missing @return tag in function comment
error 430 Method name "RDF_N3_Parser::replace_a_type" is not in camel caps format
error 440 Last parameter comment requires a blank newline after it
error 440 Doc comment var "$l" does not match actual variable name "&$l" at position 1
error 440 Missing comment for param "$l" at position 1
error 440 Doc comment for "$p" missing
error 442 Missing @return tag in function comment
error 443 Method name "RDF_N3_Parser::replace_equal" is not in camel caps format
error 453 Last parameter comment requires a blank newline after it
error 453 Missing comment for param "$l" at position 1
error 453 Doc comment for "$p" missing
error 455 Missing @return tag in function comment
error 456 Method name "RDF_N3_Parser::replace_this" is not in camel caps format
error 467 Missing comment for param "$prefixes" at position 1
error 468 Last parameter comment requires a blank newline after it
error 468 The comments for parameters $prefixes (1) and $list (2) do not align
error 468 Missing comment for param "$list" at position 2
error 471 Missing @return tag in function comment
warning 481 Line exceeds 85 characters; contains 98 characters
warning 491 Line exceeds 85 characters; contains 88 characters
error 499 Space before closing parenthesis of function call prohibited
warning 502 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 525 Line exceeds 85 characters; contains 93 characters
warning 528 Line exceeds 85 characters; contains 93 characters
warning 528 Inline control structures are discouraged
error 546 Last parameter comment requires a blank newline after it
error 546 Missing comment for param "$list" at position 1
error 549 Missing @return tag in function comment
warning 563 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 576 Last parameter comment requires a blank newline after it
error 576 Missing comment for param "$list" at position 1
error 579 Missing @return tag in function comment
warning 584 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 585 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 586 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 587 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 601 Last parameter comment requires a blank newline after it
error 601 Parameters must appear immediately after the comment
error 601 Missing comment for param "$list" at position 1
error 603 Missing @return tag in function comment
error 648 Last parameter comment requires a blank newline after it
error 648 Missing comment for param "$list" at position 1
error 651 Missing @return tag in function comment
warning 654 Line exceeds 85 characters; contains 94 characters
warning 668 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 670 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 679 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 689 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 691 Line exceeds 85 characters; contains 91 characters
warning 691 Inline control structures are discouraged
warning 695 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 700 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 712 Line exceeds 85 characters; contains 96 characters
warning 712 Inline control structures are discouraged
error 721 Missing comment for param "$list" at position 1
error 722 The variable names for parameters $list (1) and $schar (2) do not align
error 722 The comments for parameters $list (1) and $schar (2) do not align
error 722 Missing comment for param "$schar" at position 2
error 723 Last parameter comment requires a blank newline after it
error 723 Missing comment for param "$echar" at position 3
error 726 Missing @return tag in function comment
warning 731 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 733 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 748 Equals sign not aligned with surrounding assignments; expected 42 spaces but found 1 space
warning 760 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 769 Last parameter comment requires a blank newline after it
error 769 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$list" at position 1
error 769 Missing parameter name at position 1
error 769 Missing comment for param "[ UNKNOWN ]" at position 1
error 772 Missing @return tag in function comment
error 787 Missing @return tag in function comment
error 798 Last parameter comment requires a blank newline after it
error 798 Parameters must appear immediately after the comment
error 798 Missing comment for param "$list" at position 1
error 800 Missing @return tag in function comment
warning 808 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
warning 810 Inline control structures are discouraged
warning 810 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 811 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
error 821 Last parameter comment requires a blank newline after it
error 821 Parameters must appear immediately after the comment
error 821 Missing comment for param "$list" at position 1
warning 829 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 830 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 832 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 833 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 834 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 846 Last parameter comment requires a blank newline after it
error 846 Missing comment for param "$s" at position 1
error 849 Missing @return tag in function comment
warning 855 Line exceeds 85 characters; contains 98 characters
error 855 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 861 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
warning 861 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 863 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 870 Line exceeds 85 characters; contains 95 characters
error 870 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 876 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 882 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 892 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 910 Last parameter comment requires a blank newline after it
error 910 Parameters must appear immediately after the comment
error 910 Missing comment for param "$s" at position 1
error 910 Doc comment for "$state" missing
error 912 Missing @return tag in function comment
warning 946 Line exceeds 85 characters; contains 92 characters
Sum 146 errors and 81 warnings
/data/pear/pear/RDF_N3/N3/Serializer.php
error 2 You must use "/**" style comments for a file comment
warning 23 Line exceeds 85 characters; contains 93 characters
error 31 Missing class doc comment
error 47 There must be exactly one blank line before the tags in function comment
error 59 Last parameter comment requires a blank newline after it
error 59 Parameters must appear immediately after the comment
error 59 Doc comment var "$s" does not match actual variable name "$ns" at position 1
error 59 Missing comment for param "$s" at position 1
error 59 Doc comment for "$prefix" missing
error 61 Missing @return tag in function comment
error 71 Last parameter comment requires a blank newline after it
error 71 Doc comment var "Model" does not match actual variable name "&$m" at position 1
warning 83 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 86 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 87 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 109 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 116 Line exceeds 85 characters; contains 95 characters
warning 134 Line exceeds 85 characters; contains 115 characters
error 135 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 137 Space after opening parenthesis of function call prohibited
warning 137 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 140 Space before closing parenthesis of function call prohibited
error 172 Parameters must appear immediately after the comment
error 172 Doc comment var "Model_Memory" does not match actual variable name "&$model" at position 1
error 173 Last parameter comment requires a blank newline after it
error 173 The comments for parameters Model_Memory (1) and $filename (2) do not align
error 173 Missing comment for param "$filename" at position 2
error 198 Last parameter comment requires a blank newline after it
error 198 Parameters must appear immediately after the comment
error 198 Superfluous doc comment at position 1
error 198 Missing parameter name at position 1
error 198 Missing comment for param "[ UNKNOWN ]" at position 1
error 200 Missing @return tag in function comment
warning 203 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 204 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 206 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 207 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 208 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 211 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 212 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 213 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
warning 214 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 215 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 225 Last parameter comment requires a blank newline after it
error 225 Parameters must appear immediately after the comment
error 225 Doc comment var "$n" does not match actual variable name "&$n" at position 1
error 225 Missing comment for param "$n" at position 1
error 227 Missing @return tag in function comment
warning 238 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
error 251 Last parameter comment requires a blank newline after it
error 251 Parameters must appear immediately after the comment
error 251 Doc comment var "Resource" does not match actual variable name "&$r" at position 1
error 253 Missing @return tag in function comment
warning 271 Equals sign not aligned with surrounding assignments; expected 32 spaces but found 1 space
warning 276 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 293 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 295 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 313 Inline control structures are discouraged
warning 350 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 361 Last parameter comment requires a blank newline after it
error 361 Doc comment var "$s" does not match actual variable name "&$r" at position 1
error 361 Missing comment for param "$s" at position 1
error 361 Doc comment for "$out" missing
error 382 Doc comment var "$s" does not match actual variable name "$t" at position 1
error 382 Missing comment for param "$s" at position 1
error 383 Last parameter comment requires a blank newline after it
error 383 Missing comment for param "$a" at position 2
Sum 42 errors and 25 warnings
/data/pear/pear/RDF_N3/package.php
error 2 Missing file doc comment
warning 6 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 13 Line exceeds 85 characters; contains 88 characters
warning 47 Line exceeds 85 characters; contains 92 characters
Sum 1 errors and 3 warnings