{ "rule": { "key": "squid:ArchitecturalConstraint", "repo": "squid", "name": "Architectural constraint", "createdAt": "2013-03-27T09:52:40+0100", "severity": "MAJOR", "status": "READY", "internalKey": "ArchitecturalConstraint", "isTemplate": true, "tags": [], "sysTags": [], "lang": "java", "langName": "Java", "htmlDesc": "

A source code comply to an architectural model when it fully\n\tadheres to a set of architectural constraints. A constraint allows to\n\tdeny references between classes by pattern.

\n

You can for instance use this rule to :

\n", "debtChar": "CHANGEABILITY", "debtSubChar": "ARCHITECTURE_CHANGEABILITY", "debtCharName": "Changeability", "debtSubCharName": "Architecture related changeability", "debtOverloaded": true, "debtRemFnType": "LINEAR", "debtRemFnCoeff": "3h", "params": [ { "key": "fromClasses", "htmlDesc": "Optional. If this property is not defined, all classes should adhere to this constraint. Ex : *.web.*", "type": "STRING" }, { "key": "toClasses", "htmlDesc": "Mandatory. Ex : java.util.Vector, java.util.Hashtable, java.util.Enumeration", "type": "STRING" } ] }, "actives": [] }