Code Quality Scanner is a plug-in for Weixin Mini Program developers to improve code quality by scanning local code, identifying optimizable items in the code, and making recommendations for optimization.

# Use Procedure

  1. Open the developer tools and open the editor

  2. Switch to the Code Quality panel in the debugger area

  3. Click the Scan button

Image description

  1. A code quality report is displayed in the current panel after the scan, allowing developers to optimize functionality based on the recommendations in the report

  2. It is recommended that you can click "Rescan" to see the latest code quality report after each code change

# Ratings Rules

A list of optimizations and optimization recommendations can be found in the documentation: Weixin Mini Program Performance Optimization Guide