Home / File/ DeadCodeCandidate.ts — typescript-sdk Source File

DeadCodeCandidate.ts — typescript-sdk Source File

Architecture documentation for DeadCodeCandidate.ts, a typescript file in the typescript-sdk codebase. 2 imports, 1 dependents.

File typescript CodeGraph IR 2 imports 1 dependents 4 functions

Entity Profile

Dependency Diagram

graph LR
  63273a51_c77b_51ba_eae7_c9ee9b09c9ef["DeadCodeCandidate.ts"]
  41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"]
  63273a51_c77b_51ba_eae7_c9ee9b09c9ef --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918
  11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"]
  63273a51_c77b_51ba_eae7_c9ee9b09c9ef --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c
  cf3c46e4_2683_0d9b_ec4b_2d29dfee4adf["DeadCodeAnalysisResponse.ts"]
  cf3c46e4_2683_0d9b_ec4b_2d29dfee4adf --> 63273a51_c77b_51ba_eae7_c9ee9b09c9ef
  style 63273a51_c77b_51ba_eae7_c9ee9b09c9ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/* tslint:disable */
/* eslint-disable */
/**
 * Supermodel
 * Code Graphing & Analysis API
 *
 * The version of the OpenAPI document: 0.9.3
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from '../runtime';
/**
 * A code element identified as potentially dead (unreachable).
 * @export
 * @interface DeadCodeCandidate
 */
export interface DeadCodeCandidate {
    /**
     * File path relative to repository root.
     * @type {string}
     * @memberof DeadCodeCandidate
     */
    file: string;
    /**
     * Name of the function, class, or method.
     * @type {string}
     * @memberof DeadCodeCandidate
     */
    name: string;
    /**
     * Line number where the declaration starts.
     * @type {number}
     * @memberof DeadCodeCandidate
     */
    line: number;
    /**
     * Type of code element.
     * @type {string}
     * @memberof DeadCodeCandidate
     */
    type: DeadCodeCandidateTypeEnum;
    /**
     * Confidence level of dead code detection.
     * @type {string}
     * @memberof DeadCodeCandidate
     */
    confidence: DeadCodeCandidateConfidenceEnum;
    /**
     * Explanation of why this was flagged as dead code.
     * @type {string}
     * @memberof DeadCodeCandidate
     */
    reason: string;
}


// ... (73 more lines)

Domain

Subdomains

Dependencies

Frequently Asked Questions

What does DeadCodeCandidate.ts do?
DeadCodeCandidate.ts is a source file in the typescript-sdk codebase, written in typescript. It belongs to the CodeGraph domain, IR subdomain.
What functions are defined in DeadCodeCandidate.ts?
DeadCodeCandidate.ts defines 4 function(s): DeadCodeCandidateFromJSON, DeadCodeCandidateFromJSONTyped, DeadCodeCandidateToJSON, instanceOfDeadCodeCandidate.
What does DeadCodeCandidate.ts depend on?
DeadCodeCandidate.ts imports 2 module(s): mapValues, runtime.ts.
What files import DeadCodeCandidate.ts?
DeadCodeCandidate.ts is imported by 1 file(s): DeadCodeAnalysisResponse.ts.
Where is DeadCodeCandidate.ts in the architecture?
DeadCodeCandidate.ts is located at src/models/DeadCodeCandidate.ts (domain: CodeGraph, subdomain: IR, directory: src/models).

Analyze Your Own Codebase

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

Try Supermodel Free