com.sonar.sqale.python-model.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-python-plugin Show documentation
Show all versions of sonar-python-plugin Show documentation
Enable analysis and reporting on python projects.
<sqale><chc><key>PORTABILITY</key><name>Portability</name><chc><key>COMPILER_RELATED_PORTABILITY</key><name>Compiler related portability</name></chc><chc><key>HARDWARE_RELATED_PORTABILITY</key><name>Hardware related portability</name></chc><chc><key>LANGUAGE_RELATED_PORTABILITY</key><name>Language related portability</name><chc><rule-repo>python</rule-repo><rule-key>InequalityUsage</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>python</rule-repo><rule-key>BackticksUsage</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>python</rule-repo><rule-key>PrintStatementUsage</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>OS_RELATED_PORTABILITY</key><name>OS related portability</name></chc><chc><key>SOFTWARE_RELATED_PORTABILITY</key><name>Software related portability</name></chc><chc><key>TIME_ZONE_RELATED_PORTABILITY</key><name>Time zone related portability</name></chc></chc><chc><key>MAINTAINABILITY</key><name>Maintainability</name><chc><key>READABILITY</key><name>Readability</name><chc><rule-repo>python</rule-repo><rule-key>LongIntegerWithLowercaseSuffixUsage</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>python</rule-repo><rule-key>OneStatementPerLine</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>python</rule-repo><rule-key>LineLength</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>UNDERSTANDABILITY</key><name>Understandability</name><chc><rule-repo>common-py</rule-repo><rule-key>InsufficientCommentDensity</rule-key><prop><key>remediationFunction</key><txt>linear</txt></prop><prop><key>remediationFactor</key><val>3.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><chc><key>SECURITY_FEATURES</key><name>Security features</name></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 related changeability</name></chc><chc><key>DATA_CHANGEABILITY</key><name>Data related changeability</name></chc><chc><key>LOGIC_CHANGEABILITY</key><name>Logic related changeability</name></chc></chc><chc><key>RELIABILITY</key><name>Reliability</name><chc><key>ARCHITECTURE_RELIABILITY</key><name>Architecture related reliability</name></chc><chc><key>DATA_RELIABILITY</key><name>Data related reliability</name></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 related reliability</name><chc><rule-repo>python</rule-repo><rule-key>ExecStatementUsage</rule-key><prop><key>remediationFunction</key><txt>linear</txt></prop><prop><key>remediationFactor</key><val>30.0</val><txt>mn</txt></prop></chc><chc><rule-repo>python</rule-repo><rule-key>PreIncrementDecrement</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>LOGIC_RELIABILITY</key><name>Logic related reliability</name><chc><rule-repo>common-py</rule-repo><rule-key>DuplicatedBlocks</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>SYNCHRONIZATION_RELIABILITY</key><name>Synchronization related reliability</name></chc><chc><key>UNIT_TESTS</key><name>Unit tests</name><chc><rule-repo>common-py</rule-repo><rule-key>InsufficientLineCoverage</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-py</rule-repo><rule-key>InsufficientBranchCoverage</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><chc><key>TESTABILITY</key><name>Testability</name><chc><key>INTEGRATION_TESTABILITY</key><name>Integration level testability</name></chc><chc><key>UNIT_TESTABILITY</key><name>Unit level testability</name><chc><rule-repo>python</rule-repo><rule-key>NestedIfDepth</rule-key><prop><key>remediationFunction</key><txt>linear</txt></prop><prop><key>remediationFactor</key><val>30.0</val><txt>mn</txt></prop></chc><chc><rule-repo>python</rule-repo><rule-key>FunctionComplexity</rule-key><prop><key>remediationFunction</key><txt>linear_offset</txt></prop><prop><key>remediationFactor</key><val>20.0</val><txt>mn</txt></prop><prop><key>offset</key><val>2.0</val><txt>mn</txt></prop></chc><chc><rule-repo>python</rule-repo><rule-key>ClassComplexity</rule-key><prop><key>remediationFunction</key><txt>linear_offset</txt></prop><prop><key>remediationFactor</key><val>20.0</val><txt>mn</txt></prop><prop><key>offset</key><val>2.0</val><txt>mn</txt></prop></chc><chc><rule-repo>python</rule-repo><rule-key>FileComplexity</rule-key><prop><key>remediationFunction</key><txt>linear_offset</txt></prop><prop><key>remediationFactor</key><val>20.0</val><txt>mn</txt></prop><prop><key>offset</key><val>2.0</val><txt>mn</txt></prop></chc></chc></chc><chc><key>REUSABILITY</key><name>Reusability</name><chc><key>MODULARITY</key><name>Modularity</name></chc><chc><key>TRANSPORTABILITY</key><name>Transportability</name></chc></chc></sqale>