com.sonar.sqale.css-model.xml Maven / Gradle / Ivy
<sqale> <chc> <key>MAINTAINABILITY</key> <name>Maintainability</name> <chc> <key>UNDERSTANDABILITY</key> <name>Understandability</name> <chc> <rule-repo>css</rule-repo> <rule-key>empty-rules</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>5.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>InsufficientCommentDensity</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>5.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>READABILITY</key> <name>Readability</name> </chc> </chc> <chc> <key>EFFICIENCY</key> <name>Efficiency</name> <chc> <key>CPU_EFFICIENCY</key> <name>CPU</name> <chc> <rule-repo>css</rule-repo> <rule-key>regex-selectors</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>universal-selector</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> </chc> <chc> <!-- <key>NETWORK_EFFICIENCY</key> <name>Network usage</name> TEMPORARY HACK TILL THE PROPER SUB-CH IS NOT ADDED --> <key>MEMORY_EFFICIENCY</key> <name>Memory use</name> <chc> <rule-repo>css</rule-repo> <rule-key>import</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>overqualified-elements</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>zero-units</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>2.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>font-faces</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>5.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>display-property-grouping</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>5.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>shorthand</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>5.0</val> <txt>mn</txt> </prop> </chc> </chc> </chc> <chc> <key>CHANGEABILITY</key> <name>Changeability</name> <chc> <key>LOGIC_CHANGEABILITY</key> <name>Logic</name> <chc> <rule-repo>css</rule-repo> <rule-key>important</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>overspecific-selectors</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>2.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>DuplicatedBlocks</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>2.0</val> <txt>h</txt> </prop> </chc> </chc> <chc> <key>DATA_CHANGEABILITY</key> <name>Data</name> <chc> <rule-repo>css</rule-repo> <rule-key>duplicate-background-images</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>ARCHITECTURE_CHANGEABILITY</key> <name>Architecture</name> <chc> <rule-repo>css</rule-repo> <rule-key>ids</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> </chc> </chc> <chc> <key>RELIABILITY</key> <name>Reliability</name> <chc> <key>LOGIC_RELIABILITY</key> <name>Logic</name> <chc> <rule-repo>css</rule-repo> <rule-key>duplicate-properties</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>known-properties</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>ARCHITECTURE_RELIABILITY</key> <name>Architecture</name> <chc> <rule-repo>css</rule-repo> <rule-key>box-model</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>bulletproof-font-face</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>star-property-hack</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>underscore-property-hack</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>h</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>gradients</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>compatible-vendor-prefixes</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>css</rule-repo> <rule-key>vendor-prefix</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>10.0</val> <txt>mn</txt> </prop> </chc> </chc> </chc> <chc> <key>TESTABILITY</key> <name>Testability</name> </chc> </sqale>