Incorrectly detecting method line count #2

Closed
yob opened this Issue Jun 15, 2009 · 2 comments

Comments

Projects
None yet
2 participants

yob commented Jun 15, 2009

I have the following private method in one of my Rails controllers:

def add_resources
  @stylesheets.push(:customer_orders)
  @javascripts.push(:finder, :effects, :controls, :lightbox, :customer_orders, :customer_alert)
end

A roodi check on this method raises the following issue:

app/controllers/customer_orders_controller.rb:123 - Method "add_resources" has 124 lines.  It should have 50 or less

@evjan evjan pushed a commit that referenced this issue Aug 14, 2013

@bf4 bf4 [#2] Merge branch 'MGotink-master' 43829c5
Contributor

evjan commented Aug 16, 2013

I've failed to recreate this. Is it still a problem? If so, could I get a larger code sample?

Contributor

evjan commented Nov 9, 2013

Closing this as I can't reproduce it and haven't gotten a confirmation that the problems still exists. Please let me know if you can reproduce it and I'll take another look.

evjan closed this Nov 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment