Commit 7e70078
Add comprehensive metrics documentation to README (#59)
## Summary
Added detailed documentation of all CSS analysis metrics to the README,
organized by category (Performance, Maintainability, and Complexity).
This provides users with clear visibility into what each metric measures
and how points are deducted.
## Changes
- Added a new "Metrics" section to the README with three subsections:
- **Performance**: Documents 7 metrics including imports, empty rules,
duplications, file size, comments, and embedded content
- **Maintainability**: Documents 7 metrics covering lines of code,
selector/declaration counts, and distribution analysis
- **Complexity**: Documents 6 metrics for selector complexity,
specificity, and ID/important selector ratios
- Each metric includes a descriptive table showing what is tested and
the point deduction formula
- Organized metrics in a logical flow that mirrors the package's scoring
categories mentioned in the introduction
## Details
The documentation provides users with a transparent reference for
understanding how the CSS analysis scoring works, making it easier to
interpret results and identify areas for CSS improvement.
https://claude.ai/code/session_011qjCuV5Cpr4xAr5H57tGcv
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2086b73 commit 7e70078
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
90 | 127 | | |
91 | 128 | | |
92 | 129 | | |
| |||
0 commit comments