10% 5usujian-super-serv

Code Review | QQ旺旺Skype微信电话二维码客服WordPress插件 5usujian super serv

WordPress plugin QQ旺旺Skype微信电话二维码客服WordPress插件 5usujian super serv scored 10% from 54 tests.

About plugin

  • Plugin page: 5usujian-super-serv
  • Plugin version: 1.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.6.2
  • WordPress version: 5.9.2
  • First release: Jun 21, 2019
  • Latest release: Feb 24, 2021
  • Number of updates: 14
  • Update frequency: every 43.9 days
  • Top authors: weitamingting (100%)

Code review

54 tests

User reviews

1 review

Install metrics

900+ active / 6,137 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1254.32 ▲3.73
Dashboard /wp-admin3.51 ▲0.1132.95 ▼4.16
Posts /wp-admin/edit.php3.74 ▲0.1037.54 ▲0.85
Add New Post /wp-admin/post-new.php6.97 ▲0.01101.11 ▼1,213.63
Media Library /wp-admin/upload.php3.39 ▲0.0924.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

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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,820 ▲9816.04 ▲0.365.70 ▼0.471.99 ▼0.25
Dashboard /wp-admin2,923 ▲656.33 ▲0.13125.41 ▼5.59169.27 ▲18.66
Posts /wp-admin/edit.php2,723 ▲323.27 ▲0.0465.09 ▲1.01149.56 ▲6.94
Add New Post /wp-admin/post-new.php1,693 ▲2518.72 ▼0.17396.20 ▲0.23161.99 ▲5.81
Media Library /wp-admin/upload.php1,733 ▲355.57 ▲0.08143.71 ▲5.62194.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


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:
LanguageFilesBlank linesComment linesLines of code
PO File18933

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 code0.33
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions30100.00%
▷ Anonymous functions00.00%
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
asset/css/jquery.minicolors.png67.02KB34.31KB▼ 48.80%
asset/images/wysj-logo.png5.71KB2.50KB▼ 56.13%