User Guide: CLI: Metrics Commands


DV8 Console Commands - Metrics Commands

Metrics Commands

DV8 measures a design structure using the following state-of-the-art metrics:

Propagation Cost (PC)
Decoupling Level (DL)
Independence Level (IL)
M-score

Calculate Propagation Cost (PC)

This command calculates the Propagation Cost (PC) score of a dependency matrix.

Usage

dv8-console metrics:propagation-cost [-h] [-outputFile <OUTPUTFILE>] INPUT_FILE

Input

The input must be a DSM file (*.dv8-dsm) generated by DV8.

Options

outputFile: Specifies the output file to create (*.json). By default, the output file is created with the same name as the input DSM file in the current working folder.

Example

dv8-console metrics:propagation-cost structure-dsm.dv8-dsm

    Calculate Decoupling Level (DL)

    This command calculates the Decoupling Level (DL) score of a dependency matrix.

    Usage

    dv8-console metrics:decoupling-level [-h] [-outputFile <OUTPUTFILE>] INPUT_FILE

    Input

    The input must be a DSM file (*.dv8-dsm) generated by DV8.

    Options

    outputFile: Specifies the output file to create (*.json). By default, the output file is created with the same name as the input DSM file in the current working folder.

    Example

    dv8-console metrics:decoupling-level structure-dsm.dv8-dsm

    Calculate Independence Level (IL)

    This command calculates the Independence Level (IL) score of a dependency matrix.

    Usage

    dv8-console metrics:independence-level [-h] [-outputFile <OUTPUTFILE>] INPUT_FILE

    Input

    The input must be a DSM file (*.dv8-dsm) generated by DV8.

    Options

    outputFile: Specifies the output file to create (*.json). By default, the output file is created with the same name as the input DSM file in the current working folder.

    Example

    dv8-console metrics:independence-level structure-dsm.dv8-dsm