This project is a static code analysis tool that functions as a code unit resolver and source code line mapper. It identifies the specific function or method that contains a given line of code by analyzing the structure of source files without executing the program.
The main features of sebastianbergmann/code-unit-reverse-lookup are: Line-to-Unit Mapping, Code Unit Boundary Detection, Code Unit Ownership Resolution, Code Unit Resolvers, Line-to-Block Ownership Mapping, Line-to-Unit Resolvers, Source Code Line Mappers, Static Analysis Tools.
Open-source alternatives to sebastianbergmann/code-unit-reverse-lookup include: analysis-tools-dev/static-analysis — This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It… nvim-treesitter/nvim-treesitter-context — nvim-treesitter-context is a Neovim editor extension that provides structural awareness of source files by displaying… mgechev/revive — Revive is a configurable static analysis linter and code quality tool for Go. It analyzes source code to detect common… realm/swiftlint — SwiftLint is a static analysis tool and code formatter designed to enforce consistent coding styles and identify… rubocop-hq/rubocop — RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It detects style violations, potential… semgrep/semgrep — Semgrep is a static analysis security testing tool designed to identify vulnerabilities and logic errors by matching…
This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It serves as a central resource for developers to discover, compare, and select tools based on specific programming languages, licensing models, and integration requirements. The directory distinguishes itself by providing deep metadata for each listed utility, including community-driven popularity rankings, maintenance status, and deployment methods. By aggregating these tools into a single searchable index, it enables teams to identify solutions for enforcing coding standards, ma
nvim-treesitter-context is a Neovim editor extension that provides structural awareness of source files by displaying sticky headers of surrounding code blocks. It utilizes Tree-sitter queries to identify parent functions and classes, keeping them visible at the top of the editor window while scrolling. The tool allows for language rule customization, enabling the definition of specific structural queries to modify how context is detected for different programming languages. Users can also adjust the visual appearance of the context window through custom highlight groups. Beyond visual orien
Revive is a configurable static analysis linter and code quality tool for Go. It analyzes source code to detect common coding mistakes, identify style violations, and enforce language standards without executing the program. The project functions as both a command line tool and an embeddable analysis engine. This allows the core linting logic to be integrated as a library into other Go applications for programmatic code inspection. The tool supports custom rule sets and severity levels managed through a structured configuration file. It provides capabilities for suppressing specific warnings
SwiftLint is a static analysis tool and code formatter designed to enforce consistent coding styles and identify semantic issues within Swift source code. It functions as a command-line utility that evaluates code against established conventions to ensure uniform structure and architectural standards across a project. The tool distinguishes itself through a custom linting engine that leverages compiler-integrated syntax analysis to perform deep inspections of code structure. Beyond simple pattern matching, it supports automated source code transformation to correct formatting violations and r