← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — Code Quality educational data only
| |
Last 30 days
38 pings — 2026-04-08 W 8 pings — 2026-04-09 T 30 pings — 2026-04-10 F 50 pings — 2026-04-11 S 45 pings — 2026-04-12 S 25 pings — 2026-04-13 M 4 pings — 2026-04-14 T 4 pings — 2026-04-15 W 6 pings — 2026-04-16 T 44 pings — 2026-04-17 F 43 pings — 2026-04-18 S 67 pings — 2026-04-19 S 45 pings — 2026-04-20 M 18 pings — 2026-04-21 T 34 pings — 2026-04-22 W 100 pings — 2026-04-23 T 55 pings — 2026-04-24 F 91 pings — 2026-04-25 S 38 pings — 2026-04-26 S 18 pings — 2026-04-27 M 6 pings — 2026-04-28 T 23 pings — 2026-04-29 W 34 pings — 2026-04-30 T 111 pings — 2026-05-01 F 67 pings — 2026-05-02 S 36 pings — 2026-05-03 S 36 pings — 2026-05-04 M 14 pings — 2026-05-05 T 20 pings — Yesterday W 45 pings — Today T
Perplexity 5Amazonbot 3ChatGPT 1Ahrefs 1
Perplexity 2Amazonbot 2ChatGPT 2Unknown AI 1
Amazonbot 802Perplexity 661Ahrefs 289Google 271Unknown AI 252ChatGPT 243Majestic 59SEMrush 57Claude 33Meta AI 7Qwen 2You.com 1DuckDuckGo 1
crawler 2.5k crawler_json 151 pre-tracking 46
Category total2.7k pings Terms pinged113 / 113 Distinct agents12
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
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.
2mo ago quality beginner
Poor Variable Naming
Single-letter variables, cryptic abbreviations, or meaningless names like $data and $tmp — forcing readers to hold context in their head that the name should provide.
2mo ago quality beginner
Prototype Pattern PHP 5.0+
Creating new objects by cloning a prototype — fast when object creation is expensive and variations are needed.
2mo ago quality intermediate
Table Module Pattern
One class per database table handling all logic — a pragmatic middle ground between Transaction Script and full Domain Model.
2mo ago quality intermediate
Transaction Script Pattern
A pattern where each business operation is a single procedure — simple, linear, and appropriate for straightforward workflows without complex domain logic.
2mo ago quality intermediate
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.
2mo ago quality beginner
Unused Function PHP 7.0+
A function or method that is defined but never called — dead code that increases maintenance burden and confuses readers about what is part of the active API.
2mo ago quality beginner
Unused Variable PHP 5.0+
A variable that is assigned but never read — indicating a logic error, incomplete refactoring, or unnecessary computation.
2mo ago quality beginner
ABC Metric (Assignments, Branches, Conditions) PHP 5.0+
Code complexity metric using vector magnitude of assignments, branches, and conditions — more expressive than line count.
2mo ago quality advanced
Diagram: Anemic Domain Model (Anti-Pattern) Anemic Domain Model (Anti-Pattern)
Domain objects with only data (getters/setters) and no behaviour — business logic scattered across service classes.
2mo ago quality advanced
Boy Scout Rule
Always leave the codebase slightly cleaner than you found it — small, consistent improvements prevent entropy accumulation.
2mo ago quality beginner
Diagram: Builder Pattern Builder Pattern PHP 5.0+
Constructs complex objects step-by-step using a fluent interface, separating construction from representation.
2mo ago quality intermediate
Diagram: Chain of Responsibility Pattern Chain of Responsibility Pattern PHP 5.0+
Passes a request along a chain of handlers, each deciding whether to process it or pass it to the next handler.
2mo ago quality intermediate
Diagram: Code Ownership & CODEOWNERS Code Ownership & CODEOWNERS
CODEOWNERS defines which team members must review changes to specific files or directories — enforcing expertise-based review and preventing unreviewed changes to critical code.
2mo ago quality beginner
Cohesion
The degree to which elements within a module belong together; high cohesion means a class does one thing and does it well.
2mo ago quality intermediate
Command Pattern PHP 5.0+
Encapsulates a request as an object, enabling queuing, logging, undo/redo, and decoupling of request sender from receiver.
2mo ago quality intermediate
Command Query Separation (CQS)
Methods should either return a value (query) or change state (command), but never both.
2mo ago quality intermediate
Comments as Code Smell
Excessive or explanatory comments often indicate that the code itself is too complex or poorly named to be self-explanatory.
2mo ago quality beginner
Composite Pattern
Treats individual objects and compositions of objects uniformly through a shared interface, enabling tree-structured hierarchies.
2mo ago quality intermediate
Composition Over Inheritance
Favour assembling behaviour from injected collaborator objects rather than inheriting it from a parent class.
2mo ago quality intermediate
✓ schema.org compliant