Coding Standards Report for PDBPLUS

Type Line Message
Package 55 errors and 14 warnings
/data/pear/pear/PDBPLUS/pdbplus.php
error 3 You must use "/**" style comments for a file comment
error 28 Expected 1 space after comma in function call; 7 found
error 29 Expected 1 space after comma in function call; 4 found
error 59 Line indented incorrectly; expected 4 spaces, found 8
error 60 Closing brace must be on a line by itself
error 61 Line indented incorrectly; expected 4 spaces, found 8
error 62 Closing brace must be on a line by itself
error 63 Line indented incorrectly; expected 4 spaces, found 8
error 64 Line indented incorrectly; expected 4 spaces, found 8
error 65 Closing brace must be on a line by itself
error 65 Closing brace must be on a line by itself
error 66 Line indented incorrectly; expected 4 spaces, found 8
error 70 Line indented incorrectly; expected 4 spaces, found 8
error 73 Line indented incorrectly; expected 4 spaces, found 8
error 76 Closing brace indented incorrectly; expected 8 spaces, found 4
error 76 Closing brace indented incorrectly; expected 8 spaces, found 4
error 125 Line indented incorrectly; expected at least 8 spaces, found 4
error 152 Line indented incorrectly; expected at least 8 spaces, found 4
error 157 Line indented incorrectly; expected at least 8 spaces, found 4
error 161 Line indented incorrectly; expected at least 8 spaces, found 4
error 169 Line indented incorrectly; expected at least 8 spaces, found 4
error 183 You must use "/**" style comments for a function comment
error 183 Function name "db_error" is prefixed with a package name but does not begin with a capital letter
Sum 23 errors and 0 warnings
/data/pear/pear/PDBPLUS/class.commands.php
error 2 You must use "/**" style comments for a file comment
error 26 Missing class doc comment
error 32 Missing function doc comment
error 75 You must use "/**" style comments for a function comment
error 84 Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
warning 108 Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
warning 109 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 110 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 111 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 124 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 129 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 145 Line exceeds 85 characters; contains 91 characters
warning 157 Line exceeds 85 characters; contains 87 characters
error 182 You must use "/**" style comments for a function comment
warning 191 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 201 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 203 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 211 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
error 229 You must use "/**" style comments for a function comment
warning 238 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 251 You must use "/**" style comments for a function comment
error 266 Missing function doc comment
error 290 You must use "/**" style comments for a function comment
error 297 Missing function doc comment
error 312 You must use "/**" style comments for a function comment
error 326 Missing function doc comment
error 342 You must use "/**" style comments for a function comment
error 350 Missing function doc comment
error 350 Method name "Handle_Commands::G" is not in camel caps format
error 358 Doc comment for "$editor" missing
error 360 Missing @return tag in function comment
error 394 Missing @return tag in function comment
error 402 You must use "/**" style comments for a function comment
error 426 Missing function doc comment
error 442 Missing function doc comment
error 442 Method name "Handle_Commands::print_array_box" is not in camel caps format
warning 465 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 493 Last parameter comment requires a blank newline after it
error 493 The variable names for parameters $type (1) and $prepend (2) do not align
error 493 The comments for parameters $type (1) and $prepend (2) do not align
error 493 Missing comment for param "$prepend" at position 2
error 495 Missing @return tag in function comment
Sum 28 errors and 14 warnings
/data/pear/pear/PDBPLUS/readline.php
error 2 You must use "/**" style comments for a file comment
error 26 You must use "/**" style comments for a function comment
error 36 Line indented incorrectly; expected at least 4 spaces, found 0
error 50 You must use "/**" style comments for a function comment
Sum 4 errors and 0 warnings