Skip to content

Commit b67c547

Browse files
Merge pull request #5 from bruno-portfolio/canopy/auto-update
docs: update canopy visualization
2 parents f1e8d1b + e12db27 commit b67c547

3 files changed

Lines changed: 39 additions & 39 deletions

File tree

docs/canopy-history.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[
22
{
33
"date": "2026-06-12",
4-
"score": 85.3,
4+
"score": 85.1,
55
"grade": "B",
66
"modules": 12,
7-
"lines": 3694
7+
"lines": 3724
88
}
99
]

docs/canopy.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
<h1>canopy-code</h1>
426426
<span class="badge">canopy-code</span>
427427
<span class="badge">12 modules</span>
428-
<span class="badge">3,694 lines</span>
428+
<span class="badge">3,724 lines</span>
429429
<div class="search-box">
430430
<input id="search-input" placeholder="Search modules..." />
431431
<span id="search-count"></span>
@@ -604,16 +604,16 @@ <h1>canopy-code</h1>
604604
<text x="449.6" y="386.6" font-family="monospace" font-size="7" fill="#484f58" text-anchor="middle" dy="0.35em">18 loc</text>
605605
</g>
606606
<g data-module="canopy.collectors">
607-
<circle cx="500.0" cy="514.3" r="41.8" fill="#d2992255" opacity="0.1" filter="url(#softGlow)"/>
608-
<circle cx="501.0" cy="515.3" r="16.7" fill="#000000" opacity="0.3"/>
609-
<circle cx="500.0" cy="514.3" r="16.7" fill="#d29922" filter="url(#nodeGlow)"/>
610-
<circle cx="500.0" cy="509.3" r="10.0" fill="#e3b341" opacity="0.15"/>
611-
<circle cx="497.5" cy="508.4" r="3.3" fill="#ffffff" opacity="0.08"/>
607+
<circle cx="500.0" cy="514.3" r="43.1" fill="#d2992255" opacity="0.1" filter="url(#softGlow)"/>
608+
<circle cx="501.0" cy="515.3" r="17.2" fill="#000000" opacity="0.3"/>
609+
<circle cx="500.0" cy="514.3" r="17.2" fill="#d29922" filter="url(#nodeGlow)"/>
610+
<circle cx="500.0" cy="509.1" r="10.3" fill="#e3b341" opacity="0.15"/>
611+
<circle cx="497.4" cy="508.3" r="3.4" fill="#ffffff" opacity="0.08"/>
612612
<circle cx="498.7" cy="513.3" r="2.4" fill="#1b1f23" opacity="0.7"/>
613-
<circle cx="503.7" cy="508.7" r="2.0" fill="#1b1f23" opacity="0.7"/>
614-
<circle cx="491.5" cy="515.6" r="2.3" fill="#1b1f23" opacity="0.7"/>
615-
<circle cx="497.3" cy="512.8" r="2.6" fill="#1b1f23" opacity="0.7"/>
616-
<circle cx="494.2" cy="508.8" r="1.5" fill="#1b1f23" opacity="0.7"/>
613+
<circle cx="503.8" cy="508.5" r="2.0" fill="#1b1f23" opacity="0.7"/>
614+
<circle cx="491.3" cy="515.6" r="2.3" fill="#1b1f23" opacity="0.7"/>
615+
<circle cx="497.2" cy="512.8" r="2.6" fill="#1b1f23" opacity="0.7"/>
616+
<circle cx="494.0" cy="508.6" r="1.5" fill="#1b1f23" opacity="0.7"/>
617617
<text x="500.0" y="514.3" font-family="monospace" font-size="8" font-weight="600" fill="#c9d1d9" text-anchor="middle" dy="0.35em">collectors</text>
618618
</g>
619619
<g data-module="canopy.layout">
@@ -659,7 +659,7 @@ <h1>canopy-code</h1>
659659
<text x="674.8" y="28.0" font-family="monospace" font-size="8" fill="#8b949e">Moderate</text>
660660
<circle cx="603.0" cy="25.0" r="4" fill="#2ea043"/>
661661
<text x="613.0" y="28.0" font-family="monospace" font-size="8" fill="#8b949e">Healthy</text>
662-
<text x="500.0" y="780.0" font-family="monospace" font-size="9" fill="#484f58" text-anchor="middle" dy="0.35em">12 modules | 3694 lines | 73% healthy 27% moderate 0% unhealthy (by loc) | 8 dead</text>
662+
<text x="500.0" y="780.0" font-family="monospace" font-size="9" fill="#484f58" text-anchor="middle" dy="0.35em">12 modules | 3724 lines | 72% healthy 28% moderate 0% unhealthy (by loc) | 8 dead</text>
663663
<text x="985.0" y="790.0" font-family="monospace" font-size="10" fill="#161b22" text-anchor="end" dy="0.35em">canopy-code</text>
664664
</svg>
665665
</div>
@@ -668,9 +668,9 @@ <h1>canopy-code</h1>
668668
<div class="stat"><span class="stat-value" style="color:#2ea043">B</span><span class="stat-label">Grade</span></div>
669669
<div class="stat"><span class="stat-value" style="color:#2ea043">85</span><span class="stat-label">Score</span></div>
670670
<div class="stat"><span class="stat-value">12</span><span class="stat-label">Modules</span></div>
671-
<div class="stat"><span class="stat-value">3,694</span><span class="stat-label">Lines</span></div>
672-
<div class="stat"><span class="stat-value green">73%</span><span class="stat-label">Healthy (loc)</span></div>
673-
<div class="stat"><span class="stat-value yellow">27%</span><span class="stat-label">Moderate (loc)</span></div>
671+
<div class="stat"><span class="stat-value">3,724</span><span class="stat-label">Lines</span></div>
672+
<div class="stat"><span class="stat-value green">72%</span><span class="stat-label">Healthy (loc)</span></div>
673+
<div class="stat"><span class="stat-value yellow">28%</span><span class="stat-label">Moderate (loc)</span></div>
674674
<div class="stat"><span class="stat-value red">0%</span><span class="stat-label">Unhealthy (loc)</span></div>
675675
<div class="stat"><span class="stat-value" style="color:#484f58">8</span><span class="stat-label">Dead Code</span></div>
676676
</div>
@@ -868,28 +868,28 @@ <h2>Keyboard Shortcuts</h2>
868868
"desc": ""
869869
},
870870
"canopy.collectors": {
871-
"lines": 498,
872-
"funcs": 24,
873-
"score": 72.8,
874-
"mi": 55.2,
875-
"cc": 3.83,
876-
"cc_max": 14,
871+
"lines": 528,
872+
"funcs": 26,
873+
"score": 72.3,
874+
"mi": 56.46,
875+
"cc": 3.96,
876+
"cc_max": 15,
877877
"dead": 5,
878-
"churn": 2,
879-
"risk": 0.222,
878+
"churn": 3,
879+
"risk": 0.277,
880880
"coverage": null,
881881
"factors": [
882882
{
883-
"label": "1/24 functions CC>10",
884-
"penalty": 6.2
883+
"label": "1/26 functions CC>10",
884+
"penalty": 5.8
885885
},
886886
{
887-
"label": "worst function CC 14",
888-
"penalty": 6.0
887+
"label": "worst function CC 15",
888+
"penalty": 7.5
889889
},
890890
{
891891
"label": "5 dead symbols",
892-
"penalty": 15.0
892+
"penalty": 14.4
893893
}
894894
],
895895
"layer": "Collectors",

docs/canopy.svg

Lines changed: 10 additions & 10 deletions
Loading

0 commit comments

Comments
 (0)