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

CoverageByFileFromJSONTyped() — typescript-sdk Function Reference

Architecture documentation for the CoverageByFileFromJSONTyped() function in CoverageByFile.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  0ad6bb25_29e2_03d5_a0e6_9d921c4f811a["CoverageByFileFromJSONTyped()"]
  bf187728_7b09_1936_d8b1_672db8e601af["CoverageByFileFromJSON()"]
  bf187728_7b09_1936_d8b1_672db8e601af -->|calls| 0ad6bb25_29e2_03d5_a0e6_9d921c4f811a
  style 0ad6bb25_29e2_03d5_a0e6_9d921c4f811a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/CoverageByFile.ts lines 70–82

export function CoverageByFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoverageByFile {
    if (json == null) {
        return json;
    }
    return {
        
        'file': json['file'],
        'totalFunctions': json['totalFunctions'],
        'testedFunctions': json['testedFunctions'],
        'untestedFunctions': json['untestedFunctions'],
        'coveragePercentage': json['coveragePercentage'],
    };
}

Domain

Subdomains

Frequently Asked Questions

What does CoverageByFileFromJSONTyped() do?
CoverageByFileFromJSONTyped() is a function in the typescript-sdk codebase.
What calls CoverageByFileFromJSONTyped()?
CoverageByFileFromJSONTyped() is called by 1 function(s): CoverageByFileFromJSON.

Analyze Your Own Codebase

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

Try Supermodel Free