ArchUnitTS - v2.2.0
    Preparing search index...

    Class Abstractness

    Abstractness metric (A)

    Measures the ratio of abstract declarations to total declarations in a file. Formula: A = Na / N Where:

    • Na = number of abstract elements (interfaces, abstract classes, abstract methods)
    • N = total number of declarations

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: string = 'Abstractness'
    description: string = 'Measures the ratio of abstract elements to total declarations (0 = concrete, 1 = abstract)'

    Methods