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