Coding Standards Report for HTTP_Download

Type Line Message
Package 219 errors and 19 warnings
/data/pear/pear/HTTP_Download/Download/Archive.php
error 9 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 10 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 11 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 12 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 13 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 14 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
warning 34 Invalid version "$Revision: 1.4 $" in doc comment; consider "Release: " instead
error 34 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 35 Missing @category tag in class comment
error 35 Missing @package tag in class comment
error 35 Missing @author tag in class comment
error 35 Missing @license tag in class comment
error 35 Missing @link tag in class comment
error 57 Parameters must appear immediately after the comment
error 57 Expected 1 space before variable type
error 57 Expected 1 space after the longest type
error 58 Expected 1 space before variable type
error 59 Expected 1 space before variable type
error 60 Expected 1 space before variable type
error 61 Expected 1 space before variable type
warning 63 Line exceeds 85 characters; contains 93 characters
error 69 Line indented incorrectly; expected 8 spaces, found 12
warning 71 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 73 Break statement indented incorrectly; expected 16 spaces, found 12
error 75 Line indented incorrectly; expected 8 spaces, found 12
warning 77 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 79 Break statement indented incorrectly; expected 16 spaces, found 12
error 81 Line indented incorrectly; expected 8 spaces, found 12
warning 83 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 85 Break statement indented incorrectly; expected 16 spaces, found 12
error 87 Line indented incorrectly; expected 8 spaces, found 12
warning 89 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 91 Break statement indented incorrectly; expected 16 spaces, found 12
error 93 Line indented incorrectly; expected 8 spaces, found 12
error 94 Space after opening parenthesis of function call prohibited
error 97 Space before closing parenthesis of function call prohibited
error 98 Closing brace indented incorrectly; expected 12 spaces, found 8
Sum 32 errors and 6 warnings
/data/pear/pear/HTTP_Download/Download/PgLOB.php
error 9 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 10 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 11 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 12 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 13 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 14 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
warning 37 Invalid version "$Revision: 1.14 $" in doc comment; consider "Release: " instead
error 38 Missing @category tag in class comment
error 38 Missing @package tag in class comment
error 38 Missing @author tag in class comment
error 38 Missing @license tag in class comment
error 38 Missing @link tag in class comment
error 47 Parameters must appear immediately after the comment
error 47 Expected 1 space before variable type
error 47 Missing comment for param "$conn" at position 1
error 84 Parameters must appear immediately after the comment
error 84 Expected 1 space before variable type
error 84 Missing comment for param "$conn" at position 1
error 85 Expected 1 space before variable type
error 85 Missing comment for param "$loid" at position 2
error 86 Expected 1 space before variable type
error 86 Missing comment for param "$mode" at position 3
warning 98 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 99 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 100 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 103 You must use "/**" style comments for a function comment
error 103 Method name "HTTP_Download_PgLOB::stream_open" is not in camel caps format
error 130 You must use "/**" style comments for a function comment
error 130 Method name "HTTP_Download_PgLOB::stream_read" is not in camel caps format
error 135 Missing function doc comment
error 135 Method name "HTTP_Download_PgLOB::stream_seek" is not in camel caps format
error 140 Missing function doc comment
error 140 Method name "HTTP_Download_PgLOB::stream_tell" is not in camel caps format
error 145 Missing function doc comment
error 145 Method name "HTTP_Download_PgLOB::stream_eof" is not in camel caps format
error 150 Missing function doc comment
error 150 Method name "HTTP_Download_PgLOB::stream_flush" is not in camel caps format
error 155 Missing function doc comment
error 155 Method name "HTTP_Download_PgLOB::stream_stat" is not in camel caps format
error 160 Missing function doc comment
error 160 Method name "HTTP_Download_PgLOB::stream_write" is not in camel caps format
error 165 Missing function doc comment
error 165 Method name "HTTP_Download_PgLOB::stream_close" is not in camel caps format
error 170 Space found before comma in function call
error 170 No space found after comma in function call
Sum 42 errors and 4 warnings
/data/pear/pear/HTTP_Download/Download.php
error 9 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 10 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 11 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 12 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 13 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 14 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 64 Expected 1 space after comma in function call; 10 found
error 65 Expected 1 space after comma in function call; 11 found
error 66 Expected 1 space after comma in function call; 9 found
error 67 Expected 1 space after comma in function call; 10 found
error 68 Expected 1 space after comma in function call; 9 found
error 69 Expected 1 space after comma in function call; 6 found
error 70 Expected 1 space after comma in function call; 7 found
error 71 Expected 1 space after comma in function call; 2 found
error 72 Expected 1 space after comma in function call; 2 found
warning 89 Invalid version "$Revision: 1.79 $" in doc comment; consider "Release: " instead
error 89 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 90 Missing @category tag in class comment
error 90 Missing @package tag in class comment
error 90 Missing @author tag in class comment
error 90 Missing @license tag in class comment
error 90 Missing @link tag in class comment
warning 159 Equals sign not aligned correctly; expected 1 space but found 3 spaces
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 256 Parameters must appear immediately after the comment
error 256 Expected 1 space before variable type
error 256 Expected 1 space after the longest type
error 256 Expected 1 space after the longest variable name
error 262 Expected "foreach (...) {\n"; found "foreach(...){\n"
error 266 Space after opening parenthesis of function call prohibited
error 269 Space before closing parenthesis of function call prohibited
error 290 Parameters must appear immediately after the comment
error 290 Expected 1 space before variable type
error 290 Expected 1 space after the longest type
error 291 Expected 1 space before variable type
error 291 Expected 1 space after the longest variable name
error 301 Space after opening parenthesis of function call prohibited
error 304 Space before closing parenthesis of function call prohibited
error 319 Parameters must appear immediately after the comment
error 319 Expected 1 space before variable type
error 319 Doc comment var "raw" does not match actual variable name "$data" at position 1
error 319 Expected 1 space after the longest type
error 336 Parameters must appear immediately after the comment
error 336 Expected 1 space before variable type
error 336 Expected 1 space after the longest type
error 336 Expected 1 space after the longest variable name
warning 342 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 353 Space after opening parenthesis of function call prohibited
error 356 Space before closing parenthesis of function call prohibited
error 367 Parameters must appear immediately after the comment
error 367 Expected 1 space before variable type
error 367 Expected 1 space after the longest type
error 367 Expected 1 space after the longest variable name
error 371 Expected "if (...) {\n"; found "if (...){\n"
error 372 Space after opening parenthesis of function call prohibited
error 375 Space before closing parenthesis of function call prohibited
error 392 Parameters must appear immediately after the comment
error 392 Expected 1 space before variable type
error 392 Expected 1 space after the longest type
error 392 Expected 1 space after the longest variable name
error 407 Parameters must appear immediately after the comment
error 407 Expected 1 space before variable type
error 407 Expected 1 space after the longest type
error 408 Expected 1 space before variable type
error 414 Line indented incorrectly; expected 8 spaces, found 12
error 415 Line indented incorrectly; expected 8 spaces, found 12
error 419 Break statement indented incorrectly; expected 16 spaces, found 12
error 419 Break statement indented incorrectly; expected 16 spaces, found 12
error 432 Parameters must appear immediately after the comment
error 432 Expected 1 space before variable type
error 432 Expected 1 space after the longest type
error 453 Parameters must appear immediately after the comment
error 453 Expected 1 space before variable type
error 453 Expected 1 space after the longest type
error 458 Space after opening parenthesis of function call prohibited
error 487 Parameters must appear immediately after the comment
error 487 Expected 1 space before variable type
error 487 Expected 1 space after the longest type
error 487 Expected 1 space after the longest variable name
error 505 Parameters must appear immediately after the comment
error 505 Expected 1 space before variable type
error 505 Doc comment var "unix" does not match actual variable name "$last_modified" at position 1
error 505 Expected 1 space after the longest type
error 519 Parameters must appear immediately after the comment
error 519 Expected 1 space before variable type
error 519 Expected 1 space after the longest type
error 519 Expected 1 space after the longest variable name
error 521 Expected 1 space before variable type
error 553 Parameters must appear immediately after the comment
error 553 Expected 1 space before variable type
error 553 Expected 1 space after the longest type
error 553 Expected 1 space after the longest variable name
error 558 Space after opening parenthesis of function call prohibited
error 561 Space before closing parenthesis of function call prohibited
error 595 Space after opening parenthesis of function call prohibited
error 598 Space before closing parenthesis of function call prohibited
error 601 Space after opening parenthesis of function call prohibited
error 604 Space before closing parenthesis of function call prohibited
error 607 Space after opening parenthesis of function call prohibited
error 610 Space before closing parenthesis of function call prohibited
error 624 Parameters must appear immediately after the comment
error 624 Expected 1 space before variable type
error 624 Expected 1 space after the longest type
error 630 Space after opening parenthesis of function call prohibited
error 633 Space before closing parenthesis of function call prohibited
error 657 Spaces must be used to indent lines; tabs are not allowed
warning 657 Inline control structures are discouraged
error 699 Parameters must appear immediately after the comment
error 699 Expected 1 space before variable type
error 699 Expected 1 space after the longest type
error 699 Expected 1 space after the longest variable name
error 700 Expected 1 space before variable type
error 739 Parameters must appear immediately after the comment
error 739 Expected 1 space before variable type
error 739 Expected 1 space after the longest type
error 740 Expected 1 space before variable type
error 741 Expected 1 space before variable type
error 742 Expected 1 space before variable type
error 743 Expected 1 space before variable type
error 751 File is being conditionally included; use "include_once" instead
error 784 Parameters must appear immediately after the comment
error 784 Expected 1 space before variable type
error 784 Missing comment for param "$chunks" at position 1
warning 792 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 793 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
error 797 Expected "foreach (...) {\n"; found "foreach (...){\n"
error 802 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 811 Parameters must appear immediately after the comment
error 811 Expected 1 space before variable type
error 811 Expected 1 space after the longest variable name
error 812 Expected 1 space before variable type
error 812 Expected 1 space after the longest type
error 813 Expected 1 space before variable type
warning 818 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
error 821 Space after opening parenthesis of function call prohibited
error 824 Space before closing parenthesis of function call prohibited
warning 836 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 848 Line exceeds 85 characters; contains 88 characters
error 875 Expected "foreach (...) {\n"; found "foreach (...){\n"
error 925 Space after opening parenthesis of function call prohibited
error 969 Parameters must appear immediately after the comment
error 969 Expected 1 space before variable type
error 969 Doc comment var "key" does not match actual variable name "$svar" at position 1
error 969 Expected 1 space after the longest type
error 970 Expected 1 space before variable type
error 970 The comments for parameters key (1) and string (2) do not align
error 970 Doc comment var "string" does not match actual variable name "$compare" at position 2
error 1008 Parameters must appear immediately after the comment
error 1008 Expected 1 space before variable type
error 1008 Missing comment for param "$data" at position 1
Sum 145 errors and 9 warnings