Coding Standards Report for CodeGen_MySQL

Type Line Message
Package 129 errors and 26 warnings
/data/pear/pear/CodeGen_MySQL/MySQL/Element/Test.php
error 13 Category name "Tools and Utilities" is not valid; consider "Tools_And_Utilities" instead
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 18 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 19 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 30 Category name "Tools and Utilities" is not valid; consider "Tools_And_Utilities" instead
error 30 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 31 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 32 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 33 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 34 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 35 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 36 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 45 Parameters must appear immediately after the comment
error 45 Expected 1 space before variable type
error 45 Superfluous doc comment at position 1
error 45 Expected 1 space after the longest type
error 57 Doc comment for "$name" missing
error 108 Parameters must appear immediately after the comment
error 108 Expected 1 space before variable type
error 108 Doc comment var "new" does not match actual variable name "$text" at position 1
error 108 Expected 1 space after the longest type
error 109 Missing @return tag in function comment
error 137 Parameters must appear immediately after the comment
error 137 Expected 1 space before variable type
error 137 Doc comment var "new" does not match actual variable name "$code" at position 1
error 137 Expected 1 space after the longest type
error 138 Missing @return tag in function comment
error 166 Parameters must appear immediately after the comment
error 166 Expected 1 space before variable type
error 166 Doc comment var "new" does not match actual variable name "$data" at position 1
error 166 Expected 1 space after the longest type
error 167 Missing @return tag in function comment
warning 181 Line exceeds 85 characters; contains 93 characters
warning 181 Inline control structures are discouraged
warning 182 Line exceeds 85 characters; contains 95 characters
warning 182 Inline control structures are discouraged
error 190 Parameters must appear immediately after the comment
error 190 Expected 1 space before variable type
error 190 Doc comment var "the" does not match actual variable name "$extension" at position 1
error 190 Expected 1 space after the longest type
error 191 Missing @return tag in function comment
Sum 41 errors and 4 warnings
/data/pear/pear/CodeGen_MySQL/MySQL/Extension.php
error 13 Category name "Tools and Utilities" is not valid; consider "Tools_And_Utilities" instead
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 18 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 19 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 46 Category name "Tools and Utilities" is not valid; consider "Tools_And_Utilities" instead
error 46 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 47 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 48 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 49 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 50 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 51 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 52 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 103 Expected 1 space before variable type
error 103 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$flag" at position 1
error 103 Missing parameter name at position 1
error 103 Missing comment for param "[ UNKNOWN ]" at position 1
error 104 Missing @return tag in function comment
warning 123 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 124 Line exceeds 85 characters; contains 96 characters
warning 124 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 127 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 129 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 132 Line exceeds 85 characters; contains 96 characters
warning 132 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 135 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 138 Line exceeds 85 characters; contains 96 characters
warning 138 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 139 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 141 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 153 Missing @return tag in function comment
error 175 Missing @return tag in function comment
warning 178 Line exceeds 85 characters; contains 101 characters
error 183 Line indented incorrectly; expected at least 12 spaces, found 0
error 184 Line indented incorrectly; expected at least 12 spaces, found 0
error 185 Line indented incorrectly; expected at least 12 spaces, found 0
error 186 Line indented incorrectly; expected at least 12 spaces, found 0
error 187 Line indented incorrectly; expected at least 12 spaces, found 0
error 188 Line indented incorrectly; expected at least 12 spaces, found 0
error 189 Line indented incorrectly; expected at least 12 spaces, found 0
error 200 Missing @return tag in function comment
error 205 Line indented incorrectly; expected at least 8 spaces, found 0
error 206 Line indented incorrectly; expected at least 8 spaces, found 0
warning 206 Line exceeds 85 characters; contains 94 characters
error 208 Line indented incorrectly; expected at least 8 spaces, found 0
error 209 Line indented incorrectly; expected at least 8 spaces, found 0
error 219 Missing @return tag in function comment
error 223 Line indented incorrectly; expected at least 8 spaces, found 0
error 224 Line indented incorrectly; expected at least 8 spaces, found 0
warning 224 Line exceeds 85 characters; contains 94 characters
error 226 Line indented incorrectly; expected at least 8 spaces, found 0
error 227 Line indented incorrectly; expected at least 8 spaces, found 0
error 236 Expected 1 space before variable type
error 236 Doc comment var "Directory" does not match actual variable name "$dirpath" at position 1
error 236 Doc comment for "$force" missing
error 237 Missing @return tag in function comment
warning 259 Line exceeds 85 characters; contains 127 characters
error 341 Missing @return tag in function comment
error 342 Opening brace should be on a new line
warning 387 Line exceeds 85 characters; contains 108 characters
error 425 Missing @return tag in function comment
error 453 Parameters must appear immediately after the comment
error 453 Expected 1 space before variable type
error 453 Doc comment var "a" does not match actual variable name "$test" at position 1
error 453 Expected 1 space after the longest type
error 454 Missing @return tag in function comment
error 471 Missing @return tag in function comment
error 488 You must use "/**" style comments for a function comment
error 493 Missing function doc comment
Sum 55 errors and 17 warnings
/data/pear/pear/CodeGen_MySQL/MySQL/ExtensionParser.php
error 13 Category name "Tools and Utilities" is not valid; consider "Tools_And_Utilities" instead
error 13 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 14 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 15 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 16 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 17 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 18 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 19 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 33 Category name "Tools and Utilities" is not valid; consider "Tools_And_Utilities" instead
error 33 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 34 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 35 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 36 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 37 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 38 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 39 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 44 Missing function doc comment
error 44 Method name "CodeGen_MySQL_ExtensionParser::tagstart_test" is not in camel caps format
warning 47 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 63 Missing function doc comment
error 63 Method name "CodeGen_MySQL_ExtensionParser::tagend_test_description" is not in camel caps format
error 68 Missing function doc comment
error 68 Method name "CodeGen_MySQL_ExtensionParser::tagstart_test_code" is not in camel caps format
warning 72 Line exceeds 85 characters; contains 98 characters
warning 75 Line exceeds 85 characters; contains 100 characters
error 80 Missing function doc comment
error 80 Method name "CodeGen_MySQL_ExtensionParser::tagend_test_code" is not in camel caps format
error 80 Opening brace should be on a new line
warning 82 Line exceeds 85 characters; contains 100 characters
error 88 Missing function doc comment
error 88 Method name "CodeGen_MySQL_ExtensionParser::tagend_test_result" is not in camel caps format
error 95 Missing function doc comment
error 95 Method name "CodeGen_MySQL_ExtensionParser::tagend_test" is not in camel caps format
warning 98 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 102 Missing function doc comment
error 102 Method name "CodeGen_MySQL_ExtensionParser::tagend_tests" is not in camel caps format
error 108 Missing function doc comment
error 108 Method name "CodeGen_MySQL_ExtensionParser::tagend_deps_src" is not in camel caps format
Sum 33 errors and 5 warnings