Coding Standards Report for Net_Ping

Type Line Message
Package 161 errors and 41 warnings
/data/pear/pear/Net_Ping/Ping.php
error 2 You must use "/**" style comments for a file comment
error 28 Space before closing parenthesis of function call prohibited
error 28 Expected 1 space after comma in function call; 21 found
warning 28 Line exceeds 85 characters; contains 86 characters
error 29 Space before closing parenthesis of function call prohibited
error 29 Expected 1 space after comma in function call; 13 found
warning 29 Line exceeds 85 characters; contains 86 characters
error 30 Space before closing parenthesis of function call prohibited
error 30 Expected 1 space after comma in function call; 10 found
warning 30 Line exceeds 85 characters; contains 86 characters
error 31 Expected 1 space after comma in function call; 4 found
warning 31 Line exceeds 85 characters; contains 86 characters
error 32 Space before closing parenthesis of function call prohibited
warning 32 Line exceeds 85 characters; contains 86 characters
error 34 Expected 1 space after comma in function call; 21 found
error 35 Expected 1 space after comma in function call; 13 found
error 36 Expected 1 space after comma in function call; 10 found
error 37 Expected 1 space after comma in function call; 4 found
error 57 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 57 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 58 Invalid version "$Revision: 1.48 $" in doc comment; consider "Release: " instead
error 58 The @version tag is in the wrong order; the tag follows @licence
error 58 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 59 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 61 Missing @category tag in class comment
error 61 Missing @license tag in class comment
error 61 Missing @link tag in class comment
error 120 Doc comment for "$ping_path" missing
error 120 Doc comment for "$sysname" missing
error 136 Missing @return tag in function comment
warning 143 Line exceeds 85 characters; contains 98 characters
warning 144 Line exceeds 85 characters; contains 108 characters
error 154 Missing @return tag in function comment
warning 157 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 158 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 3 spaces
error 175 Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
error 177 Expected "} else if (...) {\n"; found "}else if (...)\n {\n"
error 177 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 178 Line exceeds 85 characters; contains 87 characters
error 183 Expected "} elseif (...) {\n"; found "}elseif (...) {\n"
error 196 Last parameter comment requires a blank newline after it
warning 203 Line exceeds 85 characters; contains 96 characters
error 216 Last parameter comment requires a blank newline after it
error 229 Doc comment for "$sysname" missing
error 233 Missing @return tag in function comment
warning 260 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 262 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 4 spaces
warning 263 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 264 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 8 spaces
warning 265 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 266 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 267 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 7 spaces
warning 268 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 8 spaces
warning 269 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
error 271 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 272 Expected "if (...) {\n"; found "if(...) {\n"
error 272 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 272 Line exceeds 85 characters; contains 146 characters
warning 273 Line exceeds 85 characters; contains 90 characters
error 274 Closing brace indented incorrectly; expected 12 spaces, found 13
error 280 Line indented incorrectly; expected 12 spaces, found 13
error 283 Line indented incorrectly; expected 16 spaces, found 17
error 286 Line indented incorrectly; expected 16 spaces, found 17
warning 290 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 292 Break statement indented incorrectly; expected 12 spaces, found 13
warning 295 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 297 Break statement indented incorrectly; expected 12 spaces, found 13
warning 300 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 302 Break statement indented incorrectly; expected 12 spaces, found 13
warning 305 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 307 Break statement indented incorrectly; expected 12 spaces, found 13
warning 310 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 312 Break statement indented incorrectly; expected 12 spaces, found 13
warning 315 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 317 Break statement indented incorrectly; expected 12 spaces, found 13
warning 320 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 323 Break statement indented incorrectly; expected 12 spaces, found 13
warning 326 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 329 Break statement indented incorrectly; expected 12 spaces, found 13
warning 332 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 335 Break statement indented incorrectly; expected 12 spaces, found 13
warning 338 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 340 Break statement indented incorrectly; expected 12 spaces, found 13
warning 343 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 345 Break statement indented incorrectly; expected 12 spaces, found 13
warning 348 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 353 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 355 Break statement indented incorrectly; expected 12 spaces, found 13
error 363 Last parameter comment requires a blank newline after it
error 363 Expected 1 space before variable type
error 363 Expected 1 space after the longest type
error 363 Expected 1 space after the longest variable name
error 370 Expected "if (...) {\n"; found "if(...) {\n"
warning 375 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 390 Line exceeds 85 characters; contains 90 characters
error 392 Expected "} else {\n"; found "}\n else {\n"
error 406 Last parameter comment requires a blank newline after it
error 406 The variable names for parameters $host (1) and $severely (2) do not align
error 406 The comments for parameters $host (1) and $severely (2) do not align
error 413 Line indented incorrectly; expected at least 8 spaces, found 5
error 413 Spaces must be used to indent lines; tabs are not allowed
error 414 Spaces must be used to indent lines; tabs are not allowed
error 420 Space before closing parenthesis of function call prohibited
error 448 Last parameter comment requires a blank newline after it
error 471 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 484 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 485 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 508 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 509 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 512 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 517 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 527 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 536 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 557 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 560 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 565 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 566 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 569 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 575 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 578 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 587 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 587 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 588 Invalid version "$Revision: 1.48 $" in doc comment; consider "Release: " instead
error 588 The @version tag is in the wrong order; the tag follows @licence
error 588 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 589 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 591 Missing @category tag in class comment
error 591 Missing @license tag in class comment
error 591 Missing @link tag in class comment
error 659 Doc comment for "$result" missing
error 659 Doc comment for "$sysname" missing
warning 671 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 680 Parameters must appear immediately after the comment
error 681 The variable names for parameters $result (1) and $sysname (2) do not align
error 681 The comments for parameters $result (1) and $sysname (2) do not align
error 682 Missing @return tag in function comment
error 692 Missing @return tag in function comment
error 734 Doc comment for "$upper" missing
error 738 Missing @return tag in function comment
error 773 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 776 Doc comment for "$upper" missing
error 783 Missing @return tag in function comment
warning 808 Line exceeds 85 characters; contains 87 characters
error 811 Expected "} else {\n"; found "}\n else {\n"
error 821 Doc comment for "$lower" missing
error 825 Missing @return tag in function comment
error 836 Doc comment for "$lower" missing
error 840 Missing @return tag in function comment
error 852 Doc comment for "$lower" missing
error 857 Missing @return tag in function comment
error 891 Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
error 894 Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
error 897 Expected "} else if (...) {\n"; found "}\n else if (...) { # stddev or mdev\n"
error 897 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 924 Doc comment for "$upper" missing
error 928 Missing @return tag in function comment
error 941 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 944 Doc comment for "$lower" missing
error 948 Missing @return tag in function comment
error 960 Doc comment for "$upper" missing
error 964 Missing @return tag in function comment
error 978 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 981 Doc comment for "$data" missing
error 985 Missing @return tag in function comment
error 988 Line indented incorrectly; expected 8 spaces, found 0
error 989 Line indented incorrectly; expected at least 12 spaces, found 0
error 990 Line indented incorrectly; expected at least 12 spaces, found 0
error 1002 Doc comment for "$data" missing
error 1002 Doc comment for "$upper" missing
error 1002 Doc comment for "$lower" missing
error 1008 Missing @return tag in function comment
error 1043 Last parameter comment requires a blank newline after it
error 1061 Line indented incorrectly; expected at least 8 spaces, found 5
error 1061 Spaces must be used to indent lines; tabs are not allowed
error 1073 Line indented incorrectly; expected at least 8 spaces, found 5
error 1073 Spaces must be used to indent lines; tabs are not allowed
error 1085 Line indented incorrectly; expected at least 8 spaces, found 5
error 1085 Spaces must be used to indent lines; tabs are not allowed
error 1097 Line indented incorrectly; expected at least 8 spaces, found 5
error 1097 Spaces must be used to indent lines; tabs are not allowed
error 1109 Line indented incorrectly; expected at least 8 spaces, found 5
error 1109 Spaces must be used to indent lines; tabs are not allowed
error 1121 Line indented incorrectly; expected at least 8 spaces, found 5
error 1121 Spaces must be used to indent lines; tabs are not allowed
error 1133 Line indented incorrectly; expected at least 8 spaces, found 5
error 1133 Spaces must be used to indent lines; tabs are not allowed
error 1145 Line indented incorrectly; expected at least 8 spaces, found 5
error 1145 Spaces must be used to indent lines; tabs are not allowed
error 1157 Line indented incorrectly; expected at least 8 spaces, found 5
error 1157 Spaces must be used to indent lines; tabs are not allowed
error 1169 Line indented incorrectly; expected at least 8 spaces, found 5
error 1169 Spaces must be used to indent lines; tabs are not allowed
error 1181 Line indented incorrectly; expected at least 8 spaces, found 5
error 1181 Spaces must be used to indent lines; tabs are not allowed
error 1193 Line indented incorrectly; expected at least 8 spaces, found 5
error 1193 Spaces must be used to indent lines; tabs are not allowed
error 1204 Line indented incorrectly; expected at least 8 spaces, found 5
error 1204 Spaces must be used to indent lines; tabs are not allowed
error 1215 Line indented incorrectly; expected at least 8 spaces, found 5
error 1215 Spaces must be used to indent lines; tabs are not allowed
error 1226 Line indented incorrectly; expected at least 8 spaces, found 5
error 1226 Spaces must be used to indent lines; tabs are not allowed
Sum 161 errors and 41 warnings