From 78b9e4b1ba02e7b7c9185a8adb998e9313a52bea Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 25 Jan 2022 01:12:47 +0100 Subject: [PATCH] Added basic ideas for coverage reports. --- pyEDAA/Reports/Coverage/__init__.py | 87 +++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 pyEDAA/Reports/Coverage/__init__.py diff --git a/pyEDAA/Reports/Coverage/__init__.py b/pyEDAA/Reports/Coverage/__init__.py new file mode 100644 index 00000000..317e40df --- /dev/null +++ b/pyEDAA/Reports/Coverage/__init__.py @@ -0,0 +1,87 @@ +from pyTooling.Decorators import export + + +@export +class Base: + _coverage: float + + + +@export +class Directory(Base): + pass + + +@export +class File(Base): + pass + + +@export +class Hierarchy(Base): + pass + + +@export +class Entity(Base): + pass + + +@export +class Line(Base): + pass + + +@export +class Statement(Base): + pass + + +@export +class Branch(Base): + pass + + +@export +class Expression(Base): + pass + + +@export +class Statemachine(Entity): + pass + + +@export +class State(Base): + pass + + +@export +class Transition(Base): + pass + + +@export +class CoverageBin: + pass + + +@export +class ItemBin(CoverageBin): + pass + + +@export +class RangeBin(CoverageBin): + pass + + +@export +class Dimension: + pass + + +@export +class CoverageModel: + pass