Coding Standards Report for Net_Traceroute

Type Line Message
Package 78 errors and 40 warnings
/data/pear/pear/Net_Traceroute/Traceroute.php
error 2 You must use "/**" style comments for a file comment
warning 51 Line exceeds 85 characters; contains 101 characters
error 54 Expected 1 space after comma in function call; 25 found
error 55 Expected 1 space after comma in function call; 17 found
error 56 Expected 1 space after comma in function call; 14 found
error 57 Expected 1 space after comma in function call; 2 found
error 58 Expected 1 space after comma in function call; 5 found
error 63 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 63 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
error 64 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 66 Missing @category tag in class comment
error 66 Missing @license tag in class comment
error 66 Missing @link tag in class comment
error 117 Doc comment for "$traceroute_path" missing
error 117 Doc comment for "$sysname" missing
warning 125 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 3 spaces
warning 139 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 2 spaces
warning 140 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 3 spaces
warning 143 Line exceeds 85 characters; contains 128 characters
warning 144 Line exceeds 85 characters; contains 132 characters
error 153 Last parameter comment requires a blank newline after it
error 153 Expected 1 space before variable type
error 153 Expected 1 space after the longest type
error 153 Expected 1 space after the longest variable name
warning 160 Line exceeds 85 characters; contains 108 characters
error 167 Line indented incorrectly; expected at least 12 spaces, found 11
error 178 Last parameter comment requires a blank newline after it
error 178 Expected 1 space before variable type
error 178 Expected 1 space after the longest type
error 178 Expected 1 space after the longest variable name
error 180 Missing @return tag in function comment
warning 183 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 4 spaces
warning 184 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 4 spaces
error 192 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 192 Line exceeds 85 characters; contains 101 characters
warning 218 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 220 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 4 spaces
warning 221 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 8 spaces
warning 222 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
error 224 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 225 Expected "if (...) {\n"; found "if(...) {\n"
error 225 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 225 Line exceeds 85 characters; contains 90 characters
warning 226 Line exceeds 85 characters; contains 106 characters
error 227 Closing brace indented incorrectly; expected 12 spaces, found 13
error 234 Break statement indented incorrectly; expected 12 spaces, found 13
error 239 Break statement indented incorrectly; expected 12 spaces, found 13
error 244 Break statement indented incorrectly; expected 12 spaces, found 13
error 253 Last parameter comment requires a blank newline after it
error 253 Expected 1 space before variable type
error 253 Expected 1 space after the longest variable name
warning 261 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 265 Line exceeds 85 characters; contains 86 characters
warning 269 Line exceeds 85 characters; contains 102 characters
warning 277 Line exceeds 85 characters; contains 86 characters
error 279 Last parameter comment requires a blank newline after it
error 279 Expected 1 space before variable type
error 279 Expected 1 space after the longest variable name
error 320 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 320 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
error 321 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 323 Missing @category tag in class comment
error 323 Missing @license tag in class comment
error 323 Missing @link tag in class comment
error 367 Doc comment for "$result" missing
error 367 Doc comment for "$sysname" missing
error 383 Expected 1 space before variable type
error 384 Last parameter comment requires a blank newline after it
error 384 Expected 1 space before variable type
error 384 Expected 1 space after the longest variable name
error 386 Missing @return tag in function comment
warning 390 Line exceeds 85 characters; contains 126 characters
error 400 Parameters must appear immediately after the comment
error 400 Expected 1 space before variable type
error 400 Expected 1 space after the longest variable name
error 402 Missing @return tag in function comment
warning 405 Line exceeds 85 characters; contains 101 characters
error 416 Missing @return tag in function comment
error 427 Missing @return tag in function comment
warning 431 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 434 Line indented incorrectly; expected at least 12 spaces, found 10
error 443 Line indented incorrectly; expected at least 12 spaces, found 10
warning 448 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 465 Expected "for (...) {\n"; found "for(...) {\n"
warning 466 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 474 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
error 485 Missing @return tag in function comment
warning 489 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 492 Line indented incorrectly; expected at least 12 spaces, found 10
warning 497 Line exceeds 85 characters; contains 99 characters
warning 501 Line exceeds 85 characters; contains 89 characters
warning 505 Line exceeds 85 characters; contains 112 characters
warning 508 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 510 Line exceeds 85 characters; contains 93 characters
warning 514 Line exceeds 85 characters; contains 122 characters
warning 514 Equals sign not aligned correctly; expected 1 space but found 7 spaces
warning 525 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 528 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 531 Expected "for (...) {\n"; found "for(...) {\n"
error 532 No space found after comma in function call
error 532 No space found after comma in function call
warning 532 Line exceeds 85 characters; contains 108 characters
warning 532 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 541 Line exceeds 85 characters; contains 88 characters
warning 549 Line exceeds 85 characters; contains 99 characters
error 560 Last parameter comment requires a blank newline after it
error 560 Expected 1 space before variable type
error 560 Expected 1 space after the longest variable name
error 578 Line indented incorrectly; expected at least 8 spaces, found 5
error 578 Spaces must be used to indent lines; tabs are not allowed
error 590 Line indented incorrectly; expected at least 8 spaces, found 5
error 590 Spaces must be used to indent lines; tabs are not allowed
error 602 Line indented incorrectly; expected at least 8 spaces, found 5
error 602 Spaces must be used to indent lines; tabs are not allowed
error 614 Line indented incorrectly; expected at least 8 spaces, found 5
error 614 Spaces must be used to indent lines; tabs are not allowed
error 626 Line indented incorrectly; expected at least 8 spaces, found 5
error 626 Spaces must be used to indent lines; tabs are not allowed
Sum 78 errors and 40 warnings