Skip to content

Add a report filter by parent class or interface #454

@shanshin

Description

@shanshin

In some cases, it is convenient to exclude from the report all classes inherited from one parent, or implementing a specific interface.
This is more convenient than annotating several classes located in different packages, but inherited from the same parent.

A new filter type should be added to the DSL:

koverReport {
    filters {
        excludes {
            inheritedFrom("foo.ParentClass", "foo.Interface")
        }        
    }
}

The possibility of this filtering should be added to intellij-reporter.

Metadata

Metadata

Assignees

Labels

FeatureFeature request issue type

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions