# Scoring method

At present, there are 27 rules for experience scoring, which are divided into three categories: performance, experience, best practices, score for meeting the requirements of the rules (100 points), or no score (0 points), and finally calculate the total score according to the weight and formula of each rule.

A rule with a weight of 0 indicates that the rule does not participate in scoring, only as a prompt. Developers can click "Ignore" in Developer Tools.

The scoring conditions of each rule may also be adjusted with the update of the version of the Mini Program.

# The weights are as follows

classification rule weight
performance Script execution time 7
First screen time 6
Rendering time 6
SetData Call Frequency 6
SetData Data Size 6
Number of WXML nodes 6
Request time 5
Number of network requests 5
Number of image requests 5
Image cache 4
Image size 4
Network Request Cache 2
experience Start inertia rolling 8
Avoid using:activePseudo-class to achieve click-state 8
Keep the image size ratio 4
Response area for clickable elements 3
iPhone X compatible 3
Window change adaptation 3
Reasonable color matching 0
Best practices Avoid JS exceptions 3
Avoid network request exceptions 3
Derelict interface 2
Use HTTPS 1
Avoid setData data redundancy 1
Minimum base version 0
Remove inaccessible pages 0
WXSS Usage 0
Timely recovery timer 0

# Dxplaination of the rules

A detailed explaination of the rules can be found in the following documents: