1 <?xml version="1.0" encoding="utf-8" ?>
4 bootstrap="/path/to/bootstrap.php"
5 convertErrorsToExceptions="true"
6 convertNoticesToExceptions="true"
7 convertWarningsToExceptions="true"
9 <testsuite name="My Test Suite">
10 <directory suffix="Test.php">/path/to/files</directory>
11 <file>/path/to/MyTest.php</file>
25 <directory suffix=".php">/path/to/files</directory>
26 <file>/path/to/file</file>
28 <directory suffix=".php">/path/to/files</directory>
29 <file>/path/to/file</file>
32 <whitelist addUncoveredFilesFromWhitelist="true">
33 <directory suffix=".php">/path/to/files</directory>
34 <file>/path/to/file</file>
36 <directory suffix=".php">/path/to/files</directory>
37 <file>/path/to/file</file>
43 <log type="coverage-html" target="/tmp/report" charset="UTF-8"
44 yui="true" highlight="false"
45 lowUpperBound="35" highLowerBound="70"/>
46 <log type="coverage-clover" target="/tmp/clover.xml"/>
47 <log type="coverage-source" target="/tmp/coverage"/>
48 <log type="graphviz" target="/tmp/logfile.dot"/>
49 <log type="json" target="/tmp/logfile.json"/>
50 <log type="metrics-xml" target="/tmp/metrics.xml"/>
51 <log type="plain" target="/tmp/logfile.txt"/>
52 <log type="pmd-xml" target="/tmp/pmd.xml" cpdMinLines="5" cpdMinMatches="70"/>
53 <log type="tap" target="/tmp/logfile.tap"/>
54 <log type="test-xml" target="/tmp/logfile.xml" logIncompleteSkipped="false"/>
55 <log type="story-html" target="/tmp/story.html"/>
56 <log type="story-text" target="/tmp/story.txt"/>
57 <log type="testdox-html" target="/tmp/testdox.html"/>
58 <log type="testdox-text" target="/tmp/testdox.txt"/>
61 <rule class="PHPUnit_Util_Log_PMD_Rule_Project_CRAP"
62 threshold="5,30" priority="1"/>
63 <rule class="PHPUnit_Util_Log_PMD_Rule_Class_DepthOfInheritanceTree"
64 threshold="6" priority="1"/>
65 <rule class="PHPUnit_Util_Log_PMD_Rule_Class_EfferentCoupling"
66 threshold="20" priority="1"/>
67 <rule class="PHPUnit_Util_Log_PMD_Rule_Class_ExcessiveClassLength"
68 threshold="1000" priority="1"/>
69 <rule class="PHPUnit_Util_Log_PMD_Rule_Class_ExcessivePublicCount"
70 threshold="45" priority="1"/>
71 <rule class="PHPUnit_Util_Log_PMD_Rule_Class_TooManyFields"
72 threshold="15" priority="1"/>
73 <rule class="PHPUnit_Util_Log_PMD_Rule_Function_CodeCoverage"
74 threshold="35,70" priority="1"/>
75 <rule class="PHPUnit_Util_Log_PMD_Rule_Function_CRAP"
76 threshold="30" priority="1"/>
77 <rule class="PHPUnit_Util_Log_PMD_Rule_Function_CyclomaticComplexity"
78 threshold="20" priority="1"/>
79 <rule class="PHPUnit_Util_Log_PMD_Rule_Function_ExcessiveMethodLength"
80 threshold="100" priority="1"/>
81 <rule class="PHPUnit_Util_Log_PMD_Rule_Function_ExcessiveParameterList"
82 threshold="10" priority="1"/>
83 <rule class="PHPUnit_Util_Log_PMD_Rule_Function_NPathComplexity"
84 threshold="200" priority="1"/>
89 <ini name="foo" value="bar"/>
90 <var name="foo" value="bar"/>
94 <browser name="Firefox on Linux"
95 browser="*firefox /usr/lib/firefox/firefox-bin"