Coding Standards Report for Net_POP3

Type Line Message
Package 233 errors and 39 warnings
/data/pear/pear/Net_POP3/Net/POP3.php
error 2 You must use "/**" style comments for a file comment
error 54 Expected 1 space after comma in function call; 2 found
error 56 Expected 1 space after comma in function call; 3 found
error 58 Missing class doc comment
warning 123 Line exceeds 85 characters; contains 100 characters
warning 125 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 134 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 145 Line indented incorrectly; expected at least 4 spaces, found 3
error 163 Expected "if (...) {\n"; found "if (...){\n"
error 178 Doc comment for "$msg" missing
error 178 Doc comment for "$code" missing
error 198 Expected 1 space before variable type
error 199 Last parameter comment requires a blank newline after it
error 199 Expected 1 space before variable type
error 211 Expected "if (...) {\n"; found "if(...){\n"
error 212 Line indented incorrectly; expected at least 16 spaces, found 12
error 213 Line indented incorrectly; expected at least 16 spaces, found 0
error 248 Expected 1 space before variable type
error 249 Expected 1 space before variable type
warning 250 Line exceeds 85 characters; contains 162 characters
error 250 Last parameter comment requires a blank newline after it
error 250 Expected 1 space before variable type
error 250 The variable names for parameters $pass (2) and $apop (3) do not align
warning 251 Line exceeds 85 characters; contains 87 characters
error 258 Expected "if (...) {\n"; found "if (...){\n"
error 258 Expected 1 space before = sign of default value
error 267 Space found before comma in function call
error 277 Missing @return tag in function comment
error 281 Expected "if (...) {\n"; found "if(...){\n"
error 283 Expected "} else {\n"; found "}else {\n"
warning 292 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
error 297 Line indented incorrectly; expected 16 spaces, found 20
error 300 Line indented incorrectly; expected 16 spaces, found 20
warning 301 Line exceeds 85 characters; contains 86 characters
error 303 Line indented incorrectly; expected 16 spaces, found 20
error 317 Doc comment var "if" does not match actual variable name "$userMethod" at position 1
error 327 Line indented incorrectly; expected at least 8 spaces, found 0
error 328 Line indented incorrectly; expected at least 8 spaces, found 7
error 329 Line indented incorrectly; expected at least 8 spaces, found 7
error 330 Line indented incorrectly; expected at least 8 spaces, found 7
error 331 Line indented incorrectly; expected at least 8 spaces, found 7
error 332 Line indented incorrectly; expected at least 8 spaces, found 0
error 338 Expected "if (...) {\n"; found "if (...){\n"
error 338 Line indented incorrectly; expected 8 spaces, found 7
error 339 Line indented incorrectly; expected at least 12 spaces, found 11
warning 339 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 340 Line indented incorrectly; expected 8 spaces, found 7
warning 341 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 343 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 350 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 365 Space before closing parenthesis of function call prohibited
error 365 Space found before comma in function call
warning 365 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 366 Space found before comma in function call
error 366 No space found after comma in function call
warning 366 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces
warning 367 Line exceeds 85 characters; contains 100 characters
error 382 Doc comment var "The" does not match actual variable name "$uid" at position 1
error 383 Doc comment var "The" does not match actual variable name "$pwd" at position 2
warning 384 Line exceeds 85 characters; contains 129 characters
error 384 Doc comment var "The" does not match actual variable name "$userMethod" at position 3
error 398 Space after opening parenthesis of function call prohibited
error 400 Space before closing parenthesis of function call prohibited
error 404 Line indented incorrectly; expected 8 spaces, found 12
error 405 Space after opening parenthesis of function call prohibited
error 405 Space found before comma in function call
error 405 Space before closing parenthesis of function call prohibited
error 407 Line indented incorrectly; expected 8 spaces, found 12
error 408 Space after opening parenthesis of function call prohibited
error 408 Space found before comma in function call
error 408 Space before closing parenthesis of function call prohibited
error 410 Line indented incorrectly; expected 8 spaces, found 12
error 411 Space after opening parenthesis of function call prohibited
error 411 Space found before comma in function call
error 411 Space before closing parenthesis of function call prohibited
error 413 Line indented incorrectly; expected 8 spaces, found 12
error 414 Space after opening parenthesis of function call prohibited
error 414 Space found before comma in function call
error 414 Space before closing parenthesis of function call prohibited
error 416 Line indented incorrectly; expected 8 spaces, found 12
error 417 Space after opening parenthesis of function call prohibited
error 417 Space found before comma in function call
error 417 Space before closing parenthesis of function call prohibited
error 419 Expected "if (...) {\n"; found "if (...){\n"
error 419 Line indented incorrectly; expected 12 spaces, found 16
error 421 Space after opening parenthesis of function call prohibited
error 421 Space found before comma in function call
error 421 Space before closing parenthesis of function call prohibited
warning 421 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 424 Line indented incorrectly; expected 8 spaces, found 12
error 425 Space after opening parenthesis of function call prohibited
error 425 Space found before comma in function call
error 425 Space before closing parenthesis of function call prohibited
error 426 Break statement indented incorrectly; expected 16 spaces, found 12
error 429 Line indented incorrectly; expected 8 spaces, found 12
error 430 Space after opening parenthesis of function call prohibited
error 430 Space before closing parenthesis of function call prohibited
warning 430 Line exceeds 85 characters; contains 99 characters
error 442 Doc comment var "The" does not match actual variable name "$user" at position 1
error 443 Doc comment var "The" does not match actual variable name "$pass" at position 2
error 452 Expected "if (...) {\n"; found "if (...){\n"
error 452 Space before closing parenthesis of function call prohibited
error 452 Expected 1 space before = sign of default value
error 452 Expected 1 space after = sign of default value
error 455 Expected "if (...) {\n"; found "if (...){\n"
error 455 Space before closing parenthesis of function call prohibited
error 455 Expected 1 space before = sign of default value
error 455 Expected 1 space after = sign of default value
error 466 Doc comment var "The" does not match actual variable name "$user" at position 1
error 467 Doc comment var "The" does not match actual variable name "$pass" at position 2
error 476 Space before closing parenthesis of function call prohibited
error 476 Space after opening parenthesis of function call prohibited
error 476 Space before closing parenthesis of function call prohibited
warning 476 Line exceeds 85 characters; contains 89 characters
warning 476 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 478 Space after opening parenthesis of function call prohibited
error 478 Space before closing parenthesis of function call prohibited
error 481 Expected "if (...) {\n"; found "if (...){\n"
error 481 Space after opening parenthesis of function call prohibited
error 481 Space before closing parenthesis of function call prohibited
error 484 Expected "if (...) {\n"; found "if(...){\n"
error 484 Space before closing parenthesis of function call prohibited
error 484 Expected 1 space before = sign of default value
error 484 Expected 1 space after = sign of default value
error 496 Doc comment var "The" does not match actual variable name "$user" at position 1
error 497 Doc comment var "The" does not match actual variable name "$pass" at position 2
error 508 Space after opening parenthesis of function call prohibited
error 508 Space before closing parenthesis of function call prohibited
error 511 Expected "if (...) {\n"; found "if(...){\n"
error 511 Space before closing parenthesis of function call prohibited
error 511 Expected 1 space before = sign of default value
error 511 Expected 1 space after = sign of default value
error 516 Space after opening parenthesis of function call prohibited
error 516 Space before closing parenthesis of function call prohibited
warning 516 Line exceeds 85 characters; contains 90 characters
error 520 Space after opening parenthesis of function call prohibited
error 520 Space before closing parenthesis of function call prohibited
error 523 Expected "if (...) {\n"; found "if(...){\n"
error 523 Space before closing parenthesis of function call prohibited
error 523 Expected 1 space before = sign of default value
error 523 Expected 1 space after = sign of default value
error 527 Space after opening parenthesis of function call prohibited
error 527 Space before closing parenthesis of function call prohibited
warning 527 Line exceeds 85 characters; contains 90 characters
error 531 Space after opening parenthesis of function call prohibited
error 531 Space before closing parenthesis of function call prohibited
error 542 Doc comment var "The" does not match actual variable name "$uid" at position 1
error 543 Doc comment var "The" does not match actual variable name "$pwd" at position 2
error 550 Method name "Net_POP3::_authCRAM_MD5" is not in camel caps format
error 559 Expected 1 space before = sign of default value
error 559 Expected 1 space after = sign of default value
error 565 No space found after comma in function call
warning 565 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 569 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 570 Space found before comma in function call
error 570 Space found before comma in function call
error 588 Doc comment var "The" does not match actual variable name "$uid" at position 1
error 589 Doc comment var "The" does not match actual variable name "$pwd" at position 2
error 590 Superfluous doc comment at position 3
error 597 Method name "Net_POP3::_authDigest_MD5" is not in camel caps format
error 599 Space after opening parenthesis of function call prohibited
error 599 Space before closing parenthesis of function call prohibited
error 599 Space after opening parenthesis of function call prohibited
error 599 Space before closing parenthesis of function call prohibited
error 603 Space after opening parenthesis of function call prohibited
error 603 Space before closing parenthesis of function call prohibited
error 606 Expected "if (...) {\n"; found "if(...){\n"
error 606 Space before closing parenthesis of function call prohibited
error 606 Expected 1 space before = sign of default value
error 606 Expected 1 space after = sign of default value
error 611 No space found after comma in function call
warning 611 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 613 Space after opening parenthesis of function call prohibited
error 613 Space before closing parenthesis of function call prohibited
warning 614 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 615 Space before closing parenthesis of function call prohibited
warning 615 Line exceeds 85 characters; contains 102 characters
warning 615 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 617 Space before closing parenthesis of function call prohibited
error 617 Space after opening parenthesis of function call prohibited
error 617 Space before closing parenthesis of function call prohibited
error 621 Space after opening parenthesis of function call prohibited
error 621 Space before closing parenthesis of function call prohibited
error 624 Expected "if (...) {\n"; found "if(...){\n"
error 624 Space before closing parenthesis of function call prohibited
error 624 Expected 1 space before = sign of default value
error 624 Expected 1 space after = sign of default value
error 632 Space after opening parenthesis of function call prohibited
error 632 Space before closing parenthesis of function call prohibited
error 636 Space after opening parenthesis of function call prohibited
error 636 Space before closing parenthesis of function call prohibited
error 648 Expected 1 space before variable type
error 648 Doc comment var "Username" does not match actual variable name "$user" at position 1
error 649 Last parameter comment requires a blank newline after it
error 649 Expected 1 space before variable type
error 649 Doc comment var "Password" does not match actual variable name "$pass" at position 2
error 657 Expected "if (...) {\n"; found "if(...){\n"
error 657 Space before closing parenthesis of function call prohibited
warning 657 Line exceeds 85 characters; contains 117 characters
error 672 Last parameter comment requires a blank newline after it
error 672 Expected 1 space before variable type
error 691 Last parameter comment requires a blank newline after it
error 691 Expected 1 space before variable type
warning 700 Line exceeds 85 characters; contains 93 characters
warning 704 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
error 723 Last parameter comment requires a blank newline after it
error 723 Expected 1 space before variable type
error 739 Last parameter comment requires a blank newline after it
error 739 Expected 1 space before variable type
error 793 Last parameter comment requires a blank newline after it
error 793 Expected 1 space before variable type
error 809 Last parameter comment requires a blank newline after it
error 809 Expected 1 space before variable type
error 816 Expected "if (...) {\n"; found "if (...){\n"
warning 818 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 826 Expected "} else {\n"; found "}else{\n"
warning 830 Line exceeds 85 characters; contains 92 characters
error 844 Last parameter comment requires a blank newline after it
error 844 Expected 1 space before variable type
error 860 Last parameter comment requires a blank newline after it
error 860 Expected 1 space before variable type
error 882 Expected "if (...) {\n"; found "if(...){\n"
error 898 Last parameter comment requires a blank newline after it
error 898 Expected 1 space before variable type
warning 904 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 907 Expected "if (...) {\n"; found "if(...){\n"
error 907 Space before closing parenthesis of function call prohibited
error 911 Expected "if (...) {\n"; found "if(...){\n"
error 919 Expected "if (...) {\n"; found "if(...){\n"
error 920 Expected "if (...) {\n"; found "if(...){\n"
error 938 Last parameter comment requires a blank newline after it
error 938 Expected 1 space before variable type
error 944 Expected "if (...) {\n"; found "if(...){\n"
error 944 Space before closing parenthesis of function call prohibited
error 958 Last parameter comment requires a blank newline after it
error 958 Expected 1 space before variable type
error 980 Expected "if (...) {\n"; found "if(...){\n"
error 998 Expected "if (...) {\n"; found "if(...){\n"
warning 1015 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 1027 Expected 1 space before variable type
error 1027 Expected 1 space after the longest type
error 1028 Last parameter comment requires a blank newline after it
error 1028 Expected 1 space before variable type
error 1035 Expected "if (...) {\n"; found "if(...){\n"
warning 1035 Line exceeds 85 characters; contains 93 characters
error 1048 Last parameter comment requires a blank newline after it
error 1048 Expected 1 space before variable type
error 1056 Expected "if (...) {\n"; found "if(...){\n"
error 1056 Space before closing parenthesis of function call prohibited
error 1084 Last parameter comment requires a blank newline after it
error 1084 Expected 1 space before variable type
error 1084 Expected 1 space after the longest variable name
error 1089 Expected "if (...) {\n"; found "if (...){\n"
error 1089 Space before closing parenthesis of function call prohibited
error 1093 Expected "if (...) {\n"; found "if (...){\n"
error 1093 Space before closing parenthesis of function call prohibited
error 1115 Expected "while (...) {\n"; found "while(...) {\n"
error 1115 Space before closing parenthesis of function call prohibited
error 1116 Expected "if (...) {\n"; found "if(...){\n"
error 1132 Last parameter comment requires a blank newline after it
error 1132 Expected 1 space before variable type
error 1132 Missing comment for param "$debug" at position 1
warning 1138 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 1146 Expected 1 space before variable type
error 1146 Expected 1 space after the longest type
error 1146 Expected 1 space after the longest variable name
warning 1160 Line exceeds 85 characters; contains 92 characters
warning 1170 Line exceeds 85 characters; contains 87 characters
warning 1178 Line exceeds 85 characters; contains 102 characters
error 1192 Last parameter comment requires a blank newline after it
error 1192 Expected 1 space before variable type
Sum 233 errors and 39 warnings