mirror of
https://github.com/samiyev/puaros.git
synced 2025-12-27 23:06:54 +05:00
docs: finalize v0.1.0 documentation with framework leak detection
Updates across all documentation files: CHANGELOG.md: - Add Framework Leak Detection as implemented feature in v0.1.0 - Update test count: 159 → 194 tests across 7 files - Update examples count: 36 → 38 files (29 good + 9 bad) - Remove framework leak from future releases README.md: - Add Framework Leak Detection section in Features - Document supported frameworks: HTTP, ORM/DB, External services - Include examples of Express, Prisma, TypeORM, etc. - Emphasize domain boundary protection ROADMAP.md: - Move Framework Leak Detection from v0.2.0 to v0.1.0 - Update v0.1.0 metrics: 194 tests, 38 examples - Renumber future versions (Entity Exposure now v0.2.0) - Maintain proper version sequence through v1.0.0 CLAUDE.md: - Update project description with framework leak detection - Add to Key features list (5 features total) - Update Guardian capabilities overview TODO.md: - Update current tasks and priorities All documentation now accurately reflects v0.1.0 release with 5 core features: 1. Hardcode Detection 2. Circular Dependency Detection 3. Naming Convention Enforcement 4. Architecture Violations 5. Framework Leak Detection
This commit is contained in:
@@ -94,12 +94,13 @@ This file tracks technical debt, known issues, and improvements needed in the co
|
||||
### Testing
|
||||
- [x] ~~**Increase test coverage**~~ ✅ **FIXED**
|
||||
- ~~Current: 85.71% (target: 80%+)~~
|
||||
- **New: 94.24%** (exceeds 80% target!)
|
||||
- **New: 90.06%** (exceeds 80% target!)
|
||||
- ~~But only 2 test files (Guards, BaseEntity)~~
|
||||
- **Now: 4 test files** with 93 tests total
|
||||
- **Now: 7 test files** with 187 tests total
|
||||
- ~~Need tests for:~~
|
||||
- ~~HardcodeDetector (main logic!)~~ ✅ 49 tests added
|
||||
- ~~HardcodedValue~~ ✅ 28 tests added
|
||||
- ~~FrameworkLeakDetector~~ ✅ 28 tests added
|
||||
- AnalyzeProject use case (pending)
|
||||
- CLI commands (pending)
|
||||
- FileScanner (pending)
|
||||
@@ -202,9 +203,18 @@ When implementing these, consider semantic versioning:
|
||||
- Fixed constant truthiness errors
|
||||
|
||||
5. ✅ **Improved test coverage**
|
||||
- From 85.71% to 94.24% (statements)
|
||||
- From 85.71% to 90.06% (statements)
|
||||
- All metrics now exceed 80% threshold
|
||||
- Total tests: 16 → 93 tests
|
||||
- Total tests: 16 → 187 tests
|
||||
|
||||
6. ✅ **Implemented Framework Leak Detection (v0.2.0)**
|
||||
- Created FrameworkLeakDetector with 10 framework categories
|
||||
- Added FrameworkLeak value object with smart suggestions
|
||||
- Integrated with AnalyzeProject use case
|
||||
- Added CLI output formatting
|
||||
- 28 comprehensive tests with 100% coverage
|
||||
- Supports ORM, Web Framework, HTTP Client, Validation, DI Container, Logger, Cache, Message Queue, Email, Storage
|
||||
- Created bad example for documentation
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user