com.sonar.sqale.php-model.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-php-plugin Show documentation
Show all versions of sonar-php-plugin Show documentation
Sonar PHP Plugin is set of tools that brings PHP support to sonar. It relies on Sonar core, PHP Depend, PHPMD, PHP_CodeSniffer and PHPUnit
<sqale> <chc> <key>REUSABILITY</key> <name>Reusability</name> <chc> <key>MODULARITY</key> <name>Modularity</name> </chc> <chc> <key>TRANSPORTABILITY</key> <name>Transportability</name> </chc> </chc> <chc> <key>PORTABILITY</key> <name>Portability</name> <chc> <key>COMPILER_RELATED_PORTABILITY</key> <name>Compiler</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1603</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>php</rule-repo> <rule-key>S1605</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>php</rule-repo> <rule-key>S1600</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>2.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>HARDWARE_RELATED_PORTABILITY</key> <name>Hardware</name> </chc> <chc> <key>LANGUAGE_RELATED_PORTABILITY</key> <name>Language</name> </chc> <chc> <key>OS_RELATED_PORTABILITY</key> <name>OS</name> </chc> <chc> <key>SOFTWARE_RELATED_PORTABILITY</key> <name>Software</name> </chc> <chc> <key>TIME_ZONE_RELATED_PORTABILITY</key> <name>Time zone</name> </chc> </chc> <chc> <key>MAINTAINABILITY</key> <name>Maintainability</name> <chc> <key>READABILITY</key> <name>Readability</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1066</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>6.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S1105</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S1109</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S105</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>php</rule-repo> <rule-key>S115</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>php</rule-repo> <rule-key>S113</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>php</rule-repo> <rule-key>S1126</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>php</rule-repo> <rule-key>S101</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>php</rule-repo> <rule-key>S1145</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>php</rule-repo> <rule-key>S1151</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>php</rule-repo> <rule-key>S1125</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>php</rule-repo> <rule-key>S104</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>php</rule-repo> <rule-key>S100</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>php</rule-repo> <rule-key>S139</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S1301</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>php</rule-repo> <rule-key>S1264</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>php</rule-repo> <rule-key>S103</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S121</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>php</rule-repo> <rule-key>S116</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>php</rule-repo> <rule-key>S1131</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>UNDERSTANDABILITY</key> <name>Understandability</name> <chc> <rule-repo>common-php</rule-repo> <rule-key>InsufficientCommentDensity</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S1142</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>20.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S138</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>20.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S1172</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>php</rule-repo> <rule-key>S1599</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>php</rule-repo> <rule-key>S907</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>php</rule-repo> <rule-key>S1311</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>php</rule-repo> <rule-key>S1068</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>SECURITY</key> <name>Security</name> <chc> <key>API_ABUSE</key> <name>API abuse</name> </chc> <chc> <key>ERRORS</key> <name>Errors</name> </chc> <chc> <key>INPUT_VALIDATION_AND_REPRESENTATION</key> <name>Input validation and representation</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1523</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>30.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>SECURITY_FEATURES</key> <name>Security features</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1451</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>EFFICIENCY</key> <name>Efficiency</name> <chc> <key>MEMORY_EFFICIENCY</key> <name>Memory use</name> </chc> <chc> <key>CPU_EFFICIENCY</key> <name>Processor use</name> </chc> </chc> <chc> <key>CHANGEABILITY</key> <name>Changeability</name> <chc> <key>ARCHITECTURE_CHANGEABILITY</key> <name>Architecture</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1448</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>DATA_CHANGEABILITY</key> <name>Data</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1479</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>30.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>LOGIC_CHANGEABILITY</key> <name>Logic</name> <chc> <rule-repo>common-php</rule-repo> <rule-key>DuplicatedBlocks</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>php</rule-repo> <rule-key>S134</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>RELIABILITY</key> <name>Reliability</name> <chc> <key>ARCHITECTURE_RELIABILITY</key> <name>Architecture</name> </chc> <chc> <key>DATA_RELIABILITY</key> <name>Data</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1192</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>EXCEPTION_HANDLING</key> <name>Exception handling</name> </chc> <chc> <key>FAULT_TOLERANCE</key> <name>Fault tolerance</name> </chc> <chc> <key>INSTRUCTION_RELIABILITY</key> <name>Instruction</name> <chc> <rule-repo>php</rule-repo> <rule-key>S1116</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>2.0</val> <txt>mn</txt> </prop> </chc> </chc> <chc> <key>LOGIC_RELIABILITY</key> <name>Logic</name> <chc> <rule-repo>php</rule-repo> <rule-key>S127</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>php</rule-repo> <rule-key>S128</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>php</rule-repo> <rule-key>S126</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>php</rule-repo> <rule-key>S131</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>php</rule-repo> <rule-key>S108</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>RESOURCE_RELIABILITY</key> <name>Resource</name> </chc> <chc> <key>SYNCHRONIZATION_RELIABILITY</key> <name>Synchronization</name> </chc> <chc> <key>UNIT_TESTS</key> <name>Unit tests coverage</name> </chc> </chc> <chc> <key>TESTABILITY</key> <name>Testability</name> <chc> <key>INTEGRATION_TESTABILITY</key> <name>Integration level</name> </chc> <chc> <key>UNIT_TESTABILITY</key> <name>Unit level</name> <chc> <rule-repo>common-php</rule-repo> <rule-key>InsufficientLineCoverage</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>1.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>common-php</rule-repo> <rule-key>InsufficientBranchCoverage</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>common-php</rule-repo> <rule-key>FailedUnitTests</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>common-php</rule-repo> <rule-key>SkippedUnitTests</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>php</rule-repo> <rule-key>S1067</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>php</rule-repo> <rule-key>S107</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>20.0</val> <txt>mn</txt> </prop> </chc> <chc> <rule-repo>php</rule-repo> <rule-key>S1541</rule-key> <prop> <key>remediationFunction</key> <txt>linear</txt> </prop> <prop> <key>remediationFactor</key> <val>30.0</val> <txt>mn</txt> </prop> </chc> </chc> </chc> </sqale>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy