2 Repos
Identifies problematic initialization patterns, such as double brace initialization, to prevent memory leaks.
Distinct from Instance Variable Initializers: Distinct from Instance Variable Initializers: detects an anti-pattern of initialization rather than providing standard variable assignment.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Initialization Pattern Detections. Refine with filters or upvote what's useful.
Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement
Detects and flags members that are explicitly assigned to their default type values.
Larastan is a static analysis extension and type inference engine for PHP designed to detect bugs and type errors in Laravel applications. It extends PHPStan to resolve framework-specific patterns and magic methods, providing a rule-based scanning engine to audit code quality without executing the application. The tool specializes in Eloquent analysis, verifying that model properties, casts, and relationships align with database schemas and migrations. It tracks types across Eloquent collections, custom builders, and model factories to ensure type safety during database operations and iterati
Flags the use of static creation methods where a simple new instance is more efficient.