← Home ← Codex ← DEBT ← Engine
Browse by Category
+ added · ✎ updated 7d
🤖 AI Guestbook — Code Quality educational data only
| |
Last 30 days
68 pings — 2026-09-13 S 45 pings — 2026-09-14 M 46 pings — 2026-09-15 T 52 pings — 2026-09-16 W 30 pings — 2026-09-17 T 44 pings — 2026-09-18 F 20 pings — 2026-09-19 S 40 pings — 2026-09-20 S 54 pings — 2026-09-21 M 27 pings — 2026-09-22 T 37 pings — 2026-09-23 W 84 pings — 2026-09-24 T 44 pings — 2026-09-25 F 62 pings — 2026-09-26 S 59 pings — 2026-09-27 S 48 pings — 2026-09-28 M 76 pings — 2026-09-29 T 46 pings — 2026-09-30 W 56 pings — 2026-10-01 T 37 pings — 2026-10-02 F 20 pings — 2026-10-03 S 22 pings — 2026-10-04 S 41 pings — 2026-10-05 M 28 pings — 2026-10-06 T 57 pings — 2026-10-07 W 28 pings — 2026-10-08 T 39 pings — 2026-10-09 F 53 pings — 2026-10-10 S 32 pings — Yesterday S 46 pings — Today M
Amazonbot 11PetalBot 11SEMrush 7ChatGPT 6Baidu 4Google 3Bing 2Ahrefs 2
Amazonbot 13PetalBot 12Ahrefs 3Baidu 1Bing 1ChatGPT 1SEMrush 1
Amazonbot 1.6kPetalBot 1.3kAhrefs 1.1kSEMrush 983Scrapy 870Google 802Perplexity 795ChatGPT 672Bing 636Unknown AI 379Claude 252Twitter/X 249Applebot 240Brave Search 151Majestic 127Meta AI 104Sogou 87Common Crawl 69Baidu 43Qwen 14ShapBot 14DuckDuckGo 7You.com 3Slackbot 1
crawler 9.9k crawler_json 450 your_contextpost 31 your_context 1 pre-tracking 46
Category total10.5k pings Terms pinged113 / 113 Distinct agents23
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
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.
7mo ago Code 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.
7mo ago Code 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.
7mo ago Code Quality beginner
IoC Container PHP 7.0+ 🧠 1
An Inversion of Control container automatically resolves and injects class dependencies — you declare what a class needs, the container figures out how to create it, eliminating manual dependency wiring.
7mo ago Code Quality intermediate
Method Chaining Pitfalls & Alternatives
Method chaining (fluent interfaces) improves readability for builders but creates debugging difficulties, encourages temporal coupling, and can hide null returns.
7mo ago Code Quality intermediate
Reducing Cyclomatic Complexity Techniques 🧠 1
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.
7mo ago Code Quality intermediate
Refactoring Boolean Flag Parameters 🧠 1
Boolean flags as function parameters obscure intent — replace with enums, separate functions, or named options objects for self-documenting APIs.
7mo ago Code 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.
7mo ago Code 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.
7mo ago Code Quality intermediate
Abstract Factory Pattern PHP 5.0+
Creates families of related objects ensuring they are used together consistently without mixing implementations.
7mo ago Code Quality intermediate
Active Record Pattern PHP 5.0+ 🧠 6
A design pattern where a database row is wrapped in an object that includes both the data and the persistence logic — the object knows how to save, update, and delete itself.
7mo ago Code Quality 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.
7mo ago Code Quality intermediate
Domain Model Pattern 🧠 2
An object model of the domain that incorporates both behaviour and data — entities with methods expressing domain operations rather than just data containers.
7mo ago Code Quality advanced
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.
7mo ago Code Quality beginner
Fluent Builder Pattern
Returns $this from each setter enabling method chaining — used in query builders, test factories, and configuration objects.
7mo ago Code Quality intermediate
Gateway Pattern 🧠 1
A class that encapsulates access to an external system or resource — wrapping HTTP APIs, queues, or legacy systems behind a clean interface that the rest of the application uses.
7mo ago Code Quality 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.
7mo ago Code Quality intermediate
Interpreter Pattern
A grammar represented as a class hierarchy — used for search query parsers, expression evaluators, and rule engines.
7mo ago Code Quality advanced
Low Cohesion
A class or module that does many unrelated things — high coupling's counterpart, making code hard to understand, test, and reuse.
7mo ago Code Quality intermediate
Memento Pattern PHP 5.0+
A behavioural pattern that captures an object's internal state and stores it externally so it can be restored later — enabling undo, snapshots, and versioning without exposing internals.
7mo ago Code Quality intermediate
✓ schema.org compliant