Skip to content

Conversation

@matejchalk
Copy link
Collaborator

The pytest LCOV report can produce records with a higher hit than found, which results in an invalid coverage percentage 😅

image

@matejchalk matejchalk self-assigned this Jun 16, 2025
@matejchalk matejchalk added the 🐛 bug something isn't working label Jun 16, 2025
@github-actions
Copy link
Contributor

Code PushUp

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

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🟡 51 🔴 48 ↓ −3
Code coverage 🟢 91 🟢 91
Security 🟡 61 🟡 61
Updates 🟡 77 🟡 77
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟡 61 🟡 61
Type Safety 🟢 100 🟢 100
Bug prevention 🟢 100 🟢 100
Miscellaneous 🟢 100 🟢 100
Code style 🟢 100 🟢 100
Documentation 🔴 23 🔴 23
👎 1 group regressed, 👍 2 audits improved, 👎 4 audits regressed, 10 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🟡 51 🔴 48 ↓ −3

20 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Initial server response time was short 🟥 Root document took 600 ms 🟩 Root document took 410 ms ↓ −31.6 %
Lighthouse Speed Index 🟨 5.1 s 🟥 5.9 s ↑ +16.2 %
Lighthouse First Contentful Paint 🟨 2.9 s 🟥 3.3 s ↑ +14.1 %
Lighthouse Time to Interactive 🟥 12.1 s 🟥 12.8 s ↑ +5.8 %
Lighthouse Total Blocking Time 🟥 2,360 ms 🟥 2,990 ms ↑ +26.7 %
Lighthouse Largest Contentful Paint 🟨 3.9 s 🟨 3.8 s ↓ −1.3 %
Lighthouse Minimizes main-thread work 🟥 12.1 s 🟥 14.8 s ↑ +22.3 %
Lighthouse JavaScript execution time 🟥 4.8 s 🟥 6.0 s ↑ +23.2 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +5.8 %
Lighthouse Max Potential First Input Delay 🟥 1,480 ms 🟥 1,840 ms ↑ +24.6 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 68 KiB 🟥 Potential savings of 68 KiB ↓ −33.3 %
Lighthouse Uses efficient cache policy on static assets 🟨 30 resources found 🟨 30 resources found ↓ −0.1 %
Lighthouse Server Backend Latencies 🟩 150 ms 🟩 80 ms ↓ −46 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 1,884 KiB 🟩 Total size was 1,884 KiB ↓ −0.1 %
Lighthouse Network Round Trip Times 🟩 20 ms 🟩 30 ms ↑ +64.9 %
Code coverage Line coverage 🟩 90.2 % 🟩 90.2 % ↓ −0.1 %

589 other audits are unchanged.

@matejchalk matejchalk merged commit c796f30 into main Jun 16, 2025
17 checks passed
@matejchalk matejchalk deleted the fix-invalid-lcov-percentage branch June 16, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug something isn't working 🧩 coverage-plugin 🔬 testing writing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants