Coding Standards Report for Net_UserAgent

Type Line Message
Package 67 errors and 141 warnings
/data/pear/pear/Net_UserAgent/Detect.php
error 2 You must use "/**" style comments for a file comment
error 26 Expected 1 space after comma in function call; 2 found
error 27 Expected 1 space after comma in function call; 7 found
error 29 Expected 1 space after comma in function call; 3 found
error 30 Expected 1 space after comma in function call; 3 found
error 31 Expected 1 space after comma in function call; 6 found
error 56 Opening brace of a class must be on the line after the definition
error 56 You must use "/**" style comments for a class comment
error 59 You must use "/**" style comments for a function comment
error 67 Doc comment for "$in_userAgent" missing
error 67 Doc comment for "$in_detect" missing
error 99 Expected 1 space before variable type
error 100 Expected 1 space before variable type
error 100 The variable names for parameters $in_userAgent (1) and $in_detect (2) do not align
error 100 The comments for parameters $in_userAgent (1) and $in_detect (2) do not align
warning 116 Line exceeds 85 characters; contains 119 characters
warning 117 Line exceeds 85 characters; contains 118 characters
warning 117 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 125 Line exceeds 85 characters; contains 658 characters
warning 130 Line exceeds 85 characters; contains 396 characters
warning 163 Line exceeds 85 characters; contains 92 characters
error 186 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 189 Expected "} else {\n"; found "}\n else {\n"
error 193 Expected "} else {\n"; found "}\n else {\n"
warning 205 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 207 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 211 Expected "} else {\n"; found "}\n else {\n"
warning 219 Line exceeds 85 characters; contains 99 characters
warning 230 Line exceeds 85 characters; contains 99 characters
warning 231 Line exceeds 85 characters; contains 184 characters
warning 231 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 2 spaces
warning 232 Line exceeds 85 characters; contains 107 characters
warning 232 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 233 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 234 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 235 Line exceeds 85 characters; contains 112 characters
warning 236 Line exceeds 85 characters; contains 133 characters
warning 236 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 4 spaces
warning 237 Line exceeds 85 characters; contains 275 characters
warning 237 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 6 spaces
warning 238 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 2 spaces
warning 239 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 4 spaces
warning 240 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 5 spaces
warning 241 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 5 spaces
warning 242 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 5 spaces
warning 243 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 3 spaces
warning 245 Line exceeds 85 characters; contains 89 characters
warning 246 Line exceeds 85 characters; contains 92 characters
warning 248 Line exceeds 85 characters; contains 87 characters
warning 249 Line exceeds 85 characters; contains 89 characters
warning 250 Line exceeds 85 characters; contains 97 characters
warning 251 Line exceeds 85 characters; contains 97 characters
warning 252 Line exceeds 85 characters; contains 98 characters
warning 253 Line exceeds 85 characters; contains 97 characters
warning 254 Line exceeds 85 characters; contains 97 characters
warning 255 Line exceeds 85 characters; contains 103 characters
warning 257 Line exceeds 85 characters; contains 109 characters
warning 259 Line exceeds 85 characters; contains 90 characters
warning 260 Line exceeds 85 characters; contains 92 characters
warning 261 Line exceeds 85 characters; contains 92 characters
warning 264 Line exceeds 85 characters; contains 94 characters
warning 269 Line exceeds 85 characters; contains 105 characters
warning 270 Line exceeds 85 characters; contains 105 characters
warning 271 Line exceeds 85 characters; contains 105 characters
warning 272 Line exceeds 85 characters; contains 105 characters
warning 273 Line exceeds 85 characters; contains 105 characters
warning 274 Line exceeds 85 characters; contains 105 characters
warning 275 Line exceeds 85 characters; contains 105 characters
warning 276 Line exceeds 85 characters; contains 105 characters
warning 277 Line exceeds 85 characters; contains 122 characters
warning 278 Line exceeds 85 characters; contains 145 characters
warning 279 Line exceeds 85 characters; contains 168 characters
warning 280 Line exceeds 85 characters; contains 191 characters
warning 281 Line exceeds 85 characters; contains 214 characters
warning 288 Line exceeds 85 characters; contains 98 characters
warning 289 Line exceeds 85 characters; contains 98 characters
warning 291 Line exceeds 85 characters; contains 132 characters
warning 292 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 293 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 294 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
warning 295 Line exceeds 85 characters; contains 185 characters
warning 295 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 299 Line exceeds 85 characters; contains 106 characters
error 304 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 305 Line indented incorrectly; expected at least 16 spaces, found 14
error 307 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 310 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 313 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 316 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 316 Line exceeds 85 characters; contains 95 characters
error 320 Expected "} elseif (...) {\n"; found "}\n // I can't believe IE6 still has javascript 1.3, what a shitty browser\n elseif (...) {\n"
warning 320 Line exceeds 85 characters; contains 108 characters
error 323 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 329 Line exceeds 85 characters; contains 94 characters
warning 330 Line exceeds 85 characters; contains 92 characters
warning 330 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 3 spaces
warning 331 Line exceeds 85 characters; contains 99 characters
warning 331 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 332 Line exceeds 85 characters; contains 181 characters
warning 332 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 333 Line exceeds 85 characters; contains 144 characters
warning 333 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 334 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 335 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 336 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 337 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 338 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 339 Line exceeds 85 characters; contains 99 characters
warning 339 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 340 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 341 Line exceeds 85 characters; contains 143 characters
warning 341 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 342 Line exceeds 85 characters; contains 164 characters
warning 342 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 343 Line exceeds 85 characters; contains 103 characters
warning 343 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 3 spaces
warning 344 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 3 spaces
warning 345 Line exceeds 85 characters; contains 111 characters
warning 346 Line exceeds 85 characters; contains 113 characters
warning 353 Line exceeds 85 characters; contains 98 characters
warning 363 Line exceeds 85 characters; contains 97 characters
warning 367 Line exceeds 85 characters; contains 252 characters
warning 371 Line exceeds 85 characters; contains 297 characters
warning 372 Line exceeds 85 characters; contains 97 characters
warning 377 Line exceeds 85 characters; contains 104 characters
warning 410 Line exceeds 85 characters; contains 106 characters
warning 416 Line exceeds 85 characters; contains 145 characters
warning 420 Line exceeds 85 characters; contains 102 characters
warning 424 Line exceeds 85 characters; contains 123 characters
warning 428 Line exceeds 85 characters; contains 91 characters
warning 432 Line exceeds 85 characters; contains 122 characters
warning 437 Line exceeds 85 characters; contains 98 characters
warning 438 Line exceeds 85 characters; contains 149 characters
warning 441 Line exceeds 85 characters; contains 167 characters
warning 448 Line exceeds 85 characters; contains 167 characters
warning 451 Line exceeds 85 characters; contains 164 characters
error 467 The variable names for parameters $in_field (1) and $in_value (2) do not align
error 468 Missing @return tag in function comment
warning 471 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
error 484 Expected 1 space before variable type
warning 493 Line exceeds 85 characters; contains 96 characters
warning 502 Line exceeds 85 characters; contains 87 characters
error 505 Expected 1 space before variable type
error 514 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 533 Line exceeds 85 characters; contains 92 characters
error 533 Expected 1 space before variable type
error 566 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 572 Line exceeds 85 characters; contains 95 characters
warning 574 Line exceeds 85 characters; contains 96 characters
warning 575 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 642 Expected 1 space before variable type
warning 651 Line exceeds 85 characters; contains 86 characters
error 657 Doc comment for "$in_expectList" missing
warning 660 Line exceeds 85 characters; contains 87 characters
error 670 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 689 Expected 1 space before variable type
error 714 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 734 The comments for parameters $in_quirk (1) and $in_hasQuirk (2) do not align
warning 741 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 742 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
warning 785 Line exceeds 85 characters; contains 94 characters
error 799 The comments for parameters $in_feature (1) and $in_hasFeature (2) do not align
warning 806 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 849 Line exceeds 85 characters; contains 102 characters
error 865 Expected 1 space before variable type
error 866 Expected 1 space before variable type
error 866 The comments for parameters $in_expectList (1) and $in_type (2) do not align
warning 876 Line exceeds 85 characters; contains 102 characters
error 878 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 899 Expected 1 space before variable type
error 900 Expected 1 space before variable type
error 900 The variable names for parameters $in_values (1) and $in_type (2) do not align
error 900 The comments for parameters $in_values (1) and $in_type (2) do not align
warning 909 Line exceeds 85 characters; contains 102 characters
error 911 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 928 Expected 1 space before variable type
error 929 Expected 1 space before variable type
error 929 The comments for parameters $in_value (1) and $in_type (2) do not align
warning 936 Line exceeds 85 characters; contains 87 characters
error 963 Last parameter comment requires a blank newline after it
error 963 Parameters must appear immediately after the comment
error 963 Expected 1 space before variable type
error 963 Expected 1 space after the longest variable name
Sum 58 errors and 125 warnings
/data/pear/pear/Net_UserAgent/Detect/APC.php
error 2 You must use "/**" style comments for a file comment
error 22 Missing class doc comment
error 26 Missing function doc comment
warning 26 Line exceeds 85 characters; contains 102 characters
warning 28 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 29 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 30 Line exceeds 85 characters; contains 112 characters
warning 40 Line exceeds 85 characters; contains 112 characters
warning 57 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 73 You must use "/**" style comments for a function comment
error 84 Missing function doc comment
error 84 Method name "Net_UserAgent_Detect_APC::cache_restore" is not in camel caps format
error 87 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 96 Missing function doc comment
error 96 Method name "Net_UserAgent_Detect_APC::cache_save" is not in camel caps format
warning 99 Line exceeds 85 characters; contains 101 characters
warning 100 Line exceeds 85 characters; contains 102 characters
warning 101 Line exceeds 85 characters; contains 111 characters
warning 102 Line exceeds 85 characters; contains 106 characters
warning 103 Line exceeds 85 characters; contains 101 characters
warning 104 Line exceeds 85 characters; contains 96 characters
warning 105 Line exceeds 85 characters; contains 100 characters
warning 106 Line exceeds 85 characters; contains 104 characters
warning 107 Line exceeds 85 characters; contains 103 characters
warning 108 Line exceeds 85 characters; contains 101 characters
Sum 9 errors and 16 warnings