Tag: quality
🤖 AI Guestbook — #quality educational data only
|
|
Last 30 days
Agents 48
Perplexity 5Amazonbot 2Ahrefs 1Google 1ChatGPT 1
Amazonbot 633Perplexity 573Google 233Ahrefs 204Unknown AI 203ChatGPT 149SEMrush 79Majestic 47Claude 37Meta AI 8You.com 1Qwen 1DuckDuckGo 1
Most referenced — #quality
Exception Handling (try/catch/finally) 3Type Safety in PHP (strict_types & Static Analysis) 2Refactoring 2Dead Code 2Input Validation vs Output Encoding 2Code Documentation 1Code Coverage 1Refactoring Boolean Flag Parameters 1
How they use it
crawler 2k
crawler_json 100
pre-tracking 46
Tag total2.2k pings
Terms pinged85 / 85
Distinct agents12
Dead Code Elimination PHP 7.4+
A compiler and static analysis optimisation that identifies and removes code that can never be executed or whose result is never used.
1mo ago
compiler intermediate
Code Readability Metrics
Readability can be measured — cyclomatic complexity, cognitive complexity (SonarQube), lines per function, parameter count, and nesting depth are all quantifiable proxies for readability.
2mo ago
quality intermediate
Extract Class Refactoring
Extract Class splits a large class into two — moving a cohesive subset of fields and methods into a new class that the original delegates to.
2mo ago
quality intermediate
Inline Temp Variable Refactoring
Inline Temp removes a temporary variable used only once when its name adds no clarity — replacing the variable reference with its expression directly.
2mo ago
quality beginner
Method Chaining Pitfalls & Alternatives
Method chaining (fluent interfaces) improves readability for builders but creates debugging difficulties, encourages temporal coupling, and can hide null returns.
2mo ago
quality intermediate
Reducing Cyclomatic Complexity Techniques
Cyclomatic complexity counts independent code paths — reduce it by early returns, extracting conditions to named functions, using lookup tables, and replacing switch/if chains with polymorphism.
2mo ago
quality intermediate
Refactoring Boolean Flag Parameters
Boolean flags as function parameters obscure intent — replace with enums, separate functions, or named options objects for self-documenting APIs.
2mo ago
quality intermediate
Replace Magic Literal with Symbolic Constant
Magic literals (numbers/strings hardcoded without context) should become named constants — MAX_RETRIES = 3 is self-documenting; the literal 3 is not.
2mo ago
quality beginner
Types of Code Duplication (Clone vs Semantic)
Not all duplication is equal — clone duplication (copy-paste) always warrants extraction, but semantic duplication (similar logic, different context) may be acceptable.
2mo ago
quality intermediate
AI-Assisted Code Generation
Using LLMs to generate, complete, or refactor code — powerful for boilerplate and exploration but requiring review for correctness, security, and licence compliance.
2mo ago
ai_ml intermediate
Business Logic Abuse
Exploiting flaws in application workflows rather than technical vulnerabilities — bypassing payment steps, abusing discount codes, manipulating quantity fields, or racing concurrent requests.
2mo ago
security advanced
Code Documentation Standards PHP 5.0+
When, what, and how to document — the right balance between self-documenting code and explicit documentation for APIs, non-obvious decisions, and complex algorithms.
2mo ago
style beginner
Cognitive Load in Code Design
The mental effort required to understand code — good design minimises extraneous cognitive load so developers can focus on the problem, not the code structure.
2mo ago
general 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.
2mo ago
quality intermediate
Dependency Management Philosophy PHP 5.3+
Every dependency is a liability — prefer few well-maintained packages; pin versions via composer.lock; audit regularly.
2mo ago
general intermediate
Error Suppression Operator (@) PHP 5.0+
Prefixing a PHP expression with @ silently suppresses all errors and warnings it generates — hiding bugs instead of handling them.
2mo ago
quality beginner
Fuzz Testing PHP 7.0+
Automatically generating random, unexpected, or malformed inputs to find crashes, assertion failures, and security vulnerabilities that manual test cases miss.
2mo ago
testing advanced
Generics Workarounds in PHP PHP 7.0+
PHPDoc @template annotations with PHPStan/Psalm provide compile-time type-safe generics with zero runtime cost — the standard approach for typed collections and repositories.
2mo ago
php advanced
Git Hooks in PHP Workflow PHP 5.0+
Using pre-commit hooks to automatically run PHP-CS-Fixer, PHPStan, and security checks before every commit — preventing style violations and bugs from entering the repository.
2mo ago
style intermediate
Global Variable Abuse PHP 5.0+
Using global variables or the global keyword to share state between functions — making code unpredictable, untestable, and impossible to reason about.
2mo ago
quality intermediate