Importing XML data - If you import Code coverage data from an XML file, you can only see statistics for line coverage, not block coverage.
汇入xml资料:如果您从XML档案汇入程序码涵盖范围资料,则只会看到程序码行涵盖范围的统计资料,而非程序码区块涵盖范围的统计资料。
However, if you re-import this XML file and then merge it with additional code coverage data, only the statistics on line coverage are retained, not the statistics on block coverage.
不过,如果您重新汇入这个xml档,并将它与其他程序码涵盖范围资料合并,则只会保留程序码行涵盖范围的统计资料,而不会保留程序码区块涵盖范围的统计资料。
Figure 5 below shows an example of a report with block-level coverage.
图5显示了块层次的覆盖率的例子。
应用推荐