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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 39.71 ▲17.83 |
Dashboard /wp-admin | 3.12 ▲0.07 | 51.99 ▲6.95 |
Posts /wp-admin/edit.php | 3.23 ▲0.13 | 49.05 ▼5.68 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 93.42 ▼1,049.42 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 38.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,693 ▲87 | 15.90 ▲0.31 | 7.36 ▼0.70 | 47.15 ▲0.04 |
Dashboard /wp-admin | 2,953 ▲103 | 6.04 ▲0.17 | 134.26 ▼30.57 | 110.34 ▲1.88 |
Posts /wp-admin/edit.php | 2,726 ▲20 | 2.70 ▲0.02 | 64.03 ▼12.33 | 92.49 ▼10.96 |
Add New Post /wp-admin/post-new.php | 3,720 ▲2,067 | 15.13 ▼3.61 | 442.95 ▲70.32 | 107.82 ▼23.41 |
Media Library /wp-admin/upload.php | 1,795 ▲23 | 5.01 ▲0.00 | 147.14 ▼13.03 | 114.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 4 | 91 | 1,111 |
CSS | 3 | 76 | 65 | 327 |
JavaScript | 4 | 67 | 84 | 270 |
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 code | 0.34 |
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 | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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