Roodi Results

Roodi parses your Ruby code and warns you about design issues you have based on the checks that is has configured.

File Path Warning
lib/achoo/ui/date_chooser.rb:24 Method name "parse_date" cyclomatic complexity is 12. It should be 8 or less.
lib/achoo/app.rb:72 Method name "dispatch" cyclomatic complexity is 10. It should be 8 or less.
lib/achoo/ical.rb:34 Method name "print_events" cyclomatic complexity is 9. It should be 8 or less.
lib/achoo/achievo/hour_registration_form.rb:128 Found = in conditional. It should probably be an ==
lib/achoo/system/wtmp.rb:13 Found = in conditional. It should probably be an ==
lib/achoo/ical.rb:15 Don't use class variables. You might want to try a different design.
lib/achoo/ical.rb:15 Don't use class variables. You might want to try a different design.
lib/achoo/ical.rb:27 Don't use class variables. You might want to try a different design.
lib/achoo/ui/date_chooser.rb:33 Case statement is missing an else clause.
lib/achoo/ui/date_chooser.rb:42 Case statement is missing an else clause.
lib/achoo/app.rb:74 Case statement is missing an else clause.
lib/achoo/awake.rb:39 Block cyclomatic complexity is 8. It should be 4 or less.
lib/achoo/awake.rb:91 Block cyclomatic complexity is 5. It should be 4 or less.
lib/achoo/term.rb:32 Block cyclomatic complexity is 5. It should be 4 or less.
lib/achoo/ical.rb:38 Block cyclomatic complexity is 9. It should be 4 or less.
lib/achoo/app.rb:146 Rescue block should not be empty.
lib/achoo/awake.rb:37 Method "sessions" has 31 lines. It should have 20 or less.
lib/achoo/ui/register_hours.rb:15 Method "register_hours" has 30 lines. It should have 20 or less.
lib/achoo/ui/date_chooser.rb:24 Method "parse_date" has 28 lines. It should have 20 or less.
lib/achoo/achievo/hour_administration_form.rb:31 Method "show_registered_hours" has 21 lines. It should have 20 or less.
lib/achoo/achievo/hour_registration_form.rb:9 Method "initialize" has 26 lines. It should have 20 or less.

Generated on Tue May 04 19:54:00 +0000 2010