Skip to content

Coverage: Source of covered / uncovered data #788

Open
@Blebowski

Description

@Blebowski

When doing code coverage, there is no way how to find out in the generated report the original coverage
database that lead to the coverage item being covered or uncovered. This would be a nice feature.

This is related to adding --name option that would uniquely distinguish the elaborations of otherwise
equal design. We can either keep within covdb the path to the covdb itself, or keep the --name to distinguish
individual "runs".

Then, upon merging of coverage, the original path of all covdb that were merged would be placed into the covdb.
There would be a list of paths in the beginning of the covdb that would indicate all the DBs that were used to
get this final "merged" one.

During merging, we always know the covdb that is being currently "merged" into the "old" covdb. Thus, we could
keep per-tag mask of covdbs that lead to the tag being covered / uncovered. Only drawback is, that the number of
databases is not limited, so, the "per-tag" mask of covdbs would have variable length depending on the number of
covdbs. Or, we can support only e.g. up to 64 covdbs, but I would like this to work for unlimited number of covdbs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions