codegram/pelusa — Issue #19: Incorrect reporting of a Law of Demeter violation
Author: arwagner
Created: 2012-02-27 05:55:15+00:00
State: open

In the following code, it claims that there is a law of demeter violation in Foo#execute, which is not true.

class Bar
def execute
end
end

class Foo
def execute
Bar.new.execute
end
end

Foo.new.execute