Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utils): add score filter to md report generation #956

Merged
merged 6 commits into from
Mar 5, 2025

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Mar 4, 2025

This PR includes a score filter for:

  • generateMdReport
  • generateCategorySection
  • generateCategoryDetailSection
  • generateAuditSection

closes #957

Copy link

github-actions bot commented Mar 4, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit e0d1567 with previous commit e538f8a.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🟡 54 🔴 49 ↓ −4.9
Documentation 🔴 23 🔴 23 ↑ +0.1
Code coverage 🟢 91 🟢 91 ↑ +0.1
Security 🟡 75 🟡 75
Updates 🟡 77 🟡 77
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟡 61 🟡 61
Bug prevention 🟢 100 🟢 100
Code style 🟢 100 🟢 100
👍 2 groups improved, 👎 1 group regressed, 👍 2 audits improved, 👎 7 audits regressed, 11 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🟡 54 🔴 49 ↓ −4.9
JSDoc coverage Documentation coverage 🔴 23 🔴 23 ↑ +0.1
Code coverage Code coverage metrics 🟢 91 🟢 91 ↑ +0.1

15 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Speed Index 🟨 4.7 s 🟥 6.5 s ↑ +36.8 %
Lighthouse Largest Contentful Paint 🟨 3.5 s 🟨 3.7 s ↑ +3.3 %
Lighthouse Total Blocking Time 🟥 2,930 ms 🟥 5,850 ms ↑ +99.6 %
Lighthouse Time to Interactive 🟥 13.2 s 🟥 14.4 s ↑ +8.7 %
Lighthouse First Contentful Paint 🟨 2.8 s 🟨 2.8 s ↑ +1.3 %
JSDoc coverage Functions coverage 🟥 451 undocumented functions 🟥 450 undocumented functions ↓ −0.2 %
JSDoc coverage Types coverage 🟥 209 undocumented types 🟥 210 undocumented types ↑ +0.5 %
Code coverage Branch coverage 🟨 85.9 % 🟨 85.9 % ↓ −0.1 %
Code coverage Function coverage 🟩 93 % 🟩 93 % ↑ +0.1 %
Lighthouse Minimizes main-thread work 🟥 12.5 s 🟥 18.3 s ↑ +46.2 %
Lighthouse JavaScript execution time 🟥 6.2 s 🟥 7.6 s ↑ +22 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +8.7 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 1,828 KiB 🟩 Total size was 1,827 KiB ↓ −0.1 %
Lighthouse Max Potential First Input Delay 🟥 1,830 ms 🟥 2,230 ms ↑ +22.3 %
Lighthouse Eliminate render-blocking resources 🟥 Potential savings of 950 ms 🟥 Potential savings of 730 ms ↓ −23.7 %
Lighthouse Initial server response time was short 🟩 Root document took 340 ms 🟩 Root document took 450 ms ↑ +31.9 %
Lighthouse Server Backend Latencies 🟩 110 ms 🟩 140 ms ↑ +32.2 %
Lighthouse Uses efficient cache policy on static assets 🟨 27 resources found 🟨 27 resources found ↓ −0.1 %
Lighthouse Network Round Trip Times 🟩 10 ms 🟩 20 ms ↑ +48.4 %
Code coverage Line coverage 🟨 89.9 % 🟨 89.9 % ↑ +0.1 %

576 other audits are unchanged.

@BioPhoton BioPhoton marked this pull request as ready for review March 4, 2025 23:42
@BioPhoton BioPhoton requested a review from matejchalk March 4, 2025 23:43
@BioPhoton BioPhoton requested a review from matejchalk March 5, 2025 11:14
@BioPhoton BioPhoton merged commit fbd46ea into main Mar 5, 2025
15 of 16 checks passed
@BioPhoton BioPhoton deleted the reduced-audit-report-options branch March 5, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add options to filter by score of category groups or audit
2 participants