<format> element
Specifies the output format and various options controlling the rendering of a report.
Parameters for <format>
属性 | 説明 | 必須 |
---|---|---|
type | The output format in which to render the report. Valid values are | Yes, unless |
refid | The id of another format element that will be used for this report. See Sharing Report Formats. | いいえ。 |
ID | The id of this format element. | いいえ。 |
bw | Specify that the report should be black-and-white. Supported by PDF reports only. | No; defaults to " |
orderBy | Specify how to order coverage tables. This attribute has no effect on XML format. Valid values are: | No; defaults to |
noCache | (HTML only) If true, insert nocache directives in HTML output. | No; defaults to " |
srcLevel | If true, include source-level coverage information in the report. | No; defaults to " |
filter | comma or space separated list of contexts to exclude when generating coverage reports. See Using Coverage Contexts. | いいえ。 |
pageSize | (PDF only) Specify the page size to use. Valid values are | No; defaults to " |
showEmpty | If true, classes, files and packages that do not contain any executable code (i.e. methods, statements, or branches) are included in reports. These are normally not shown. | No; defaults to " |
tabWidth | (Source level reports only) The number of space chars to replace TAB characters with. | No; defaults to |
maxNameLength | The maximum length in chars of package or classnames in the report. Longer names will be truncated. A value < 0 indicates no limit. | No; defaults to no limit. |
callback | The name of the callback function to wrap the JSON. If set to an empty string, " ", then the JSON will not be wrapped. | No; default is 'processClover'. |