90% super-plus

Code Review | Super-Plus

WordPress plugin Super-Plus scored 90% from 53 tests.

About plugin

  • Plugin page: super-plus
  • Plugin version: 1.55
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.3
  • WordPress version: 5.8.1
  • First release: Aug 27, 2015
  • Latest release: Aug 28, 2015
  • Number of updates: 17
  • Update frequency: every 0.1 days
  • Top authors: AllRight (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 690 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.08MB] [CPU: ▼262.32ms] Passed 4 tests

Server-side resources used by Super-Plus
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.90 ▲0.1839.71 ▲17.83
Dashboard /wp-admin3.12 ▲0.0751.99 ▲6.95
Posts /wp-admin/edit.php3.23 ▲0.1349.05 ▼5.68
Add New Post /wp-admin/post-new.php5.49 ▲0.0693.42 ▼1,049.42
Media Library /wp-admin/upload.php3.06 ▲0.0638.00 ▼1.12

Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Super-Plus
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,693 ▲8715.90 ▲0.317.36 ▼0.7047.15 ▲0.04
Dashboard /wp-admin2,953 ▲1036.04 ▲0.17134.26 ▼30.57110.34 ▲1.88
Posts /wp-admin/edit.php2,726 ▲202.70 ▲0.0264.03 ▼12.3392.49 ▼10.96
Add New Post /wp-admin/post-new.php3,720 ▲2,06715.13 ▼3.61442.95 ▲70.32107.82 ▼23.41
Media Library /wp-admin/upload.php1,795 ▲235.01 ▲0.00147.14 ▼13.03114.05 ▼4.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Uninstall procedure had uncaught errors
    • > Warning in wp-includes/class-wp-hook.php+303
    call_user_func_array() expects parameter 1 to be a valid callback, function 'splus_plugin_deactivate' not found or invalid function name

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: super-plus, superplus, splus, wordpressplus, enhancement...

super-plus/super-plus.php Passed 13 tests

The principal PHP file in "Super-Plus" v. 1.55 is loaded by WordPress automatically on each request
37 characters long description:
Super-Plus多功能优化增强插件

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,708 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP44911,111
CSS37665327
JavaScript46784270

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.34
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions47
▷ Named functions47100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin