多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# C.5 CoverageReportTask The CoverageReportTask formats a coverage database into a framed HTML report using XSLT. The report can optionally make use of the **Ge**neric **S**yntax **Hi**ghlighting library, `GeSHi` (See [GeSHi Homepage](http://qbnz.com/highlighter/)) library to mark up source code. The path to the library (if not in the default path) can be specified as an attribute. Table C.5:聽Attributes NameTypeDescriptionDefaultRequired`outfile``String`The location for the intermediate XML file.coverage.dbYes`classpath``String`Additional classpath to locate source referenced in the report.n/aNo`geshipath``String`Path to GeSHi highlighting library.n/aNo/Yes\* If syntax highlighting is to be enabled`geshilanguagespath``String`Language to use with GeSHi.n/aNo C.5.1 Example ``` <coverage-report outfile="reports/coverage.xml"> <report todir="reports/coverage" styledir="/home/phing/etc"/> </coverage-report> ``` C.5.2 Supported Nested Tags - report Table C.6:聽Attributes NameTypeDescriptionDefaultRequired`styledir``String`The directory where the stylesheets are located.The `etc` directory in the Phing installation.No`todir``String`The directory where the files resulting from the transformation should be written to.聽Yes`title``String`Title of the project (used in the generated document(s)).聽No`usesorttable``Boolean`Whether to use the sorttable JavaScript library (see <http://www.kryogenix.org/code/browser/sorttable/>).`false`No