Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼8.39ms] Passed 4 tests
Server-side resources used by SpeedPlus OptiMini
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 41.74 ▲2.51 |
Dashboard /wp-admin | 3.50 ▲0.16 | 48.42 ▼9.16 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 45.10 ▼5.26 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 80.62 ▼17.03 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 33.61 ▼2.12 |
SpeedPlus OptiMini /wp-admin/options-general.php?page=speedplus-optimini | 3.40 | 31.91 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for SpeedPlus OptiMini
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲50 | 14.35 ▼0.22 | 1.79 ▲0.19 | 44.32 ▲4.12 |
Dashboard /wp-admin | 2,198 ▲18 | 5.49 ▼0.19 | 85.22 ▲0.43 | 37.88 ▼3.81 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.97 ▲0.00 | 33.19 ▼8.55 | 34.96 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.33 ▲0.39 | 624.20 ▼34.18 | 56.39 ▲7.51 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.03 | 100.27 ▼2.74 | 40.97 ▼2.44 |
SpeedPlus OptiMini /wp-admin/options-general.php?page=speedplus-optimini | 1,266 | 1.74 | 24.14 | 33.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-admin/includes/plugin.php+1242
Constant WP_UNINSTALL_PLUGIN already defined
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/speedplus-optimini/speedplus-optimini.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/speedplus-optimini/includes/options.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Contributors: Plugin contributors not specified
speedplus-optimini/speedplus-optimini.php Passed 13 tests
The main file in "SpeedPlus OptiMini" v. 1.4.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
51 characters long description:
Increase PageSpeed score and make your site faster.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,697 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 62 | 162 | 957 |
PO File | 2 | 214 | 222 | 728 |
CSS | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 81 | |
▷ Named functions | 65 | 80.25% |
▷ Anonymous functions | 16 | 19.75% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/stop-war-in-ukraine-2.png | 8.91KB | 3.97KB | ▼ 55.44% |