Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▲3.00ms] Passed 4 tests
Server-side resources used by Asset CleanUp: Page Speed Booster
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 44.74 ▲2.49 |
Dashboard /wp-admin | 3.58 ▲0.28 | 78.70 ▲34.39 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 59.06 ▲12.81 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 89.92 ▼8.74 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 40.44 ▲5.42 |
Plugins Manager /wp-admin/admin.php?page=wpassetcleanup_plugins_manager | 3.50 | 47.08 |
Getting Started /wp-admin/admin.php?page=wpassetcleanup_getting_started | 3.48 | 38.83 |
Bulk Changes /wp-admin/admin.php?page=wpassetcleanup_bulk_unloads | 3.54 | 46.22 |
Go Pro /wp-admin/admin.php?page=wpassetcleanup_go_pro | 2.05 | 6.78 |
CSS/JS Manager /wp-admin/admin.php?page=wpassetcleanup_assets_manager | 3.52 | 48.29 |
Overview /wp-admin/admin.php?page=wpassetcleanup_overview | 3.52 | 48.95 |
License /wp-admin/admin.php?page=wpassetcleanup_license | 3.48 | 44.41 |
Settings /wp-admin/admin.php?page=wpassetcleanup_settings | 3.83 | 55.38 |
Tools /wp-admin/admin.php?page=wpassetcleanup_tools | 3.57 | 46.20 |
Help /wp-admin/admin.php?page=wpassetcleanup_get_help | 3.49 | 43.25 |
Server storage [IO: ▲3.44MB] [DB: ▲0.02MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- You have illegally modified 7 files (0.19KB) outside of "wp-content/plugins/wp-asset-clean-up/" and "wp-content/uploads/"
- (new file) wp-content/cache/asset-cleanup/js/index.php
- (new file) wp-content/cache/asset-cleanup/css/index.php
- (new file) wp-content/cache/asset-cleanup/.htaccess
- (new file) wp-content/cache/asset-cleanup/_storage/item/.empty
- (new file) wp-content/cache/asset-cleanup/css/item/inline/index.php
- (new file) wp-content/cache/asset-cleanup/js/item/inline/index.php
- (new file) wp-content/cache/asset-cleanup/index.php
Filesystem: 303 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
wpassetcleanup_global_data |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Asset CleanUp: Page Speed Booster
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,105 ▲370 | 13.25 ▼1.15 | 1.96 ▲0.33 | 37.43 ▼5.80 |
Dashboard /wp-admin | 2,449 ▲260 | 5.98 ▲0.81 | 111.78 ▼2.54 | 78.75 ▲36.36 |
Posts /wp-admin/edit.php | 2,349 ▲260 | 2.28 ▲0.24 | 42.78 ▲6.77 | 40.40 ▲7.42 |
Add New Post /wp-admin/post-new.php | 6,688 ▲5,161 | 23.39 ▲0.08 | 915.85 ▲237.58 | 54.69 ▲2.33 |
Media Library /wp-admin/upload.php | 1,631 ▲243 | 4.18 ▼0.01 | 110.65 ▲15.08 | 86.13 ▲42.73 |
Plugins Manager /wp-admin/admin.php?page=wpassetcleanup_plugins_manager | 1,285 | 1.95 | 35.65 | 98.98 |
Getting Started /wp-admin/admin.php?page=wpassetcleanup_getting_started | 1,184 | 1.82 | 32.05 | 46.05 |
Bulk Changes /wp-admin/admin.php?page=wpassetcleanup_bulk_unloads | 1,469 | 2.06 | 37.22 | 58.83 |
Go Pro /wp-admin/admin.php?page=wpassetcleanup_go_pro | 5,293 | 6.73 | 386.24 | 228.61 |
CSS/JS Manager /wp-admin/admin.php?page=wpassetcleanup_assets_manager | 4,964 | 2.35 | 59.66 | 143.27 |
Overview /wp-admin/admin.php?page=wpassetcleanup_overview | 1,291 | 1.94 | 31.29 | 46.62 |
License /wp-admin/admin.php?page=wpassetcleanup_license | 1,231 | 1.84 | 30.54 | 44.38 |
Settings /wp-admin/admin.php?page=wpassetcleanup_settings | 5,446 | 2.10 | 42.73 | 61.42 |
Tools /wp-admin/admin.php?page=wpassetcleanup_tools | 1,338 | 1.84 | 31.96 | 41.73 |
Help /wp-admin/admin.php?page=wpassetcleanup_get_help | 1,362 | 1.83 | 30.59 | 51.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/wp-asset-clean-up/classes/Misc.php+1910
rmdir(wp-content/cache/asset-cleanup/css/item/inline/.): Invalid argument
- Zombie WordPress options detected upon uninstall: 7 options
- wpassetcleanup_global_data
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-asset-clean-up/wpacu.php:25
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:22
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/Exceptions/IOException.php:20
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/JS.php:25
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/CombineCssImports.php:20
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/CSS.php:29
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpassetcleanup_go_pro
- > Javascript (warning) in unknown
https://www.gabelivan.com/items/wp-asset-cleanup-pro/?utm_source=plugin_go_pro 1962 A parser-blocking, cross site (i.e. different eTLD+1) script, https://secure.statcounter.com/counter/counter.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/admin.php?page=wpassetcleanup_go_pro
- > Console-api (warning) in unknown
https://cdn.paddle.com/paddle/paddle.js 0:155840 "[Paddle Debug]Ignoring \"Visit\" as this isn't an affiliate visit."
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: defer css javascript, minify javascript, dequeue, minify css, performance...
wp-asset-clean-up/wpacu.php 77% from 13 tests
Analyzing the main PHP file in "Asset CleanUp: Page Speed Booster" version 1.3.9.3
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-asset-clean-up.php" instead of "wpacu.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "4.5")
- Domain Path: The domain path folder does not exist ("/languages")
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 detected44,371 lines of code in 227 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 181 | 7,059 | 8,319 | 29,957 |
CSS | 10 | 327 | 368 | 7,608 |
JavaScript | 11 | 953 | 512 | 4,962 |
Markdown | 3 | 991 | 0 | 953 |
JSON | 5 | 0 | 0 | 389 |
TypeScript | 1 | 154 | 762 | 236 |
SVG | 13 | 1 | 3 | 228 |
XML | 2 | 2 | 0 | 25 |
Dockerfile | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 91.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 688.00 |
Average method complexity | 7.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 97.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 3 | 5.45% |
▷ Concrete classes | 52 | 94.55% |
▷ Final classes | 0 | 0.00% |
Methods | 732 | |
▷ Static methods | 321 | 43.85% |
▷ Public methods | 615 | 84.02% |
▷ Protected methods | 109 | 14.89% |
▷ Private methods | 8 | 1.09% |
Functions | 108 | |
▷ Named functions | 10 | 9.26% |
▷ Anonymous functions | 98 | 90.74% |
Constants | 188 | |
▷ Global constants | 89 | 47.34% |
▷ Class constants | 99 | 52.66% |
▷ Public constants | 99 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/chosen/chosen-sprite@2x.png | 0.55KB | 0.56KB | 0.00% |
assets/images/asset-cleanup-logo.png | 7.71KB | 8.38KB | 0.00% |
assets/icons/premium-plugins/all-in-one-wp-migration-s3-extension.png | 5.07KB | 5.40KB | 0.00% |
assets/icons/icon-incognito.png | 1.88KB | 1.93KB | 0.00% |
assets/icons/themes/bridge.png | 0.52KB | 0.56KB | 0.00% |