Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/5usujian-super-serv/5usujian-super-serv.php+38
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.08MB] [CPU: ▼305.17ms] Passed 4 tests
A check of server-side resources used by QQ旺旺Skype微信电话二维码客服WordPress插件 5usujian super serv
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.12 | 54.32 ▲3.73 |
Dashboard /wp-admin | 3.51 ▲0.11 | 32.95 ▼4.16 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 37.54 ▲0.85 |
Add New Post /wp-admin/post-new.php | 6.97 ▲0.01 | 101.11 ▼1,213.63 |
Media Library /wp-admin/upload.php | 3.39 ▲0.09 | 24.50 ▼3.73 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wysj_serv_options |
Browser metrics Passed 4 tests
QQ旺旺Skype微信电话二维码客服WordPress插件 5usujian super serv: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,820 ▲98 | 16.04 ▲0.36 | 5.70 ▼0.47 | 1.99 ▼0.25 |
Dashboard /wp-admin | 2,923 ▲65 | 6.33 ▲0.13 | 125.41 ▼5.59 | 169.27 ▲18.66 |
Posts /wp-admin/edit.php | 2,723 ▲32 | 3.27 ▲0.04 | 65.09 ▲1.01 | 149.56 ▲6.94 |
Add New Post /wp-admin/post-new.php | 1,693 ▲25 | 18.72 ▼0.17 | 396.20 ▲0.23 | 161.99 ▲5.81 |
Media Library /wp-admin/upload.php | 1,733 ▲35 | 5.57 ▲0.08 | 143.71 ▲5.62 | 194.87 ▲4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 1 option in the database
- wysj_serv_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: whatsapp, skype, qq, email
5usujian-super-serv/5usujian-super-serv.php 92% from 13 tests
The main PHP script in "QQ旺旺Skype微信电话二维码客服WordPress插件 5usujian super serv" version 1.5 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,424 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 39 | 31 | 1,312 |
CSS | 5 | 232 | 11 | 679 |
SVG | 1 | 391 | 3 | 215 |
JavaScript | 4 | 13 | 17 | 185 |
PO File | 1 | 8 | 9 | 33 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/css/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
asset/images/wysj-logo.png | 5.71KB | 2.50KB | ▼ 56.13% |