Coding Standards Report for System_ProcWatch

Type Line Message
Package 272 errors and 33 warnings
/data/pear/pear/System_ProcWatch/ProcWatch/Config/Parser.php
error 2 You must use "/**" style comments for a file comment
error 26 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 26 @author tag comment indented incorrectly. Expected 3 spaces but found 7.
error 27 The @package tag is in the wrong order; the tag follows @category
error 27 @package tag comment indented incorrectly. Expected 2 spaces but found 6.
error 28 @category tag comment indented incorrectly. Expected 1 spaces but found 5.
warning 30 Invalid version "$Revision: 1.4 $" in doc comment; consider "Release: " instead
error 30 @version tag comment indented incorrectly. Expected 2 spaces but found 6.
error 32 Missing @license tag in class comment
error 32 Missing @link tag in class comment
error 67 Line indented incorrectly; expected at least 4 spaces, found 1
error 67 Spaces must be used to indent lines; tabs are not allowed
warning 97 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
warning 98 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
warning 99 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 5 spaces
error 110 Parameters must appear immediately after the comment
error 110 Expected 1 space before variable type
error 110 Expected 1 space after the longest type
error 110 Expected 1 space after the longest variable name
error 124 Doc comment for "$p" missing
error 124 Doc comment for "$d" missing
error 138 Doc comment for "$p" missing
error 138 Doc comment for "$e" missing
error 138 Doc comment for "$a" missing
error 144 Method name "System_ProcWatch_Config_Parser::xmltag_watch" is not in camel caps format
error 158 Doc comment for "$p" missing
error 158 Doc comment for "$e" missing
error 158 Doc comment for "$a" missing
error 164 Method name "System_ProcWatch_Config_Parser::xmltag_pattern" is not in camel caps format
error 169 Doc comment for "$p" missing
error 169 Doc comment for "$e" missing
error 169 Doc comment for "$a" missing
error 175 Method name "System_ProcWatch_Config_Parser::xmltag_condition" is not in camel caps format
warning 182 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 187 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
error 192 Doc comment for "$p" missing
error 192 Doc comment for "$e" missing
error 198 Method name "System_ProcWatch_Config_Parser::xmltag_condition_" is not in camel caps format
error 203 Doc comment for "$p" missing
error 203 Doc comment for "$e" missing
error 203 Doc comment for "$a" missing
error 209 Method name "System_ProcWatch_Config_Parser::xmltag_execute" is not in camel caps format
warning 211 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 215 Doc comment for "$p" missing
error 215 Doc comment for "$e" missing
error 215 Doc comment for "$a" missing
error 221 Method name "System_ProcWatch_Config_Parser::xmltag_max" is not in camel caps format
error 226 Doc comment for "$p" missing
error 226 Doc comment for "$e" missing
error 226 Doc comment for "$a" missing
error 232 Method name "System_ProcWatch_Config_Parser::xmltag_min" is not in camel caps format
error 237 Doc comment for "$p" missing
error 237 Doc comment for "$e" missing
error 237 Doc comment for "$a" missing
error 243 Method name "System_ProcWatch_Config_Parser::xmltag_sum" is not in camel caps format
error 248 Doc comment for "$p" missing
error 248 Doc comment for "$e" missing
error 248 Doc comment for "$a" missing
error 254 Method name "System_ProcWatch_Config_Parser::xmltag_is" is not in camel caps format
error 259 Doc comment for "$p" missing
error 259 Doc comment for "$e" missing
error 259 Doc comment for "$a" missing
error 265 Method name "System_ProcWatch_Config_Parser::xmltag_isnot" is not in camel caps format
Sum 56 errors and 7 warnings
/data/pear/pear/System_ProcWatch/ProcWatch/Config.php
error 2 You must use "/**" style comments for a file comment
error 32 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 32 @author tag comment indented incorrectly. Expected 3 spaces but found 7.
error 33 The @package tag is in the wrong order; the tag follows @category
error 33 @package tag comment indented incorrectly. Expected 2 spaces but found 6.
error 34 @category tag comment indented incorrectly. Expected 1 spaces but found 5.
warning 36 Invalid version "$Revision: 1.4 $" in doc comment; consider "Release: " instead
error 36 @version tag comment indented incorrectly. Expected 2 spaces but found 6.
error 38 Missing @license tag in class comment
error 38 Missing @link tag in class comment
error 48 Parameters must appear immediately after the comment
error 48 Expected 1 space before variable type
error 48 Expected 1 space after the longest type
error 48 Expected 1 space after the longest variable name
error 66 Parameters must appear immediately after the comment
error 66 Expected 1 space before variable type
error 66 Expected 1 space after the longest type
error 66 Expected 1 space after the longest variable name
error 70 "include_once" is a statement, not a function; no parentheses are required
error 87 Parameters must appear immediately after the comment
error 87 Expected 1 space before variable type
error 87 Expected 1 space after the longest type
error 87 Expected 1 space after the longest variable name
warning 102 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 108 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
error 109 Expected "} elseif (...) {\n"; found "} elseif(...) {\n"
error 149 Parameters must appear immediately after the comment
error 149 Expected 1 space before variable type
error 149 Expected 1 space after the longest type
error 149 Expected 1 space after the longest variable name
Sum 27 errors and 3 warnings
/data/pear/pear/System_ProcWatch/ProcWatch/Parser.php
error 2 You must use "/**" style comments for a file comment
error 27 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 27 @author tag comment indented incorrectly. Expected 3 spaces but found 7.
error 28 The @package tag is in the wrong order; the tag follows @category
error 28 @package tag comment indented incorrectly. Expected 2 spaces but found 6.
error 29 @category tag comment indented incorrectly. Expected 1 spaces but found 5.
warning 31 Invalid version "$Revision: 1.5 $" in doc comment; consider "Release: " instead
error 31 @version tag comment indented incorrectly. Expected 2 spaces but found 6.
error 33 Missing @license tag in class comment
error 33 Missing @link tag in class comment
error 52 Line indented incorrectly; expected at least 4 spaces, found 1
error 52 Spaces must be used to indent lines; tabs are not allowed
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 57 Expected 1 space after the longest variable name
error 69 Parameters must appear immediately after the comment
error 69 Expected 1 space before variable type
error 69 Expected 1 space after the longest type
error 69 Expected 1 space after the longest variable name
error 81 Parameters must appear immediately after the comment
error 81 Expected 1 space before variable type
error 81 Expected 1 space after the longest type
error 81 Expected 1 space after the longest variable name
error 97 Parameters must appear immediately after the comment
error 97 Expected 1 space before variable type
error 97 Missing comment for param "$data" at position 1
error 106 Expected "foreach (...) {\n"; found "foreach(...){\n"
error 121 Parameters must appear immediately after the comment
error 121 Expected 1 space before variable type
error 121 Expected 1 space after the longest type
error 121 Expected 1 space after the longest variable name
error 122 Expected 1 space before variable type
error 138 Parameters must appear immediately after the comment
error 138 Expected 1 space before variable type
error 138 Expected 1 space after the longest type
error 138 Expected 1 space after the longest variable name
error 155 Parameters must appear immediately after the comment
error 155 Expected 1 space before variable type
error 155 Expected 1 space after the longest type
error 155 Expected 1 space after the longest variable name
error 156 Expected 1 space before variable type
Sum 41 errors and 1 warnings
/data/pear/pear/System_ProcWatch/ProcWatch.php
error 2 You must use "/**" style comments for a file comment
error 24 Expected 1 space after comma in function call; 8 found
error 25 Expected 1 space after comma in function call; 4 found
error 26 Expected 1 space after comma in function call; 4 found
error 27 Expected 1 space after comma in function call; 14 found
error 28 Expected 1 space after comma in function call; 11 found
error 29 Expected 1 space after comma in function call; 13 found
error 30 Expected 1 space after comma in function call; 13 found
error 31 Expected 1 space after comma in function call; 13 found
error 45 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 45 @author tag comment indented incorrectly. Expected 3 spaces but found 7.
error 46 The @package tag is in the wrong order; the tag follows @category
error 46 @package tag comment indented incorrectly. Expected 2 spaces but found 6.
error 47 @category tag comment indented incorrectly. Expected 1 spaces but found 5.
warning 49 Invalid version "$Revision: 1.5 $" in doc comment; consider "Release: " instead
error 49 @version tag comment indented incorrectly. Expected 2 spaces but found 6.
error 51 Missing @license tag in class comment
error 51 Missing @link tag in class comment
error 94 Line indented incorrectly; expected at least 4 spaces, found 1
error 94 Spaces must be used to indent lines; tabs are not allowed
error 99 Parameters must appear immediately after the comment
error 99 Expected 1 space before variable type
error 99 Expected 1 space after the longest type
error 99 Expected 1 space after the longest variable name
error 111 Parameters must appear immediately after the comment
error 111 Expected 1 space before variable type
error 111 Expected 1 space after the longest type
error 111 Expected 1 space after the longest variable name
error 124 Parameters must appear immediately after the comment
error 124 Expected 1 space before variable type
error 124 Expected 1 space after the longest type
error 124 Expected 1 space after the longest variable name
warning 130 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 136 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 137 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 167 Parameters must appear immediately after the comment
error 167 Expected 1 space before variable type
error 167 Expected 1 space after the longest variable name
error 168 Expected 1 space before variable type
error 168 Expected 1 space after the longest type
error 172 Expected "while (...) {\n"; found "while(...) {\n"
error 183 Parameters must appear immediately after the comment
error 183 Expected 1 space before variable type
error 183 Missing comment for param "$job" at position 1
error 193 Space after opening parenthesis of function call prohibited
error 198 Space before closing parenthesis of function call prohibited
error 203 Space after opening parenthesis of function call prohibited
error 208 Space before closing parenthesis of function call prohibited
error 212 Space after opening parenthesis of function call prohibited
error 217 Space before closing parenthesis of function call prohibited
error 223 Doc comment for "$job" missing
warning 241 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 260 Line indented incorrectly; expected at least 16 spaces, found 12
error 269 Line indented incorrectly; expected at least 16 spaces, found 12
error 278 Line indented incorrectly; expected at least 16 spaces, found 12
error 299 Parameters must appear immediately after the comment
error 299 Expected 1 space before variable type
error 299 Missing comment for param "$job" at position 1
error 300 Expected 1 space before variable type
error 300 Missing comment for param "$sum" at position 2
error 301 Expected 1 space before variable type
error 301 The comments for parameters $sum (2) and $mode (3) do not align
error 301 Missing comment for param "$mode" at position 3
error 302 Expected 1 space before variable type
error 302 Missing comment for param "$info" at position 4
error 314 Space after opening parenthesis of function call prohibited
error 315 Space after opening parenthesis of function call prohibited
error 319 Space before closing parenthesis of function call prohibited
error 320 Space before closing parenthesis of function call prohibited
error 328 Space after opening parenthesis of function call prohibited
error 331 Space after opening parenthesis of function call prohibited
error 335 Space before closing parenthesis of function call prohibited
error 336 Space before closing parenthesis of function call prohibited
error 347 Parameters must appear immediately after the comment
error 347 Expected 1 space before variable type
error 347 Missing comment for param "$job" at position 1
error 365 Parameters must appear immediately after the comment
error 365 Expected 1 space before variable type
error 365 Missing comment for param "$job" at position 1
error 366 Expected 1 space before variable type
error 366 The comments for parameters $job (1) and $c (2) do not align
error 366 Doc comment var "$c" does not match actual variable name "$sum" at position 2
error 366 Missing comment for param "$c" at position 2
error 367 Expected 1 space before variable type
error 367 The comments for parameters $c (2) and $mode (3) do not align
error 367 Missing comment for param "$mode" at position 3
error 368 Expected 1 space before variable type
error 368 The comments for parameters $mode (3) and $a (4) do not align
error 368 Missing comment for param "$a" at position 4
error 376 Line indented incorrectly; expected 8 spaces, found 12
error 381 Line indented incorrectly; expected 8 spaces, found 12
warning 382 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 383 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
error 386 Line indented incorrectly; expected 8 spaces, found 12
error 391 Line indented incorrectly; expected 8 spaces, found 12
error 396 Line indented incorrectly; expected 8 spaces, found 12
warning 397 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 398 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
error 401 Line indented incorrectly; expected 8 spaces, found 12
warning 402 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 4 spaces
warning 403 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 404 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
error 407 Line indented incorrectly; expected 8 spaces, found 12
warning 408 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 4 spaces
warning 409 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 410 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
error 413 Line indented incorrectly; expected 8 spaces, found 12
warning 414 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 415 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 416 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
error 430 Parameters must appear immediately after the comment
error 430 Expected 1 space before variable type
error 430 Expected 1 space after the longest type
error 430 Expected 1 space after the longest variable name
error 443 Parameters must appear immediately after the comment
error 443 Expected 1 space before variable type
error 443 Expected 1 space after the longest type
error 443 Expected 1 space after the longest variable name
warning 448 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
warning 449 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 450 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 451 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
Sum 100 errors and 22 warnings
/data/pear/pear/System_ProcWatch/scripts/system-procwatch.php
error 3 You must use "/**" style comments for a file comment
error 30 "require_once" is a statement, not a function; no parentheses are required
error 35 "require_once" is a statement, not a function; no parentheses are required
error 40 "require_once" is a statement, not a function; no parentheses are required
error 66 Space after opening parenthesis of function call prohibited
error 67 Space after opening parenthesis of function call prohibited
error 68 Space after opening parenthesis of function call prohibited
error 68 Expected 1 space after comma in function call; 27 found
error 68 Expected 1 space after comma in function call; 2 found
error 72 Space before closing parenthesis of function call prohibited
error 73 Space before closing parenthesis of function call prohibited
error 74 Space before closing parenthesis of function call prohibited
error 81 Expected "if (...) {\n"; found "if (...)\n{\n"
error 131 "include_once" is a statement, not a function; no parentheses are required
error 191 Parameters must appear immediately after the comment
error 191 Expected 1 space before variable type
error 191 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$array" at position 1
error 191 Missing parameter name at position 1
error 191 Missing comment for param "[ UNKNOWN ]" at position 1
error 193 Function name "_prepare_args" is invalid; only private methods should be prefixed with an underscore
error 207 Parameters must appear immediately after the comment
error 207 Expected 1 space before variable type
error 207 Doc comment var "PEAR_Error" does not match actual variable name "$error" at position 1
error 207 Missing comment for param "PEAR_Error" at position 1
error 209 Function name "_show_usage" is invalid; only private methods should be prefixed with an underscore
Sum 25 errors and 0 warnings
/data/pear/pear/System_ProcWatch/scripts/system-procwatch_lint.php
error 3 You must use "/**" style comments for a file comment
error 30 "require_once" is a statement, not a function; no parentheses are required
error 35 "require_once" is a statement, not a function; no parentheses are required
error 58 Space after opening parenthesis of function call prohibited
error 59 Space after opening parenthesis of function call prohibited
error 60 Space after opening parenthesis of function call prohibited
error 60 Expected 1 space after comma in function call; 27 found
error 60 Expected 1 space after comma in function call; 2 found
error 64 Space before closing parenthesis of function call prohibited
error 65 Space before closing parenthesis of function call prohibited
error 66 Space before closing parenthesis of function call prohibited
error 73 Expected "if (...) {\n"; found "if (...)\n{\n"
error 145 Parameters must appear immediately after the comment
error 145 Expected 1 space before variable type
error 145 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$array" at position 1
error 145 Missing parameter name at position 1
error 145 Missing comment for param "[ UNKNOWN ]" at position 1
error 147 Function name "_prepare_args" is invalid; only private methods should be prefixed with an underscore
error 161 Parameters must appear immediately after the comment
error 161 Expected 1 space before variable type
error 161 Doc comment var "PEAR_Error" does not match actual variable name "$error" at position 1
error 161 Missing comment for param "PEAR_Error" at position 1
error 163 Function name "_show_usage" is invalid; only private methods should be prefixed with an underscore
Sum 23 errors and 0 warnings