Benchmarks
Plugin footprint 22% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/all-in-one-minifier/includes/class-all-in-one-minifier-core.php+83
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.69MB] [CPU: ▼46.53ms] Passed 4 tests
Server-side resources used by All in one Minifier
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 7.00 ▼33.47 |
Dashboard /wp-admin | 2.32 ▼0.99 | 10.40 ▼39.19 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 7.48 ▼36.84 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 6.65 ▼76.60 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 6.49 ▼26.35 |
Donate /wp-admin/admin.php?page=all-in-one-minifier-donate | 2.32 | 6.80 |
Page Speed Report /wp-admin/admin.php?page=all-in-one-minifier-report | 2.32 | 8.18 |
About /wp-admin/admin.php?page=all-in-one-minifier-about | 2.32 | 8.89 |
Settings /wp-admin/admin.php?page=all-in-one-minifier-admin | 2.32 | 7.21 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/all-in-one-minifier/" and "wp-content/uploads/"
- (new file) wp-content/cache/alone_minifier/.empty
Filesystem: 16 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_alone_minifier_analysis |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
all-in-one-minifier |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by All in one Minifier
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲76 | 13.23 ▼1.16 | 1.73 ▼0.32 | 44.34 ▼8.07 |
Dashboard /wp-admin | 2,236 ▲51 | 4.86 ▼0.05 | 112.49 ▼5.61 | 43.76 ▼4.01 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.18 ▲0.19 | 33.41 ▼6.52 | 31.87 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,554 ▲17 | 23.24 ▲0.15 | 617.79 ▼44.16 | 48.66 ▼2.81 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.16 ▼0.04 | 101.60 ▲2.50 | 40.44 ▼2.85 |
Donate /wp-admin/admin.php?page=all-in-one-minifier-donate | 961 | 2.02 | 24.99 | 33.65 |
Page Speed Report /wp-admin/admin.php?page=all-in-one-minifier-report | 1,074 | 2.20 | 25.70 | 33.15 |
About /wp-admin/admin.php?page=all-in-one-minifier-about | 889 | 2.02 | 24.87 | 27.17 |
Settings /wp-admin/admin.php?page=all-in-one-minifier-admin | 979 | 2.19 | 22.18 | 38.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/all-in-one-minifier/includes/class-all-in-one-minifier-core.php+83
Trying to access array offset on value of type bool
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_alone_minifier_analysis
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- all-in-one-minifier
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-minifier-admin
- > Notice in wp-content/plugins/all-in-one-minifier/includes/class-all-in-one-minifier-core.php+131
Trying to access array offset on value of type bool
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-minifier-admin
- > Notice in wp-content/plugins/all-in-one-minifier/includes/class-all-in-one-minifier-core.php+142
Undefined index: generatereport
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-minifier-report
- > Notice in wp-content/plugins/all-in-one-minifier/admin/class-all-in-one-minifier-admin.php+555
Undefined index: filter-post-type
- > GET request to /wp-admin/admin.php?page=all-in-one-minifier-report
- > Notice in wp-content/plugins/all-in-one-minifier/admin/class-all-in-one-minifier-admin.php+380
Undefined index: paged
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-minifier/admin/class-all-in-one-minifier-admin.php:918
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Please a description for screenshot #5 in all-in-one-minifier/assets to your readme.txt
- Screenshots: Screenshot #4 (A screenshot of the speed test in console.) image not found
all-in-one-minifier/all-in-one-minifier.php Passed 13 tests
The main PHP file in "All in one Minifier" ver. 2.2 adds more information about the plugin and also serves as the entry point for this plugin
107 characters long description:
Reduce your page load by minify your HTML source on page with all the CSS and JS code present in your page.
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
Everything looks great! No dangerous files found in this plugin1,549 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 70 | 96 | 1,098 |
CSS | 1 | 33 | 20 | 430 |
SVG | 2 | 0 | 1 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
5 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/gpay.png | 88.55KB | 34.15KB | ▼ 61.44% |
admin/assets/img/sbi.png | 19.66KB | 9.76KB | ▼ 50.34% |
admin/assets/img/paypral.png | 24.14KB | 23.87KB | ▼ 1.11% |
admin/assets/img/upi.png | 78.57KB | 29.46KB | ▼ 62.51% |
admin/assets/img/paytm.png | 44.70KB | 21.35KB | ▼ 52.23% |