Severity minor, Drupal Commenting Standards, Internationalization, Drupal Security Checks, Drupal SQL Standards, Drupal Coding Standards sites/all/modules/pareview_temp/test_candidate/droogle.module: +48: [normal] Menu item titles and descriptions should NOT be enclosed within t(). +259: [normal] The $message argument to drupal_set_message() should be enclosed within t() so that it is translatable. +259: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized. +342: [normal] The $message argument to drupal_set_message() should be enclosed within t() so that it is translatable. +342: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized. +357: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure all !placeholders for $variables in t() are fully sanitized using check_plain(), filter_xss() or similar. sites/all/modules/pareview_temp/test_candidate/appsapis.inc: +103: [normal] The $message argument to drupal_set_message() should be enclosed within t() so that it is translatable. +103: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized. sites/all/modules/pareview_temp/test_candidate/google_tests.php: +5: [minor] put a space between the asterisk and the comment text +6: [minor] put a space between the asterisk and the comment text +7: [minor] put a space between the asterisk and the comment text +29: [minor] put a space between the asterisk and the comment text +41: [minor] the final ?> should be omitted from all code files Status Messages: Coder found 1 projects, 4 files, 4 critical warnings, 4 normal warnings, 5 minor warnings, 0 warnings were flagged to be ignored FILE: ...ce/drupal-7/sites/all/modules/pareview_temp/test_candidate/appsapis.inc -------------------------------------------------------------------------------- FOUND 140 ERROR(S) AND 45 WARNING(S) AFFECTING 147 LINE(S) -------------------------------------------------------------------------------- 44 | ERROR | Missing parameter type at position 1 46 | ERROR | Missing parameter type at position 2 49 | ERROR | Data type of return value is missing 50 | ERROR | Return comment indentation must be 2 additional spaces 73 | ERROR | You must use "/**" style comments for a function comment 78 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 79 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 81 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 82 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 83 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 85 | ERROR | Line indented incorrectly; expected 6 spaces, found 2 86 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 4 87 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 4 88 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 89 | ERROR | Line indented incorrectly; expected 10 spaces, found 6 90 | ERROR | Line indented incorrectly; expected at least 12 spaces, found | | 6 91 | ERROR | Closing brace indented incorrectly; expected 6 spaces, found 4 92 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 93 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 2 94 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 4 97 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 2 99 | ERROR | Line indented incorrectly; expected 6 spaces, found 2 100 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 4 100 | ERROR | Closing brace must be on a line by itself 104 | ERROR | Inline comments must start with a capital letter 107 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 129 | ERROR | You must use "/**" style comments for a function comment 149 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 150 | ERROR | Line indented incorrectly; expected 8 spaces, found 6 151 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 8 154 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 155 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 156 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 157 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 157 | ERROR | Inline comments must start with a capital letter 157 | ERROR | There must be no blank line following an inline comment 159 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 160 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 163 | ERROR | Inline comments must start with a capital letter 167 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 181 | ERROR | You must use "/**" style comments for a function comment 182 | WARNING | Line exceeds 80 characters; contains 86 characters 183 | WARNING | Line exceeds 80 characters; contains 105 characters 190 | WARNING | Line exceeds 80 characters; contains 116 characters 191 | WARNING | Line exceeds 80 characters; contains 101 characters 194 | WARNING | Line exceeds 80 characters; contains 82 characters 194 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 194 | ERROR | There must be no blank line following an inline comment 196 | WARNING | Line exceeds 80 characters; contains 94 characters 196 | ERROR | Inline comments must start with a capital letter 197 | WARNING | Line exceeds 80 characters; contains 126 characters 198 | WARNING | Line exceeds 80 characters; contains 92 characters 199 | WARNING | Line exceeds 80 characters; contains 91 characters 212 | ERROR | Space after opening parenthesis of function call prohibited 212 | ERROR | Space before closing parenthesis of function call prohibited 214 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 218 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 229 | ERROR | You must use "/**" style comments for a function comment 236 | WARNING | Line exceeds 80 characters; contains 117 characters 237 | WARNING | Line exceeds 80 characters; contains 102 characters 240 | WARNING | Line exceeds 80 characters; contains 83 characters 240 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 240 | ERROR | There must be no blank line following an inline comment 242 | WARNING | Line exceeds 80 characters; contains 95 characters 242 | ERROR | Inline comments must start with a capital letter 243 | WARNING | Line exceeds 80 characters; contains 127 characters 244 | WARNING | Line exceeds 80 characters; contains 93 characters 245 | WARNING | Line exceeds 80 characters; contains 92 characters 257 | ERROR | Space after opening parenthesis of function call prohibited 257 | ERROR | Space before closing parenthesis of function call prohibited 259 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 263 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 279 | ERROR | You must use "/**" style comments for a function comment 285 | WARNING | Line exceeds 80 characters; contains 116 characters 286 | WARNING | Line exceeds 80 characters; contains 101 characters 289 | WARNING | Line exceeds 80 characters; contains 82 characters 290 | WARNING | Line exceeds 80 characters; contains 94 characters 291 | WARNING | Line exceeds 80 characters; contains 126 characters 292 | WARNING | Line exceeds 80 characters; contains 92 characters 293 | WARNING | Line exceeds 80 characters; contains 91 characters 305 | ERROR | Space after opening parenthesis of function call prohibited 305 | ERROR | Space before closing parenthesis of function call prohibited 307 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 310 | ERROR | Inline comments must start with a capital letter 312 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 324 | ERROR | You must use "/**" style comments for a function comment 324 | WARNING | Line exceeds 80 characters; contains 146 characters 324 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 324 | ERROR | Comments may not appear after statements. 330 | WARNING | Line exceeds 80 characters; contains 116 characters 331 | WARNING | Line exceeds 80 characters; contains 101 characters 333 | WARNING | Line exceeds 80 characters; contains 149 characters 333 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 333 | ERROR | There must be no blank line following an inline comment 335 | WARNING | Line exceeds 80 characters; contains 94 characters 335 | ERROR | Inline comments must start with a capital letter 336 | WARNING | Line exceeds 80 characters; contains 126 characters 337 | WARNING | Line exceeds 80 characters; contains 92 characters 338 | WARNING | Line exceeds 80 characters; contains 91 characters 344 | ERROR | Space after opening parenthesis of function call prohibited 344 | ERROR | Space before closing parenthesis of function call prohibited 346 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 351 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 372 | ERROR | You must use "/**" style comments for a function comment 372 | ERROR | An operator statement must be followed by a single space 372 | ERROR | There must be a single space before an operator statement 372 | ERROR | An operator statement must be followed by a single space 372 | ERROR | There must be a single space before an operator statement 372 | ERROR | An operator statement must be followed by a single space 372 | ERROR | There must be a single space before an operator statement 372 | WARNING | Line exceeds 80 characters; contains 189 characters 372 | ERROR | Comments may not appear after statements. 373 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 373 | ERROR | There must be no blank line following an inline comment 382 | WARNING | A comma should follow the last multiline array item. Found: | | "your application name" 385 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 387 | ERROR | There must be no blank line following an inline comment 400 | ERROR | More than 2 empty lines are not allowed 401 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 401 | ERROR | There must be no blank line following an inline comment 404 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 404 | ERROR | There must be no blank line following an inline comment 409 | ERROR | Inline comments must start with a capital letter 411 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 417 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 427 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 430 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 435 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 446 | ERROR | You must use "/**" style comments for a function comment 458 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 459 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 473 | ERROR | Line indented incorrectly; expected at least 2 spaces, found 1 473 | ERROR | Inline comments must start with a capital letter 478 | WARNING | Line exceeds 80 characters; contains 98 characters 480 | ERROR | Line indented incorrectly; expected at least 2 spaces, found 1 480 | ERROR | There must be no blank line following an inline comment 497 | ERROR | You must use "/**" style comments for a function comment 506 | ERROR | Line indented incorrectly; expected at least 2 spaces, found 1 506 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 511 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 516 | ERROR | Inline comments must start with a capital letter 519 | WARNING | Line exceeds 80 characters; contains 81 characters 521 | WARNING | Line exceeds 80 characters; contains 108 characters 522 | WARNING | Line exceeds 80 characters; contains 95 characters 529 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 546 | ERROR | You must use "/**" style comments for a function comment 555 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 565 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 576 | ERROR | You must use "/**" style comments for a function comment 585 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 589 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 590 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 607 | ERROR | You must use "/**" style comments for a function comment 624 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 639 | ERROR | You must use "/**" style comments for a function comment 641 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 647 | WARNING | Line exceeds 80 characters; contains 116 characters 648 | WARNING | Line exceeds 80 characters; contains 101 characters 651 | WARNING | Line exceeds 80 characters; contains 82 characters 651 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 651 | ERROR | There must be no blank line following an inline comment 653 | WARNING | Line exceeds 80 characters; contains 94 characters 653 | ERROR | Inline comments must start with a capital letter 654 | WARNING | Line exceeds 80 characters; contains 126 characters 655 | WARNING | Line exceeds 80 characters; contains 92 characters 656 | WARNING | Line exceeds 80 characters; contains 91 characters 662 | ERROR | Space after opening parenthesis of function call prohibited 662 | ERROR | Space before closing parenthesis of function call prohibited 664 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 664 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 665 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 667 | WARNING | Line exceeds 80 characters; contains 110 characters 681 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 682 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 683 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 684 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 685 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 686 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 687 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 688 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 689 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 693 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 708 | ERROR | You must use "/**" style comments for a function comment 709 | ERROR | Inline control structures are not allowed 712 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...drupal-7/sites/all/modules/pareview_temp/test_candidate/droogle.install -------------------------------------------------------------------------------- FOUND 0 ERROR(S) AND 1 WARNING(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 9 | WARNING | Format should be "* Implements hook_foo()." or "Implements | | hook_foo_BAR_ID_bar() for xyz_bar." -------------------------------------------------------------------------------- FILE: .../drupal-7/sites/all/modules/pareview_temp/test_candidate/droogle.module -------------------------------------------------------------------------------- FOUND 214 ERROR(S) AND 12 WARNING(S) AFFECTING 182 LINE(S) -------------------------------------------------------------------------------- 13 | ERROR | You must use "/**" style comments for a function comment 16 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 17 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 17 | ERROR | Concat operator must be surrounded by spaces 17 | ERROR | Concat operator must be surrounded by spaces 20 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 21 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 26 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 33 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 39 | ERROR | You must use "/**" style comments for a function comment 61 | ERROR | You must use "/**" style comments for a function comment 150 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 159 | ERROR | You must use "/**" style comments for a function comment 164 | WARNING | Line exceeds 80 characters; contains 122 characters 164 | ERROR | Inline comments must start with a capital letter 164 | ERROR | Comments may not appear after statements. 165 | ERROR | Concat operator must be surrounded by spaces 167 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 168 | WARNING | Line exceeds 80 characters; contains 101 characters 168 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 169 | WARNING | Line exceeds 80 characters; contains 132 characters 169 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 170 | WARNING | Line exceeds 80 characters; contains 133 characters 170 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 171 | WARNING | Line exceeds 80 characters; contains 140 characters 171 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 172 | WARNING | Line exceeds 80 characters; contains 87 characters 172 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 173 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 174 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 175 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 175 | ERROR | Closing brace must be on a line by itself 176 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 184 | ERROR | Closing brace indented incorrectly; expected 6 spaces, found 4 185 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 185 | ERROR | Line indented incorrectly; expected 6 spaces, found 2 186 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 4 187 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 4 188 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 189 | WARNING | Line exceeds 80 characters; contains 147 characters 189 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 189 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 190 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 191 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 192 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 193 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 194 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 195 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 196 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 197 | ERROR | Line indented incorrectly; expected 10 spaces, found 6 198 | ERROR | Line indented incorrectly; expected at least 12 spaces, found | | 8 200 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 200 | ERROR | Line indented incorrectly; expected 10 spaces, found 6 201 | ERROR | Line indented incorrectly; expected at least 12 spaces, found | | 8 203 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 203 | WARNING | Line exceeds 80 characters; contains 107 characters 203 | ERROR | Inline comments must start with a capital letter 203 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 203 | ERROR | Comments may not appear after statements. 204 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 205 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 206 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 207 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 208 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 210 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 5 210 | ERROR | Inline comments must start with a capital letter 210 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 211 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 212 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 214 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 214 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 215 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 218 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 5 219 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 5 220 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 221 | ERROR | Closing brace indented incorrectly; expected 2 spaces, found 4 222 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 223 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 224 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 225 | ERROR | Line indented incorrectly; expected 8 spaces, found 6 226 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 8 227 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 8 230 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 231 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 232 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 234 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 2 235 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 237 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 238 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 3 239 | WARNING | Line exceeds 80 characters; contains 129 characters 242 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 243 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 244 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 245 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 247 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 247 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 248 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 249 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 249 | ERROR | Inline comments must start with a capital letter 249 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 250 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 251 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 252 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 253 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 254 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 255 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 256 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 257 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 258 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 259 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 260 | ERROR | Closing brace indented incorrectly; expected 4 spaces, found 6 263 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 266 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 267 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 268 | ERROR | Line indented incorrectly; expected 6 spaces, found 4 269 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 6 272 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 273 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 275 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 277 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 285 | ERROR | You must use "/**" style comments for a function comment 286 | ERROR | Inline comments must start with a capital letter 286 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 289 | ERROR | Inline comments must start with a capital letter 289 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 292 | ERROR | Inline comments must start with a capital letter 292 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 298 | ERROR | Inline comments must start with a capital letter 298 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 304 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 309 | ERROR | You must use "/**" style comments for a function comment 311 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 312 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 314 | ERROR | Expected "}\nelse {\n"; found "}\n\nelse{\n" 315 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 316 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 318 | ERROR | Inline comments must start with a capital letter 319 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 323 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 323 | ERROR | Inline comments must start with a capital letter 323 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 324 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 325 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 2 327 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 327 | ERROR | Inline comments must start with a capital letter 327 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 328 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 329 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 330 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 332 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 332 | ERROR | Inline comments must start with a capital letter 332 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 333 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 334 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 335 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 336 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 337 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 338 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 339 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 340 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 341 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 342 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 346 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 346 | ERROR | Inline comments must start with a capital letter 346 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 350 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 355 | ERROR | You must use "/**" style comments for a function comment 358 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 361 | WARNING | Format should be "* Implements hook_foo()." or "Implements | | hook_foo_BAR_ID_bar() for xyz_bar." 375 | ERROR | Array indentation error, expected 6 spaces but found 4 376 | ERROR | Array indentation error, expected 4 spaces but found 2 376 | ERROR | Array closing indentation error, expected 4 spaces but found 2 378 | ERROR | Array indentation error, expected 6 spaces but found 4 379 | ERROR | Array indentation error, expected 4 spaces but found 2 379 | ERROR | Array closing indentation error, expected 4 spaces but found 2 381 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 384 | WARNING | Format should be "* Implements hook_foo()." or "Implements | | hook_foo_BAR_ID_bar() for xyz_bar." 386 | ERROR | Missing parameter type at position 1 389 | ERROR | @return data type must not contain "$" 415 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 418 | WARNING | Format should be "* Implements hook_foo()." or "Implements | | hook_foo_BAR_ID_bar() for xyz_bar." 420 | ERROR | Missing parameter type at position 1 423 | ERROR | Missing parameter type at position 2 426 | ERROR | @return data type must not contain "$" 431 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 432 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 434 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 435 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 437 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 438 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 440 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 441 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 443 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 444 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 445 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 446 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 447 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 2 448 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 2 449 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 2 451 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 452 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 454 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 455 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 456 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 457 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 458 | ERROR | Line indented incorrectly; expected at least 4 spaces, found 2 462 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 470 | ERROR | You must use "/**" style comments for a function comment 470 | ERROR | An operator statement must be followed by a single space 470 | ERROR | There must be a single space before an operator statement 470 | ERROR | An operator statement must be followed by a single space 470 | ERROR | There must be a single space before an operator statement 470 | ERROR | An operator statement must be followed by a single space 470 | ERROR | There must be a single space before an operator statement 473 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 474 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 475 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 4 477 | ERROR | Line indented incorrectly; expected 4 spaces, found 2 478 | ERROR | Line indented incorrectly; expected 6 spaces, found 2 479 | ERROR | Line indented incorrectly; expected 8 spaces, found 4 480 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 481 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 482 | ERROR | Line indented incorrectly; expected at least 10 spaces, found | | 6 486 | ERROR | Line indented incorrectly; expected at least 6 spaces, found 2 490 | ERROR | Closing brace indented incorrectly; expected 0 spaces, found 2 491 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...rupal-7/sites/all/modules/pareview_temp/test_candidate/google_tests.php -------------------------------------------------------------------------------- FOUND 50 ERROR(S) AND 13 WARNING(S) AFFECTING 36 LINE(S) -------------------------------------------------------------------------------- 2 | WARNING | Line exceeds 80 characters; contains 96 characters 2 | ERROR | You must use "/**" style comments for a file comment 2 | ERROR | No space before comment text; expected "// THESE are tests of | | the droogle api to be done from the command line, not from | | within DRUPAL." but found "//THESE are tests of the droogle api | | to be done from the command line, not from within DRUPAL." 2 | ERROR | Whitespace found at end of line 6 | WARNING | Line exceeds 80 characters; contains 149 characters 7 | WARNING | Line exceeds 80 characters; contains 130 characters 11 | ERROR | No space before comment text; expected "// | | droogle_add_permission() below worked on 10/5/11" but found | | "//droogle_add_permission() below worked on 10/5/11" 12 | ERROR | No space before comment text; expected "// | | droogle_add_permission();" but found | | "//droogle_add_permission();" 12 | ERROR | There must be no blank line following an inline comment 14 | ERROR | No space before comment text; expected "// | | droogle_create_collection() test below worked on 10/5/11" but | | found "//droogle_create_collection() test below worked on | | 10/5/11" 15 | ERROR | No space before comment text; expected "// $result = | | droogle_create_collection('happy_folder3');" but found | | "//$result = droogle_create_collection('happy_folder3');" 16 | ERROR | No space before comment text; expected "// echo $result;" but | | found "//echo $result;" 16 | ERROR | There must be no blank line following an inline comment 18 | ERROR | No space before comment text; expected "// | | droogle_add_to_collection test below worked on 10/5/11" but | | found "//droogle_add_to_collection test below worked on | | 10/5/11" 19 | WARNING | Line exceeds 80 characters; contains 150 characters 19 | ERROR | No space before comment text; expected "// $result = | | droogle_add_to_collection('0B-a-StXYm5kcNDEwZGQ2ZWItZGY2YS00YTk0LWIxYTUtMGJhZGRjNjU1NDA3','14arxRyvD7-fWyMNsLr7-nWUYL66GFZqib_4ba83b-zs');" | | but found "//$result = | | droogle_add_to_collection('0B-a-StXYm5kcNDEwZGQ2ZWItZGY2YS00YTk0LWIxYTUtMGJhZGRjNjU1NDA3','14arxRyvD7-fWyMNsLr7-nWUYL66GFZqib_4ba83b-zs');" 20 | ERROR | No space before comment text; expected "// echo $result;" but | | found "//echo $result;" 20 | ERROR | There must be no blank line following an inline comment 22 | ERROR | No space before comment text; expected "// | | droogle_get_a_collection_id() to get a list of user's | | collections" but found "//droogle_get_a_collection_id() to get | | a list of user's collections" 23 | ERROR | No space before comment text; expected "// Test worked on | | 10/26/2011, returns a google collection id (string)" but found | | "//Test worked on 10/26/2011, returns a google collection id | | (string)" 24 | ERROR | No space found after comma in function call 24 | ERROR | No space found after comma in function call 27 | ERROR | No space before comment text; expected "// | | droogle_print_collection2('2011Fall-EPS7517-B71@babson.edu','password');" | | but found | | "//droogle_print_collection2('2011Fall-EPS7517-B71@babson.edu','password');" 27 | ERROR | There must be no blank line following an inline comment 32 | WARNING | Line exceeds 80 characters; contains 95 characters 32 | ERROR | No space before comment text; expected "// | | http://framework.zend.com/manual/en/zend.gdata.gapps.html for | | info on interracting with users" but found | | "//http://framework.zend.com/manual/en/zend.gdata.gapps.html | | for info on interracting with users" 33 | ERROR | No space before comment text; expected "// worked on | | 10/18/2011" but found "//worked on 10/18/2011" 34 | ERROR | No space before comment text; expected "// retuns an | | associative array of basic user information if successful or" | | but found "//retuns an associative array of basic user | | information if successful or" 34 | ERROR | Whitespace found at end of line 35 | WARNING | Line exceeds 80 characters; contains 105 characters 35 | ERROR | No space before comment text; expected "// "Caught exception: | | ERROR: The user object has no data" if the user object does not | | get set successfully" but found "//"Caught exception: ERROR: | | The user object has no data" if the user object does not get | | set successfully" 36 | ERROR | No space before comment text; expected "// this is the best | | function to run to just test connectivity to google" but found | | "//this is the best function to run to just test connectivity | | to google" 37 | ERROR | No space before comment text; expected "// $result = | | droogle_retrieve_user('testusername');" but found "//$result = | | droogle_retrieve_user('testusername');" 38 | ERROR | No space before comment text; expected "// print_r($result); | | //to view what's in the array" but found "//print_r($result); | | //to view what's in the array" 38 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 38 | ERROR | There must be no blank line following an inline comment 40 | ERROR | No space before comment text; expected "// worked on | | 10/18/2011" but found "//worked on 10/18/2011" 40 | ERROR | Inline comments must start with a capital letter 41 | WARNING | Line exceeds 80 characters; contains 89 characters 41 | ERROR | No space before comment text; expected "// result is a boolean | | and returns true if it works, returns an exception message if | | false" but found "//result is a boolean and returns true if it | | works, returns an exception message if false" 42 | ERROR | No space before comment text; expected "// $result = | | droogle_change_password('jbttest','jbtest123456');" but found | | "//$result = | | droogle_change_password('jbttest','jbtest123456');" 43 | WARNING | Line exceeds 80 characters; contains 84 characters 43 | ERROR | No space before comment text; expected "// if($result){echo | | 'password was changed';}else{echo 'there was an error | | '.$result;}" but found "//if($result){echo 'password was | | changed';}else{echo 'there was an error '.$result;}" 43 | ERROR | There must be no blank line following an inline comment 46 | ERROR | No space before comment text; expected "// worked on | | 10/18/2011" but found "//worked on 10/18/2011" 46 | ERROR | Inline comments must start with a capital letter 47 | WARNING | Line exceeds 80 characters; contains 93 characters 47 | ERROR | No space before comment text; expected "// result is a boolean | | and returns true if successful otherwise an exception message | | is thrown" but found "//result is a boolean and returns true if | | successful otherwise an exception message is thrown" 48 | WARNING | Line exceeds 80 characters; contains 91 characters 48 | ERROR | No space before comment text; expected "// $result = | | droogle_create_user('jbtest', 'testfirstname', 'testlastname', | | 'jbtest212345');" but found "//$result = | | droogle_create_user('jbtest', 'testfirstname', 'testlastname', | | 'jbtest212345');" 49 | WARNING | Line exceeds 80 characters; contains 93 characters 49 | ERROR | No space before comment text; expected "// if($result){echo | | 'User was created successfully';}else{echo 'there was an error | | '.$result;}" but found "//if($result){echo 'User was created | | successfully';}else{echo 'there was an error '.$result;}" 49 | ERROR | There must be no blank line following an inline comment 51 | ERROR | No space before comment text; expected "// worked on | | 10/18/2011" but found "//worked on 10/18/2011" 51 | ERROR | Inline comments must start with a capital letter 52 | WARNING | Line exceeds 80 characters; contains 93 characters 52 | ERROR | No space before comment text; expected "// result is a boolean | | and returns true if it works, and returns an exception message | | if false" but found "//result is a boolean and returns true if | | it works, and returns an exception message if false" 53 | ERROR | No space before comment text; expected "// $result = | | droogle_delete_user('jbtest');" but found "//$result = | | droogle_delete_user('jbtest');" 54 | WARNING | Line exceeds 80 characters; contains 93 characters 54 | ERROR | No space before comment text; expected "// if($result){echo | | 'User was deleted successfully';}else{echo 'there was an error | | '.$result;}" but found "//if($result){echo 'User was deleted | | successfully';}else{echo 'there was an error '.$result;}" 54 | ERROR | There must be no blank line following an inline comment 58 | ERROR | More than 2 empty lines are not allowed 60 | ERROR | Files must end in a single new line character --------------------------------------------------------------------------------