File: codesize.xml

Recommend this page to a friend!
  Classes of Fernando Val  >  PHP Installment Payment Calculator  >  codesize.xml  >  Download  
File: codesize.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Installment Payment Calculator
Calculate the amount of installments on loans
Author: By
Last change:
Date: 2 months ago
Size: 1,957 bytes
 

Contents

Class file image Download
<?xml version="1.0"?>
<ruleset name="Springy PHPMD rule set"
         xmlns="http://pmd.sf.net/ruleset/1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
                     http://pmd.sf.net/ruleset_xml_schema.xsd"
         xsi:noNamespaceSchemaLocation="
                     http://pmd.sf.net/ruleset_xml_schema.xsd">
    <description>
        Springy PHPMD ruleset
    </description>

    <rule ref="rulesets/cleancode.xml" />

    <rule ref="rulesets/codesize.xml">
        <exclude name="CyclomaticComplexity" />
        <exclude name="NPathComplexity" />
        <exclude name="TooManyPublicMethods" />
        <exclude name="TooManyFields" />
    </rule>
    <rule ref="rulesets/codesize.xml/CyclomaticComplexity">
        <properties>
            <property name="reportLevel" description="The Cyclomatic Complexity reporting threshold" value="15"/>
            <property name="showClassesComplexity" description="Indicate if class average violation should be added to the report" value="true"/>
            <property name="showMethodsComplexity" description="Indicate if class average violation should be added to the report" value="true"/>
        </properties>
    </rule>
    <rule ref="rulesets/codesize.xml/NPathComplexity">
        <properties>
            <property name="minimum" description="The npath reporting threshold" value="600"/>
        </properties>
    </rule>
    <rule ref="rulesets/codesize.xml/TooManyFields">
        <properties>
            <property name="maxfields" description="The field count reporting threshold" value="20"/>
        </properties>
    </rule>

    <rule ref="rulesets/controversial.xml" />

    <rule ref="rulesets/design.xml" />

    <rule ref="rulesets/naming.xml" />

    <rule ref="rulesets/unusedcode.xml" />

    <exclude-pattern>tests/*</exclude-pattern>
    <exclude-pattern>vendor/*</exclude-pattern>
</ruleset>

For more information send a message to info at phpclasses dot org.