Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲1.38MB] [CPU: ▲7.02ms] Passed 4 tests
This is a short check of server-side resources used by All-in-One WP Preloader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.88 ▲1.42 | 48.31 ▲7.88 |
Dashboard /wp-admin | 4.69 ▲1.38 | 61.19 ▲6.96 |
Posts /wp-admin/edit.php | 4.74 ▲1.38 | 59.86 ▲8.33 |
Add New Post /wp-admin/post-new.php | 7.28 ▲1.39 | 102.15 ▲4.90 |
Media Library /wp-admin/upload.php | 4.58 ▲1.35 | 45.99 ▲12.17 |
Server storage [IO: ▲8.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 571 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for All-in-One WP Preloader
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,227 ▲492 | 18.75 ▲4.47 | 6.07 ▲4.44 | 39.99 ▼8.15 |
Dashboard /wp-admin | 2,490 ▲299 | 9.26 ▲4.37 | 182.99 ▲75.20 | 41.17 ▼2.53 |
Posts /wp-admin/edit.php | 2,406 ▲317 | 6.12 ▲4.12 | 76.46 ▲37.34 | 30.02 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,598 ▲65 | 19.91 ▼3.23 | 773.23 ▲127.61 | 38.17 ▼18.70 |
Media Library /wp-admin/upload.php | 1,563 ▲175 | 6.61 ▲2.40 | 107.29 ▲9.40 | 42.80 ▲1.19 |
All-in-One WP Preloader /wp-admin/crb_carbon_fields_container_all-in-one_wp_preloader.php | 26 | 0.44 | 0.08 | 13.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 213× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/htmlburger/carbon-fields/core/Block.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/htmlburger/carbon-fields/templates/Container/post_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Post_Meta_Datastore' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/htmlburger/carbon-fields/core/Datastore/Nav_Menu_Item_Datastore.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Comment_Meta_Container.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/composer/installers/src/Composer/Installers/GravInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/all-in-one-wp-preloader/admin/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Scalar_Comparer.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_all-in-one_wp_preloader.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_all-in-one_wp_preloader.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: preloader, all-in-one-preloader, all-in-one, loader, wp-preloader
all-in-one-wp-preloader/all-in-one-wp-preloader.php Passed 13 tests
"All-in-One WP Preloader" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
133 characters long description:
All-in-One Preloader helps you to create awesome preloader that easy to customize, works on all major browsers and with any wp theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin30,377 lines of code in 516 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 173 | 5,200 | 8,466 | 12,970 |
PHP | 248 | 2,850 | 7,048 | 10,786 |
PO File | 26 | 819 | 1,020 | 2,202 |
CSS | 9 | 347 | 1,151 | 1,822 |
Sass | 48 | 339 | 0 | 1,769 |
JSON | 5 | 0 | 0 | 639 |
YAML | 3 | 30 | 3 | 118 |
Markdown | 4 | 26 | 0 | 71 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 222 | |
▷ Abstract classes | 12 | 5.41% |
▷ Concrete classes | 210 | 94.59% |
▷ Final classes | 1 | 0.48% |
Methods | 996 | |
▷ Static methods | 91 | 9.14% |
▷ Public methods | 783 | 78.61% |
▷ Protected methods | 202 | 20.28% |
▷ Private methods | 11 | 1.10% |
Functions | 116 | |
▷ Named functions | 30 | 25.86% |
▷ Anonymous functions | 86 | 74.14% |
Constants | 37 | |
▷ Global constants | 10 | 27.03% |
▷ Class constants | 27 | 72.97% |
▷ Public constants | 27 | 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
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 |
assets/images/ai1wp.png | 9.66KB | 4.81KB | ▼ 50.21% |