Example

<phpdepend file="path/to/source">
   <logger type="phpunit-xml" outfile="reports/metrics.xml"/>
 </phpdepend>

Running code analysis for source files in the given path.

<phpdepend>
   <fileset dir="${builddir}">
     <include name="apps/**/*.php" />
     <include name="lib/de/**/*.php" />
   </fileset>
   <logger type="jdepend-xml" outfile="reports/jdepend.xml"/>
   <analyzer type="coderank-mode" value="method"/>
 </phpdepend>

Running code analysis for source files in the fileset pathes with CodeRank strategy method.