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(plugin-lighthouse): add audit details to lighthouse plugin #684

Merged
merged 104 commits into from
Jun 20, 2024

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented May 28, 2024

This PR includes logic to parse table data from lighthouse reports.

It includes:

  • parsing and formatting of ItemValue data
  • parsing of details of type table
  • all test and test data to understand the logic

BioPhoton and others added 30 commits April 16, 2024 23:15
@BioPhoton BioPhoton marked this pull request as ready for review June 12, 2024 18:06
@BioPhoton BioPhoton requested a review from Tlacenka as a code owner June 12, 2024 18:06
Copy link

github-actions bot commented Jun 12, 2024

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared target commit e214a03 with source commit 8d6dccb.

🏷️ Categories

🏷️ Category ⭐ Current score ⭐ Previous score 🔄 Score change
Performance 🟡 58 🟡 51 ↑ +6.6
Code coverage 🟡 89 🟡 89 ↑ +0.1
Accessibility 🟢 100 🟢 100
Best Practices 🟢 100 🟢 100
SEO 🟡 85 🟡 85
Bug prevention 🟢 100 🟢 100
Code style 🟢 99 🟢 99
Security 🟢 100 🟢 100
Updates 🟡 79 🟡 79
Custom checks 🟡 67 🟡 67

🗃️ Groups

👍 2 groups improved
🔌 Plugin 🗃️ Group ⭐ Current score ⭐ Previous score 🔄 Score change
Lighthouse Performance 🟡 58 🟡 51 ↑ +6.6
Code coverage Code coverage metrics 🟡 89 🟡 89 ↑ +0.1

18 other groups are unchanged.

🛡️ Audits

👍 9 audits improved, 👎 1 audit regressed, 8 audits changed without impacting score
🔌 Plugin 🛡️ Audit 📏 Current value 📏 Previous value 🔄 Value change
Lighthouse Total Blocking Time 🟥 1,100 ms 🟥 1,850 ms ↓ −41 %
Lighthouse Speed Index 🟨 3.6 s 🟨 4.4 s ↓ −19 %
Lighthouse Time to Interactive 🟨 3.9 s 🟨 5.0 s ↓ −21 %
Lighthouse First Meaningful Paint 🟨 2.4 s 🟨 2.9 s ↓ −15 %
Lighthouse First Contentful Paint 🟨 2.4 s 🟨 2.7 s ↓ −10 %
Lighthouse Cumulative Layout Shift 🟨 0.199 🟨 0.172  −∞ %
Lighthouse Largest Contentful Paint 🟨 3.0 s 🟨 3.3 s ↓ −7 %
Code coverage Line coverage 🟩 92 % 🟩 91 % ↑ +1 %
Code coverage Branch coverage 🟨 83 % 🟨 83 %  +0 %
Code coverage Function coverage 🟩 92 % 🟩 91 % ↑ +1 %
Lighthouse Minimizes main-thread work 🟥 4.4 s 🟥 5.8 s ↓ −25 %
Lighthouse Metrics 🟩 3939 🟩 5014 ↓ −21 %
Lighthouse JavaScript execution time 🟩 0.2 s 🟩 0.3 s ↓ −38 %
Lighthouse Server Backend Latencies 🟩 60 ms 🟩 110 ms ↓ −49 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 432 KiB 🟩 Total size was 432 KiB ↓ +0 %
Lighthouse Max Potential First Input Delay 🟥 700 ms 🟥 710 ms ↓ −2 %
Lighthouse Uses efficient cache policy on static assets 🟨 11 resources found 🟨 11 resources found ↓ +0 %
Lighthouse Initial server response time was short 🟩 Root document took 10 ms 🟩 Root document took 0 ms ↑ +100 %

491 other audits are unchanged.

@BioPhoton BioPhoton removed the request for review from Tlacenka June 15, 2024 00:37
matejchalk
matejchalk previously approved these changes Jun 17, 2024
# Conflicts:
#	packages/plugin-lighthouse/src/lib/runner/utils.ts
#	packages/plugin-lighthouse/src/lib/runner/utils.unit.test.ts
@BioPhoton BioPhoton merged commit e19917f into main Jun 20, 2024
16 checks passed
@BioPhoton BioPhoton deleted the add-audit-details-to-lighthouse-plugin branch June 20, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants