TestCoverageMapMetadataToJSON() — typescript-sdk Function Reference
Architecture documentation for the TestCoverageMapMetadataToJSON() function in TestCoverageMapMetadata.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD fe84dffd_d669_b5be_17ba_c04a2801c899["TestCoverageMapMetadataToJSON()"] 29543f1a_8ac1_c007_5318_90eb76094eaf["TestCoverageMapResponseToJSON()"] 29543f1a_8ac1_c007_5318_90eb76094eaf -->|calls| fe84dffd_d669_b5be_17ba_c04a2801c899 style fe84dffd_d669_b5be_17ba_c04a2801c899 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/TestCoverageMapMetadata.ts lines 122–139
export function TestCoverageMapMetadataToJSON(value?: TestCoverageMapMetadata | null): any {
if (value == null) {
return value;
}
return {
'totalFiles': value['totalFiles'],
'testFiles': value['testFiles'],
'productionFiles': value['productionFiles'],
'totalFunctions': value['totalFunctions'],
'testedFunctions': value['testedFunctions'],
'untestedFunctions': value['untestedFunctions'],
'coveragePercentage': value['coveragePercentage'],
'analysisMethod': value['analysisMethod'],
'analysisStartTime': value['analysisStartTime'] == null ? undefined : ((value['analysisStartTime']).toISOString()),
'analysisEndTime': value['analysisEndTime'] == null ? undefined : ((value['analysisEndTime']).toISOString()),
};
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does TestCoverageMapMetadataToJSON() do?
TestCoverageMapMetadataToJSON() is a function in the typescript-sdk codebase.
What calls TestCoverageMapMetadataToJSON()?
TestCoverageMapMetadataToJSON() is called by 1 function(s): TestCoverageMapResponseToJSON.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free