{"repo":"amir-valizadeh/ts-analyzer","free":true,"listed":false,"github":"https://github.com/amir-valizadeh/ts-analyzer","clone":"git clone https://github.com/amir-valizadeh/ts-analyzer.git","description":"A comprehensive TypeScript codebase analyzer that provides detailed metrics on type safety, code complexity, and quality. Get actionable insights to improve your TypeScript projects.","language":"TypeScript","stars":15,"topics":["nestjs","nextjs","react","typechecker","typescript","codecomplexity","ts-analyzer"],"license":null,"category":"analytics","readme_excerpt":"ts-analyzer — TypeScript Static Code Analysis & Type Safety Metrics ts-analyzer is a high-performance static code analysis tool designed to inspect, measure, and optimize TypeScript and JavaScript codebases. By performing AST (Abstract Syntax Tree) analysis on your source files, it calculates your type coverage , computes a custom type safety score , measures cyclomatic complexity , identifies duplicate code , and flags code smells / anti-patterns . Upgrade your code quality tracking beyond simple line counting to comprehensive structural analysis. --- Table of Contents - Key Features - Why ts-analyzer? (Comparison) - How It Works - Type Safety Score Calculation - Code Complexity Metrics - Quick Start Guide - CLI Command Options - Configuration ( ts-analyzer.config.json ) - Example Report Formats - JSON Report - HTML Dashboard - CI/CD Pipeline Integration - Development & Testing - Frequently Asked Questions (FAQ) - License --- Key Features - 📊 Type Safety & Coverage Analysis : Computes your actual type coverage, penalizing overused any declarations, generic safety lapses, and raw type assertions. - 📉 Cyclomatic Complexity Measurement : Analyzes structural paths in your control flow graph to rate how maintainable and testable your functions are. - 🔍 Code Smell & Anti-Pattern Detection : Automatically flags Callback Hell, Magic Numbers, Excessive Parameters ( 4), and \"God Files\" ( 500 lines). - 👯 Duplicate Code Finder : Scans files for structural duplicates and cloned logic","default_branch":null,"files":null,"tree":[],"storefront":"/r/amir-valizadeh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/amir-valizadeh/ts-analyzer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}