JSON Coverage Report
The JSON coverage-report format is provided to simplify the task of post-processing a PyUCIS coverage report. The JSON format is easily read and processed by Python as well as JSON libraries for other languages.
The JSON coverage-report format is a direct transcription of the Coverage Report Object API.
PyUCIS JSON Coverage Report
Validation schema for the PyUCIS machine-readable coverage report |
|||
type |
object |
||
properties |
|||
|
Coverage Report |
||
Root of the coverage report |
|||
type |
object |
||
properties |
|||
|
List of (type) covergroups |
||
type |
array |
||
items |
|||
|
Coverage percentage achieved by all covergroups |
||
type |
number |
||
additionalProperties |
False |
Covergroup Type
Contains information about a type covergroup |
||
properties |
||
|
Type name of the covergroup |
|
type |
string |
|
|
Coverage percentage achieved by this covergroup type |
|
type |
number |
|
|
List of coverpoints |
|
type |
array |
|
items |
||
|
List of instance covergroups |
|
type |
array |
|
items |
Covergroup Inst
Contains information about an instance covergroup |
||
type |
object |
|
properties |
||
|
Instance name of this covergroup |
|
type |
string |
|
|
Coverage percentage achieved by this covergroup type |
|
type |
number |
|
|
List of coverpoints |
|
type |
array |
|
items |
||
|
List of cross coverpoints |
|
type |
array |
|
items |
||
|
List of instance covergroups |
|
type |
array |
|
items |
Coverpoint
Coverage information about a coverpoint |
||
type |
object |
|
properties |
||
|
Leaf name of the coverpoint |
|
type |
string |
|
|
Coverage achieved by this cross |
|
type |
number |
|
|
List of coverage bins |
|
type |
array |
|
items |
||
|
List of ignored coverage bins |
|
type |
array |
|
items |
||
|
List of illegal coverage bins |
|
type |
array |
|
items |
Cross
Coverage information about a cross coverpoint |
||
type |
object |
|
properties |
||
|
Leaf name of the cross |
|
type |
string |
|
|
Coverage achieved by this cross |
|
type |
number |
|
|
List of coverage bins |
|
type |
array |
|
items |
Cover Bin
Coverpoint or cross bin |
||
type |
object |
|
properties |
||
|
Name of the bin |
|
type |
string |
|
|
Number of bin hits required to claim coverage |
|
type |
integer |
|
|
Number of hits the bin has |
|
type |
integer |