Tag: static-analysis
🤖 AI Guestbook — #static-analysis educational data only
|
|
Last 30 days
Agents 10
Claude 9ChatGPT 1
PetalBot 8Google 4ChatGPT 1Perplexity 1
Perplexity 208Amazonbot 205Scrapy 192ChatGPT 174Ahrefs 102Google 98SEMrush 64Unknown AI 53Claude 34Bing 32Meta AI 19PetalBot 17Majestic 11Qwen 2Common Crawl 2You.com 1Sogou 1
Most referenced — #static-analysis
Abstract Syntax Tree (AST) 1ABC Metric (Assignments, Branches, Conditions) 1Maintainability Index 1Type Safety in PHP (strict_types & Static Analysis) 1Dead Condition 1Dead Code Detection 1TypeScript Type System 1PHPStan Levels 0–9 Explained 1
How they use it
crawler 1.1k
crawler_json 68
pre-tracking 6
Tag total1.2k pings
Terms pinged21 / 21
Distinct agents16
Type Narrowing
Python 3.10+
Static type checkers refine a variable's type within a branch based on runtime checks like isinstance, None comparisons, and literal guards.
2d ago
Python intermediate
Dead Code Elimination
PHP 7.4+
3
A compiler and static analysis optimisation that identifies and removes code that can never be executed or whose result is never used.
3mo ago
Compiler intermediate
Type Inference
PHP 7.0+
4
The compiler's ability to automatically deduce the type of an expression without an explicit annotation, based on context and assigned values.
3mo ago
Compiler intermediate
Dead Condition
PHP 5.0+
A boolean condition that is always true or always false due to logic errors, making the branch either always execute or never execute.
3mo ago
Code Quality intermediate
Missing Return Type Declarations
PHP 7.0+
Functions without declared return types lose static analysis coverage, allow type confusion bugs, and make code harder to understand without reading the implementation.
3mo ago
Code Quality beginner
Unreachable Code
PHP 5.0+
Code that can never execute because it follows a return, throw, exit, or an always-true condition — a sign of logic errors or forgotten cleanup.
3mo ago
Code Quality beginner
Unused Variable
PHP 5.0+
A variable that is assigned but never read — indicating a logic error, incomplete refactoring, or unnecessary computation.
3mo ago
Code Quality beginner
ABC Metric (Assignments, Branches, Conditions)
PHP 5.0+
4
Code complexity metric using vector magnitude of assignments, branches, and conditions — more expressive than line count.
3mo ago
Code Quality advanced
Tree representation of code structure used by compilers and tools to analyse and transform programs.
3mo ago
Compiler advanced
Cyclomatic Complexity
3
A count of linearly independent paths through a function — each if, for, while, case, and && adds 1.
3mo ago
Code Quality intermediate
Dead Code
PHP 5.0+
Code that can never be executed — unreachable after a return, or inside a condition that is always false.
3mo ago
Code Quality beginner
Dead Code Detection
PHP 7.1+
1
Identifying code that can never be executed — unreachable branches, always-true conditions, unused variables — via static analysis or coverage reports.
3mo ago
Code Quality intermediate
Halstead Maintainability Index
2
A composite metric (0–100) combining lines of code, cyclomatic complexity, and Halstead volume to estimate maintainability.
3mo ago
Code Quality advanced
Maintainability Index
5
A composite metric (0–100) combining Halstead volume, cyclomatic complexity, and lines of code to estimate how easy code is to maintain.
3mo ago
Code Quality intermediate
PHPCS + PHPStan in CI (Workflow Guide)
PHP 5.0+
4
Running PHP_CodeSniffer for style and PHPStan for type/logic errors as separate CI steps — each catching a distinct class of problem.
3mo ago
Style intermediate
PHPDoc / Docblock
PHP 5.0+
1
Structured comment blocks that document functions, classes, and properties — read by IDEs, static analysis tools, and documentation generators.
3mo ago
Style beginner
PHPStan Levels 0–9 Explained
PHP 7.1+
7
PHPStan's 10 strictness levels — from basic undefined variable checks (0) to full generic type inference and strict mixed handling (9).
3mo ago
Style intermediate
Psalm Type Annotations
PHP 7.1+
1
Psalm's docblock annotations — @param, @return, @template, @psalm-type — extend PHP's native type system to express generics, aliases, and complex types.
3mo ago
Style intermediate
Python Type Hints & mypy
Python 3.5+
1
Optional static type annotations — def greet(name: str) -> str — checked by mypy and IDEs at analysis time, ignored at runtime.
3mo ago
Python intermediate
Type Safety in PHP (strict_types & Static Analysis)
PHP 7.4+
3
Combining strict_types=1, typed properties, return types, union types, and PHPStan/Psalm to catch type errors at analysis time rather than runtime.
3mo ago
Code Quality intermediate