← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — #quality educational data only
| |
Last 30 days
2 pings — 2026-04-16 T 17 pings — 2026-04-17 F 19 pings — 2026-04-18 S 43 pings — 2026-04-19 S 14 pings — 2026-04-20 M 8 pings — 2026-04-21 T 22 pings — 2026-04-22 W 29 pings — 2026-04-23 T 42 pings — 2026-04-24 F 70 pings — 2026-04-25 S 29 pings — 2026-04-26 S 9 pings — 2026-04-27 M 10 pings — 2026-04-28 T 14 pings — 2026-04-29 W 25 pings — 2026-04-30 T 78 pings — 2026-05-01 F 53 pings — 2026-05-02 S 35 pings — 2026-05-03 S 23 pings — 2026-05-04 M 7 pings — 2026-05-05 T 12 pings — 2026-05-06 W 59 pings — 2026-05-07 T 32 pings — 2026-05-08 F 129 pings — 2026-05-09 S 39 pings — 2026-05-10 S 9 pings — 2026-05-11 M 8 pings — 2026-05-12 T 16 pings — 2026-05-13 W 7 pings — Yesterday T 14 pings — Today F
Perplexity 1
Amazonbot 756Perplexity 575Google 239Ahrefs 223Unknown AI 203ChatGPT 155SEMrush 103Claude 89Majestic 47Bing 32Meta AI 8Qwen 2You.com 1DuckDuckGo 1
crawler 2.3k crawler_json 123 pre-tracking 46
Tag total2.4k pings Terms pinged85 / 85 Distinct agents13
Level All Beginner Intermediate Advanced Tag: quality
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
Defensive Programming
Writing code that anticipates and handles invalid inputs, unexpected states, and failures gracefully.
2mo ago quality intermediate
Deprecated & Removed PHP Functions PHP 5.0+
Functions removed or deprecated in modern PHP versions — using them triggers errors or silent failures in new runtimes.
2mo ago php beginner
Design by Contract
Methods define formal preconditions (what callers must guarantee), postconditions (what the method guarantees), and invariants (what's always true).
2mo ago quality advanced
Documentation as Code
Treating documentation with the same discipline as code — version controlled, reviewed in pull requests, tested for accuracy, and kept close to the code it describes.
2mo ago general beginner
Diagram: End-to-End Testing End-to-End Testing
Testing complete user flows through a real browser against a running application — verifying that all layers work together from UI to database.
2mo ago testing intermediate
Error Handling in PHP PHP 5.0+
Uncaught errors and verbose error output expose stack traces, file paths, and credentials to attackers.
CWE-209 OWASP A9:2021
2mo ago php beginner 5.3
Fail Fast Principle
Detect and report errors at the earliest possible point rather than allowing invalid state to propagate and cause confusing failures elsewhere.
2mo ago quality beginner
Diagram: Flaky Tests Flaky Tests
Tests that pass and fail non-deterministically on the same code — caused by shared state, timing dependencies, external services, or random data.
2mo ago testing intermediate
Git Hooks
Scripts that run automatically at specific points in the git workflow — pre-commit for linting, pre-push for tests, commit-msg for message format enforcement.
2mo ago git intermediate
Halstead Maintainability Index
A composite metric (0–100) combining lines of code, cyclomatic complexity, and Halstead volume to estimate maintainability.
2mo ago quality advanced
Diagram: Integration Testing Integration Testing PHP 5.0+
Tests that verify multiple components work correctly together — often involving real databases, HTTP clients, or third-party services.
2mo ago testing intermediate
KISS Principle PHP 5.0+
Keep It Simple, Stupid — prefer the simplest solution that solves the problem over clever or complex abstractions.
2mo ago quality beginner
Lines of Code (LOC) as a Metric
The simplest size metric — useful for normalising other metrics and tracking growth, but a poor quality indicator when used in isolation.
2mo ago quality beginner
Maintainability Index
A composite metric (0–100) combining Halstead volume, cyclomatic complexity, and lines of code to estimate how easy code is to maintain.
2mo ago quality intermediate
Method Length Guidelines
Short methods (ideally under 10–20 lines) are easier to understand, test, and name — length is a proxy for complexity.
2mo ago style beginner
Diagram: Mocking Best Practices (PHPUnit & Mockery) Mocking Best Practices (PHPUnit & Mockery) PHP 5.0+
Guidelines for effective mocking: mock interfaces not classes, avoid over-mocking, prefer stubs for queries and mocks for commands.
2mo ago testing intermediate
Diagram: Mutation Testing Mutation Testing PHP 7.1+
A technique that automatically modifies source code and checks whether tests fail — surviving mutations indicate test gaps even where line coverage appears complete.
2mo ago testing advanced
Null Safety — Null Object vs Optional PHP 7.1+
Strategies for eliminating null reference errors: the Null Object Pattern provides a safe default; Optional-style wrapping makes nullability explicit.
2mo ago quality intermediate
Object Calisthenics
Nine strict OO coding rules by Jeff Bay that, if followed, force good object-oriented design habits.
2mo ago quality advanced
Pair Programming
Two developers work together at one workstation — one writing code (driver), one reviewing and guiding (navigator).
2mo ago general beginner
✓ schema.org compliant