Please, prefix the report title with the language it applies to within brackets, such as [java] or [apex]. If not specific to a language, you can use [core]
Rule Set: java-coupling/LawOfDemeter
Description:
LoD reports a false positive when method calls are placed between the var declaration and assignment.
Code Sample demonstrating the issue:
public class Foo { public void example() { String something; C c = new C(); c.doIt(); something = "no worries"; } }
Running PMD through: Any
Placeholder report for PR #266
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4