Sie sind auf Seite 1von 3

Example metric scores.

(What metric value is required to get a X score on this audit)


Category Audit Weight within Category Score of 100 Score of 99 Score of 95 Score of 90 Score of 80 Score of 75 Score of 50 Score of 0
performance first-contentful-paint 3 1,359 1,508 2,006 2,336 2,809 3,014 4,000 12,157
performance first-meaningful-paint 1 1,359 1,508 2,006 2,336 2,809 3,014 4,000 12,157
performance first-cpu-idle 2 1,954 2,195 3,015 3,572 4,387 4,743 6,500 22,399
performance interactive 5 1,953 2,218 3,142 3,785 4,742 5,166 7,300 28,368
performance speed-index 4 1,970 2,187 2,908 3,387 4,074 4,370 5,800 17,628
performance estimated-input-latency 0
pwa service-worker 1
pwa works-offline 5
pwa without-javascript 1
pwa is-on-https 2
pwa redirects-http 2
pwa load-fast-enough-for-pwa 7
pwa webapp-install-banner 3
pwa splash-screen 1
pwa themed-omnibox 1
pwa viewport 2
pwa content-width 1
accessibility accesskeys 1
accessibility aria-allowed-attr 3
accessibility aria-required-attr 2
accessibility aria-required-children 5
accessibility aria-required-parent 2
accessibility aria-roles 3
accessibility aria-valid-attr-value 2
accessibility aria-valid-attr 5
accessibility audio-caption 4
accessibility button-name 10
accessibility bypass 10
accessibility color-contrast 6
accessibility definition-list 1
accessibility dlitem 1
accessibility document-title 2
accessibility duplicate-id 5
accessibility frame-title 5
accessibility html-has-lang 4
accessibility html-lang-valid 1
accessibility image-alt 8
accessibility input-image-alt 1
accessibility label 10
accessibility layout-table 1
accessibility link-name 9
accessibility list 5
accessibility listitem 4
accessibility meta-refresh 1
accessibility meta-viewport 3
accessibility object-alt 4
accessibility tabindex 4
accessibility td-headers-attr 1
accessibility th-has-data-cells 1
accessibility valid-lang 1
accessibility video-caption 4
accessibility video-description 3
best-practices appcache-manifest 1
best-practices no-websql 1
best-practices is-on-https 1
best-practices uses-http2 1
best-practices uses-passive-event-listeners 1
best-practices no-mutation-events 1
best-practices no-document-write 1
best-practices external-anchors-use-rel-noopener 1
best-practices geolocation-on-start 1
best-practices no-vulnerable-libraries 1
best-practices notification-on-start 1
best-practices deprecations 1
best-practices manifest-short-name-length 1
best-practices password-inputs-can-be-pasted-into 1
best-practices errors-in-console 1
best-practices image-aspect-ratio 1
What score would you get for these metric values?
(EDIT THESE VALUES)
Category Audit Weight within Category Potential value Category score
performance first-contentful-paint 3 2,500
performance first-meaningful-paint 1 2,500
performance first-cpu-idle 2 5,000 80.0%
performance interactive 5 5,000
performance speed-index 4 4,000

pwa service-worker 1 pass


pwa works-offline 5 fail
pwa without-javascript 1 pass
pwa is-on-https 2 pass
pwa redirects-http 2 pass
pwa load-fast-enough-for-pwa 7 pass 81%
pwa webapp-install-banner 3 pass
pwa splash-screen 1 pass
pwa themed-omnibox 1 pass
pwa viewport 2 pass
pwa content-width 1 pass
To play around with the calculator
File --> Make a copy
Voila! You have your own copy of the calculator to play around with!

The v5 calculator sheet can be found here:


https://docs.google.com/spreadsheets/d/1up5rxd4EMCoMaxH8cppcK1x76n6HLx0e7jxb0e0FXvc/edit#gid=0

Dev Notes
run on config/default.js
Object.keys(conf.categories).forEach(cat => conf.categories[cat].audits.forEach(audit => console.log(cat,'\t',audit.id,'\t', audit.weight) ))

Das könnte Ihnen auch gefallen