Coding Standards Report for DB_Sqlite_Tools

Type Line Message
Package 214 errors and 109 warnings
/data/pear/pear/DB_Sqlite_Tools/DB/Sqlite/Tools/ArcFour.php
error 2 You must use "/**" style comments for a file comment
error 60 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 61 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 62 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 63 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 64 @copyright tag must contain a year and the name of the copyright holder
error 65 @license tag comment indented incorrectly. Expected 3 spaces but found 1.
error 67 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 68 Missing @link tag in class comment
error 78 Private member variable "s" must be prefixed with an underscore
error 85 Private member variable "i" must be prefixed with an underscore
error 92 Private member variable "j" must be prefixed with an underscore
error 99 Private member variable "key" must be prefixed with an underscore
error 107 Expected 1 space before variable type
error 125 Missing @return tag in function comment
error 140 Missing @return tag in function comment
error 141 Private method name "DB_Sqlite_Tools_ArcFour::key" must be prefixed with an underscore
warning 143 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 150 Line exceeds 85 characters; contains 90 characters
warning 150 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 151 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 166 Doc comment var "$paramstr" does not match actual variable name "&$paramstr" at position 1
error 169 Missing @return tag in function comment
warning 175 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 177 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 178 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 179 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
error 197 Expected 1 space before variable type
error 197 Doc comment var "$paramstr" does not match actual variable name "&$paramstr" at position 1
error 200 Missing @return tag in function comment
Sum 22 errors and 8 warnings
/data/pear/pear/DB_Sqlite_Tools/DB/Sqlite/Tools/DBC.php
error 2 You must use "/**" style comments for a file comment
error 75 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 76 @package tag comment indented incorrectly. Expected 3 spaces but found 2.
error 77 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 78 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 79 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 80 @copyright tag must contain a year and the name of the copyright holder
error 81 @license tag comment indented incorrectly. Expected 3 spaces but found 1.
error 83 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 84 Missing @link tag in class comment
error 94 Private member variable "dbobj" must be prefixed with an underscore
error 161 The comments for parameters $tableName (1) and $tableFields (2) do not align
error 162 Doc comment var "$tableValues" does not match actual variable name "$dataValues" at position 3
error 163 The comments for parameters $tableValues (3) and $querytype (4) do not align
error 163 Doc comment var "$querytype" does not match actual variable name "$queryType" at position 4
warning 164 Line exceeds 85 characters; contains 86 characters
error 164 The comments for parameters $querytype (4) and $crypt (5) do not align
error 165 The comments for parameters $crypt (5) and $whereString (6) do not align
error 182 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 221 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 224 Space after opening parenthesis of function call prohibited
error 227 Space before closing parenthesis of function call prohibited
warning 229 Inline control structures are discouraged
error 230 Space after opening parenthesis of function call prohibited
error 241 Space before closing parenthesis of function call prohibited
error 252 Space after opening parenthesis of function call prohibited
error 254 Space before closing parenthesis of function call prohibited
error 287 Opening brace should be on a new line
error 289 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 363 The comments for parameters $sql (1) and $crypt (2) do not align
error 382 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 408 The comments for parameters $sql (1) and $crypt (2) do not align
error 417 No space found after comma in function call
error 426 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 483 Missing @return tag in function comment
error 484 Private method name "DB_Sqlite_Tools_DBC::debug" must be prefixed with an underscore
Sum 33 errors and 3 warnings
/data/pear/pear/DB_Sqlite_Tools/DB/Sqlite/Tools/XMLParser.php
error 2 You must use "/**" style comments for a file comment
error 62 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 63 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 64 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 65 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 66 @copyright tag must contain a year and the name of the copyright holder
error 67 @license tag comment indented incorrectly. Expected 3 spaces but found 1.
error 69 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 71 Missing @link tag in class comment
error 104 Private member variable "str" must be prefixed with an underscore
error 112 The variable names for parameters $fh (1) and $pos (2) do not align
error 112 The comments for parameters $fh (1) and $pos (2) do not align
error 124 You must use "/**" style comments for a function comment
warning 139 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 142 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 148 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 149 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 150 Expected "while (...) {\n"; found "while (...)\n {\n"
warning 161 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
error 168 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 169 Inline control structures are discouraged
error 187 Missing @return tag in function comment
error 209 You must use "/**" style comments for a function comment
error 217 You must use "/**" style comments for a function comment
error 227 You must use "/**" style comments for a function comment
Sum 19 errors and 6 warnings
/data/pear/pear/DB_Sqlite_Tools/DB/Sqlite/Tools.php
error 2 You must use "/**" style comments for a file comment
error 72 You must use "/**" style comments for a function comment
error 75 Line indented incorrectly; expected 8 spaces, found 12
error 76 Line indented incorrectly; expected 8 spaces, found 12
error 77 Line indented incorrectly; expected 8 spaces, found 12
error 83 Line indented incorrectly; expected at least 4 spaces, found 0
error 84 Line indented incorrectly; expected at least 4 spaces, found 0
error 86 File is being conditionally included; use "include_once" instead
error 87 File is being conditionally included; use "include_once" instead
error 88 File is being conditionally included; use "include_once" instead
error 108 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 109 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 110 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 111 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 112 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 113 @copyright tag must contain a year and the name of the copyright holder
error 114 @license tag comment indented incorrectly. Expected 3 spaces but found 1.
error 116 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 117 Missing @link tag in class comment
warning 127 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 129 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 131 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 133 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 135 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 137 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 139 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 141 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 143 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 145 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 147 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 149 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 151 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 153 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 155 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 157 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 159 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 185 Private member variable "error" must be prefixed with an underscore
error 192 Private member variable "opendb" must be prefixed with an underscore
error 199 Private member variable "result" must be prefixed with an underscore
error 206 Private member variable "ftpconnection" must be prefixed with an underscore
error 213 Private member variable "info" must be prefixed with an underscore
error 221 Private member variable "safecopy" must be prefixed with an underscore
error 229 Private member variable "logs" must be prefixed with an underscore
error 236 Private member variable "backupp" must be prefixed with an underscore
error 245 Private member variable "backupar" must be prefixed with an underscore
error 252 Private member variable "dbobj" must be prefixed with an underscore
error 277 Expected "} else {\n"; found "} else{\n"
error 288 Missing @return tag in function comment
error 289 Private method name "DB_Sqlite_Tools::displayLogs" must be prefixed with an underscore
error 291 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 316 Expected "if (...) {\n"; found "if (...){\n"
warning 317 Line exceeds 85 characters; contains 86 characters
error 319 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 369 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 377 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 420 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 425 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 457 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 458 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
warning 459 Equals sign not aligned with surrounding assignments; expected 36 spaces but found 1 space
warning 460 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 472 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 473 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 474 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 475 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 476 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 477 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 478 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 479 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 480 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 481 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 482 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 483 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 484 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 485 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 486 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 487 Equals sign not aligned with surrounding assignments; expected 30 spaces but found 1 space
error 516 Missing @return tag in function comment
warning 527 Line exceeds 85 characters; contains 86 characters
error 529 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 532 No space found after comma in function call
error 537 No space found after comma in function call
warning 540 Line exceeds 85 characters; contains 103 characters
error 542 No space found after comma in function call
error 550 No space found after comma in function call
warning 556 Line exceeds 85 characters; contains 87 characters
warning 556 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 573 Private method name "DB_Sqlite_Tools::scanBackupDir" must be prefixed with an underscore
error 584 Expected "if (...) {\n"; found "if(...){\n"
error 622 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 624 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 651 Missing @return tag in function comment
error 652 Private method name "DB_Sqlite_Tools::ftpConnect" must be prefixed with an underscore
error 656 No space found after comma in function call
error 661 No space found after comma in function call
error 674 Missing @return tag in function comment
error 677 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 719 Expected 1 space after the longest variable name
error 724 Missing @return tag in function comment
warning 726 Line exceeds 85 characters; contains 93 characters
warning 728 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 729 Line exceeds 85 characters; contains 89 characters
warning 730 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 731 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 732 Line exceeds 85 characters; contains 86 characters
error 748 The variable names for parameters $databasesPath (1) and $configfile (2) do not align
error 748 The comments for parameters $databasesPath (1) and $configfile (2) do not align
error 749 Expected 1 space after the longest variable name
warning 750 Line exceeds 85 characters; contains 86 characters
warning 751 Line exceeds 85 characters; contains 92 characters
warning 756 Line exceeds 85 characters; contains 100 characters
error 759 Missing @return tag in function comment
warning 763 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 781 No space found after comma in function call
warning 781 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces
error 782 Expected "if (...) {\n"; found "if (...){\n"
error 783 No space found after comma in function call
error 786 No space found after comma in function call
warning 786 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 787 Expected "if (...) {\n"; found "if (...){\n"
error 788 No space found after comma in function call
warning 791 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 792 Expected "if (...) {\n"; found "if (...){\n"
error 793 No space found after comma in function call
warning 798 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 811 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 833 Expected 1 space after the longest variable name
error 837 Missing @return tag in function comment
error 849 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 851 Space after closing parenthesis of function call prohibited
warning 853 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 872 Private method name "DB_Sqlite_Tools::sqliteConnect" must be prefixed with an underscore
error 897 Private method name "DB_Sqlite_Tools::sqliteConnectProc" must be prefixed with an underscore
error 903 Expected "if (...) {\n"; found "if (...){\n"
error 920 Private method name "DB_Sqlite_Tools::sqliteQuery" must be prefixed with an underscore
error 928 Space after opening parenthesis of function call prohibited
error 931 Space before closing parenthesis of function call prohibited
error 947 Public method name "DB_Sqlite_Tools::XMLDecode" is not in camel caps format
warning 949 Line exceeds 85 characters; contains 86 characters
error 962 Public method name "DB_Sqlite_Tools::XMLEncode" is not in camel caps format
error 964 Line indented incorrectly; expected at least 8 spaces, found 7
error 976 Last parameter comment requires a blank newline after it
error 978 Missing @return tag in function comment
error 979 Private method name "DB_Sqlite_Tools::performXMLDump" must be prefixed with an underscore
warning 985 Line exceeds 85 characters; contains 99 characters
warning 985 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 994 Line exceeds 85 characters; contains 107 characters
warning 994 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 995 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 997 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 998 Line exceeds 85 characters; contains 88 characters
error 1008 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 1011 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 1015 Line exceeds 85 characters; contains 89 characters
error 1020 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 1036 Doc comment for "$path" missing
error 1052 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 1055 Line exceeds 85 characters; contains 95 characters
warning 1058 Line exceeds 85 characters; contains 92 characters
warning 1061 Line exceeds 85 characters; contains 96 characters
error 1080 Expected 1 space after the longest variable name
error 1081 Last parameter comment requires a blank newline after it
error 1083 Missing @return tag in function comment
error 1093 Space after closing parenthesis of function call prohibited
error 1094 Space after closing parenthesis of function call prohibited
error 1096 Space after closing parenthesis of function call prohibited
warning 1109 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 1110 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 1112 Expected "while (...) {\n"; found "while(...) {\n"
error 1113 Expected "if (...) {\n"; found "if(...) {\n"
warning 1121 Line exceeds 85 characters; contains 90 characters
warning 1122 Line exceeds 85 characters; contains 86 characters
warning 1123 Line exceeds 85 characters; contains 88 characters
warning 1124 Line exceeds 85 characters; contains 105 characters
warning 1125 Line exceeds 85 characters; contains 92 characters
error 1129 Line indented incorrectly; expected at least 36 spaces, found 32
error 1132 Line indented incorrectly; expected at least 32 spaces, found 28
error 1136 Line indented incorrectly; expected at least 28 spaces, found 24
error 1138 Line indented incorrectly; expected at least 24 spaces, found 20
warning 1144 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 1145 Line exceeds 85 characters; contains 92 characters
error 1147 Line indented incorrectly; expected at least 32 spaces, found 28
error 1152 Line indented incorrectly; expected at least 28 spaces, found 24
error 1154 Line indented incorrectly; expected at least 24 spaces, found 20
error 1161 Line indented incorrectly; expected at least 20 spaces, found 16
error 1164 Space after opening parenthesis of function call prohibited
error 1164 Space before closing parenthesis of function call prohibited
error 1164 Space after closing parenthesis of function call prohibited
warning 1164 Line exceeds 85 characters; contains 110 characters
error 1166 Line indented incorrectly; expected at least 16 spaces, found 12
error 1169 Line indented incorrectly; expected at least 12 spaces, found 8
warning 1180 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 1190 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 1192 Line exceeds 85 characters; contains 102 characters
error 1196 Space after closing parenthesis of function call prohibited
error 1196 No space found after comma in function call
error 1196 No space found after comma in function call
warning 1196 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 1197 Space after closing parenthesis of function call prohibited
error 1197 No space found after comma in function call
error 1197 No space found after comma in function call
warning 1197 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 1198 Space after opening parenthesis of function call prohibited
error 1203 Space before closing parenthesis of function call prohibited
error 1207 Space after closing parenthesis of function call prohibited
error 1208 Space after closing parenthesis of function call prohibited
error 1218 Missing @return tag in function comment
error 1219 Private method name "DB_Sqlite_Tools::debug" must be prefixed with an underscore
error 1240 @category tag comment indented incorrectly. Expected 2 spaces but found 1.
error 1241 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 1242 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 1243 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 1244 @author tag comment indented incorrectly. Expected 4 spaces but found 1.
error 1245 @copyright tag must contain a year and the name of the copyright holder
error 1246 @license tag comment indented incorrectly. Expected 3 spaces but found 1.
error 1248 @version tag comment indented incorrectly. Expected 3 spaces but found 1.
error 1249 Missing @link tag in class comment
error 1259 Private member variable "class" must be prefixed with an underscore
error 1266 Private member variable "function" must be prefixed with an underscore
error 1282 The comments for parameters $class (1) and $function (2) do not align
error 1283 The comments for parameters $function (2) and $data (3) do not align
warning 1286 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 1288 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 1320 Line indented incorrectly; expected at least 8 spaces, found 6
error 1322 Line indented incorrectly; expected at least 8 spaces, found 0
warning 1364 Line exceeds 85 characters; contains 113 characters
warning 1370 Line exceeds 85 characters; contains 91 characters
Sum 139 errors and 88 warnings
/data/pear/pear/DB_Sqlite_Tools/generate_package_xml.php
error 2 You must use "/**" style comments for a file comment
warning 10 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 26 Line exceeds 85 characters; contains 98 characters
warning 78 Line exceeds 85 characters; contains 87 characters
warning 79 Line exceeds 85 characters; contains 87 characters
Sum 1 errors and 4 warnings