instanceOfTestCoverageMapMetadata() — typescript-sdk Function Reference
Architecture documentation for the instanceOfTestCoverageMapMetadata() function in TestCoverageMapMetadata.ts from the typescript-sdk codebase.
Entity Profile
Relationship Graph
Source Code
src/models/TestCoverageMapMetadata.ts lines 87–97
export function instanceOfTestCoverageMapMetadata(value: object): value is TestCoverageMapMetadata {
if (!('totalFiles' in value) || value['totalFiles'] === undefined) return false;
if (!('testFiles' in value) || value['testFiles'] === undefined) return false;
if (!('productionFiles' in value) || value['productionFiles'] === undefined) return false;
if (!('totalFunctions' in value) || value['totalFunctions'] === undefined) return false;
if (!('testedFunctions' in value) || value['testedFunctions'] === undefined) return false;
if (!('untestedFunctions' in value) || value['untestedFunctions'] === undefined) return false;
if (!('coveragePercentage' in value) || value['coveragePercentage'] === undefined) return false;
if (!('analysisMethod' in value) || value['analysisMethod'] === undefined) return false;
return true;
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free