Skip to content

Coverage refactoring - Tracking Issue #880

Closed
@Blebowski

Description

@Blebowski

Convert all Cover Items to one Bin per item, make each item counter:

  1. Branch coverage - Done only half-way, coverage reporting still uses to mask and flag.
  2. FSM coverage - Each bin single item, but mask is used
  3. Toggle coverage - Not done
  4. Expression coverage - Not done

Fully encode bin name into the cover item hierarchy:

  1. FSM coverage
  2. Toggle coverage
  3. Branch coverage
  4. Expression coverage

Other internal refactoring / improvements:

  1. Saturate run-time counters to avoid overflow and therefore rarily marking covered item as uncovered.
  2. Convert unreachability mask to a single bit flag. Since single cover item is single bin, no "unreachability mask" is needed.
  3. Convert exclude mask to single bit flag. The same as above

Changes related to the "user":

  1. Change specification of exclude files not to require bin name separately -> Since bin name will be part of hierarchy, this will simplify exclude file, its loading, checking and handling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions