Home / Function/ CoverageByDomainToJSON() — typescript-sdk Function Reference

CoverageByDomainToJSON() — typescript-sdk Function Reference

Architecture documentation for the CoverageByDomainToJSON() function in CoverageByDomain.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/CoverageByDomain.ts lines 76–87

export function CoverageByDomainToJSON(value?: CoverageByDomain | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'domain': value['domain'],
        'totalFunctions': value['totalFunctions'],
        'testedFunctions': value['testedFunctions'],
        'coveragePercentage': value['coveragePercentage'],
    };
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free