Coding Standards Report for Cache_Lite

Type Line Message
Package 110 errors and 64 warnings
/data/pear/pear/Cache_Lite/Lite.php
error 20 The @package tag is in the wrong order; the tag follows @category
error 20 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 22 Invalid version "$Id: Lite.php,v 1.51 2008/06/08 08:46:22 tacker Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 22 The @version tag is in the wrong order; the tag follows @licence
error 22 @version tag comment indented incorrectly. Expected 2 spaces but found 1.
error 23 @author tag comment indented incorrectly. Expected 3 spaces but found 1.
warning 24 PHP version not specified
error 24 Missing @license tag in file comment
error 24 Missing @link tag in file comment
error 29 Missing class doc comment
warning 91 Line exceeds 85 characters; contains 101 characters
warning 93 Line exceeds 85 characters; contains 88 characters
warning 94 Line exceeds 85 characters; contains 92 characters
warning 103 Line exceeds 85 characters; contains 94 characters
warning 264 Line exceeds 85 characters; contains 86 characters
warning 265 Line exceeds 85 characters; contains 93 characters
warning 268 Line exceeds 85 characters; contains 88 characters
warning 269 Line exceeds 85 characters; contains 92 characters
warning 270 Line exceeds 85 characters; contains 89 characters
warning 271 Line exceeds 85 characters; contains 88 characters
error 277 Last parameter comment requires a blank newline after it
error 280 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 282 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 287 Doc comment for "$name" missing
error 287 Doc comment for "$value" missing
error 295 Missing @return tag in function comment
warning 298 Line exceeds 85 characters; contains 359 characters
warning 300 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 309 The comments for parameters $id (1) and $group (2) do not align
warning 310 Line exceeds 85 characters; contains 95 characters
error 310 Last parameter comment requires a blank newline after it
error 310 The variable names for parameters $group (2) and $doNotTestCacheValidity (3) do not align
error 310 The comments for parameters $group (2) and $doNotTestCacheValidity (3) do not align
warning 316 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 318 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 339 Line exceeds 85 characters; contains 102 characters
warning 357 Line exceeds 85 characters; contains 113 characters
error 358 The comments for parameters $data (1) and $id (2) do not align
error 359 Last parameter comment requires a blank newline after it
error 359 The comments for parameters $id (2) and $group (3) do not align
error 363 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 412 The comments for parameters $id (1) and $group (2) do not align
error 413 Last parameter comment requires a blank newline after it
error 413 The variable names for parameters $group (2) and $checkbeforeunlink (3) do not align
error 413 The comments for parameters $group (2) and $checkbeforeunlink (3) do not align
warning 430 Inline control structures are discouraged
error 442 Last parameter comment requires a blank newline after it
error 442 The comments for parameters $group (1) and $mode (2) do not align
error 459 Missing @return tag in function comment
error 468 Last parameter comment requires a blank newline after it
error 470 Missing @return tag in function comment
error 481 Last parameter comment requires a blank newline after it
error 481 The comments for parameters $id (1) and $group (2) do not align
error 483 Missing @return tag in function comment
warning 491 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 500 The comments for parameters $id (1) and $group (2) do not align
warning 501 Line exceeds 85 characters; contains 95 characters
error 501 Last parameter comment requires a blank newline after it
error 501 The variable names for parameters $group (2) and $doNotTestCacheValidity (3) do not align
error 501 The comments for parameters $group (2) and $doNotTestCacheValidity (3) do not align
error 503 Missing @return tag in function comment
warning 504 Line exceeds 85 characters; contains 92 characters
warning 508 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
warning 510 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 535 Last parameter comment requires a blank newline after it
error 535 The variable names for parameters $msg (1) and $code (2) do not align
error 535 The comments for parameters $msg (1) and $code (2) do not align
error 537 Missing @return tag in function comment
error 540 "include_once" is a statement, not a function; no parentheses are required
error 550 Missing @return tag in function comment
error 562 Missing @return tag in function comment
error 575 Last parameter comment requires a blank newline after it
error 591 The comments for parameters $dir (1) and $group (2) do not align
error 592 Last parameter comment requires a blank newline after it
error 592 The comments for parameters $group (2) and $mode (3) do not align
error 605 Spaces must be used to indent lines; tabs are not allowed
error 605 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 605 Line indented incorrectly; expected 12 spaces, found 5
error 610 Closing brace indented incorrectly; expected 5 spaces, found 12
warning 616 Line exceeds 85 characters; contains 90 characters
error 625 Line indented incorrectly; expected 24 spaces, found 28
error 627 Line indented incorrectly; expected 28 spaces, found 32
error 628 Line indented incorrectly; expected 32 spaces, found 36
warning 628 Line exceeds 85 characters; contains 93 characters
warning 629 Line exceeds 85 characters; contains 89 characters
error 633 Line indented incorrectly; expected 24 spaces, found 28
error 634 Line indented incorrectly; expected 28 spaces, found 32
error 638 Line indented incorrectly; expected 24 spaces, found 28
error 640 Line indented incorrectly; expected 28 spaces, found 32
error 644 Line indented incorrectly; expected 24 spaces, found 28
error 645 Line indented incorrectly; expected 24 spaces, found 28
error 646 Line indented incorrectly; expected 28 spaces, found 32
warning 653 Line exceeds 85 characters; contains 96 characters
error 664 Last parameter comment requires a blank newline after it
error 666 Missing @return tag in function comment
error 682 Last parameter comment requires a blank newline after it
error 682 The comments for parameters $id (1) and $group (2) do not align
error 684 Missing @return tag in function comment
warning 701 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 713 Inline control structures are discouraged
warning 717 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 721 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 729 Inline control structures are discouraged
error 750 Last parameter comment requires a blank newline after it
warning 768 Inline control structures are discouraged
warning 776 Inline control structures are discouraged
warning 780 Line exceeds 85 characters; contains 96 characters
warning 784 Line exceeds 85 characters; contains 103 characters
error 786 Last parameter comment requires a blank newline after it
error 794 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 798 Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
error 810 Last parameter comment requires a blank newline after it
error 810 The comments for parameters $data (1) and $controlType (2) do not align
warning 824 Line exceeds 85 characters; contains 125 characters
Sum 75 errors and 39 warnings
/data/pear/pear/Cache_Lite/Lite/File.php
warning 14 Invalid version "$Id: File.php,v 1.3 2005/12/04 16:03:55 fab Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 14 The @version tag is in the wrong order; the tag follows @licence
error 15 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 16 PHP version not specified
error 16 Missing @category tag in file comment
error 16 Missing @license tag in file comment
error 16 Missing @link tag in file comment
error 18 "require_once" is a statement, not a function; no parentheses are required
error 20 Missing class doc comment
warning 50 Line exceeds 85 characters; contains 99 characters
error 53 Last parameter comment requires a blank newline after it
error 56 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 63 Line exceeds 85 characters; contains 90 characters
warning 66 Line exceeds 85 characters; contains 110 characters
error 74 Last parameter comment requires a blank newline after it
error 74 The comments for parameters $id (1) and $group (2) do not align
Sum 11 errors and 5 warnings
/data/pear/pear/Cache_Lite/Lite/Function.php
warning 4 Line exceeds 85 characters; contains 99 characters
warning 14 Invalid version "$Id: Function.php,v 1.11 2006/12/14 12:59:43 cweiske Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 14 The @version tag is in the wrong order; the tag follows @licence
error 15 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
error 16 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 17 PHP version not specified
error 17 Missing @category tag in file comment
error 17 Missing @license tag in file comment
error 17 Missing @link tag in file comment
error 19 "require_once" is a statement, not a function; no parentheses are required
error 21 Missing class doc comment
warning 36 Line exceeds 85 characters; contains 99 characters
warning 77 Line exceeds 85 characters; contains 116 characters
warning 78 Line exceeds 85 characters; contains 98 characters
warning 79 Line exceeds 85 characters; contains 94 characters
error 82 Last parameter comment requires a blank newline after it
error 85 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 87 Line exceeds 85 characters; contains 182 characters
warning 90 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 99 Line exceeds 85 characters; contains 86 characters
warning 112 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 113 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 118 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 136 Line exceeds 85 characters; contains 87 characters
warning 136 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 138 Line exceeds 85 characters; contains 96 characters
warning 142 Line exceeds 85 characters; contains 99 characters
error 191 Doc comment for "$arguments" missing
Sum 11 errors and 17 warnings
/data/pear/pear/Cache_Lite/Lite/Output.php
warning 10 Invalid version "$Id: Output.php,v 1.4 2006/01/29 00:22:07 fab Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 10 The @version tag is in the wrong order; the tag follows @licence
error 11 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 12 PHP version not specified
error 12 Missing @category tag in file comment
error 12 Missing @license tag in file comment
error 12 Missing @link tag in file comment
error 14 "require_once" is a statement, not a function; no parentheses are required
error 16 Missing class doc comment
error 27 Last parameter comment requires a blank newline after it
error 39 The comments for parameters $id (1) and $group (2) do not align
warning 40 Line exceeds 85 characters; contains 95 characters
error 40 Last parameter comment requires a blank newline after it
error 40 The variable names for parameters $group (2) and $doNotTestCacheValidity (3) do not align
error 40 The comments for parameters $group (2) and $doNotTestCacheValidity (3) do not align
error 60 Missing @return tag in function comment
Sum 13 errors and 3 warnings