Construct a DetailedRecord with the given data
the total count
the hit count
the miss count (optional: will be calculated from total and hit if not provided)
the initial detail map to be associated with the DetailedRecord
Details stored in this DetailedRecord
detail map
Hit Count
Miss Count
Total Count
Add a Detail
Clones the incoming detail and adds it to the stored details. If a detail already exists for the line number, the incoming detail will be combined with the existing detail.
the detail to add
Combine details
Combine the current detail map with an incoming detail map. If details exist in both maps, they will be combined, otherwise the data will be cloned.
This is a helper method to the combine methods.
Generated using TypeDoc
Detailed Coverage Record Data
A stuctured object to hold coverage counts for any piece of data (e.g. Branches, Functions, Lines) that also supports detailed data on the coverage counts (see @{link Detail | Detail} for more info).
This class also supports combining and cloning data.