5 "component": "struts:Action.java",
7 "rule": "squid:CycleBetweenPackages",
8 "severity": "CRITICAL",
14 "htmlText": "the first comment",
15 "createdAt": "2013-05-18T13:45:34+0200"
20 "htmlText": "the second comment",
21 "createdAt": "2013-06-19T00:02:03+0100"
29 "key": "squid:CycleBetweenPackages",
30 "name": "Avoid cycle between java packages",
31 "desc": "<p>\nWhen several packages are involved in a cycle (package A > package B > package C > package A where \">\" means \"depends upon\"),\nthat means that those packages are highly coupled and that there is no way to reuse/extract one of those packages without importing all the other packages.\nSuch cycle could quickly increase the effort required to maintain an application and to embrace business change.\nSonar not only detect cycles between packages but also determines what is the minimum effort to break those cycles.\nThis rule log a violation on each source file having an outgoing dependency to be but in order to break a cycle.\n</p>\n"
37 "key": "struts:Action.java",
40 "longName": "org.struts.Action"
49 "maxResultsReached": false