diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-01-19 14:51:17 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-01-19 14:51:17 -0500 |
commit | 0b942b28f39ad0762cd1a82eb808a56ea33bf25b (patch) | |
tree | 0de23b298207a6dfb32cd89a2bac543e19980d37 /lab | |
parent | 99a6946cdc2a646b965df5826e9165a26271cd03 (diff) | |
download | python-coveragepy-git-0b942b28f39ad0762cd1a82eb808a56ea33bf25b.tar.gz |
The DTD for cobertura, for reference
Diffstat (limited to 'lab')
-rw-r--r-- | lab/coverage-03.dtd | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/lab/coverage-03.dtd b/lab/coverage-03.dtd new file mode 100644 index 00000000..8a3f8c22 --- /dev/null +++ b/lab/coverage-03.dtd @@ -0,0 +1,55 @@ +<!-- Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. +--> + +<!ELEMENT coverage (sources?,packages)> +<!ATTLIST coverage line-rate CDATA #REQUIRED> +<!ATTLIST coverage branch-rate CDATA #REQUIRED> +<!ATTLIST coverage version CDATA #REQUIRED> +<!ATTLIST coverage timestamp CDATA #REQUIRED> + +<!ELEMENT sources (source*)> + +<!ELEMENT source (#PCDATA)> + +<!ELEMENT packages (package*)> + +<!ELEMENT package (classes)> +<!ATTLIST package name CDATA #REQUIRED> +<!ATTLIST package line-rate CDATA #REQUIRED> +<!ATTLIST package branch-rate CDATA #REQUIRED> +<!ATTLIST package complexity CDATA #REQUIRED> + +<!ELEMENT classes (class*)> + +<!ELEMENT class (methods,lines)> +<!ATTLIST class name CDATA #REQUIRED> +<!ATTLIST class filename CDATA #REQUIRED> +<!ATTLIST class line-rate CDATA #REQUIRED> +<!ATTLIST class branch-rate CDATA #REQUIRED> +<!ATTLIST class complexity CDATA #REQUIRED> + +<!ELEMENT methods (method*)> + +<!ELEMENT method (lines)> +<!ATTLIST method name CDATA #REQUIRED> +<!ATTLIST method signature CDATA #REQUIRED> +<!ATTLIST method line-rate CDATA #REQUIRED> +<!ATTLIST method branch-rate CDATA #REQUIRED> + +<!ELEMENT lines (line*)> + +<!ELEMENT line (conditions*)> +<!ATTLIST line number CDATA #REQUIRED> +<!ATTLIST line hits CDATA #REQUIRED> +<!ATTLIST line branch CDATA "false"> +<!ATTLIST line condition-coverage CDATA "100%"> + +<!ELEMENT conditions (condition*)> + +<!ELEMENT condition EMPTY> +<!ATTLIST condition number CDATA #REQUIRED> +<!ATTLIST condition type CDATA #REQUIRED> +<!ATTLIST condition coverage CDATA #REQUIRED> |