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
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼9.63ms] Passed 4 tests
This is a short check of server-side resources used by Preloader Bundle
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.32 ▼0.25 |
Dashboard /wp-admin | 3.55 ▲0.21 | 49.20 ▼12.17 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 55.09 ▲2.80 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 82.40 ▼28.27 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.59 ▲2.19 |
Server storage [IO: ▲2.41MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 155 new files
Database: no new tables, 7 new options
New WordPress options |
---|
preloader_bundle_basic_settings |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Preloader Bundle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲187 | 15.11 ▲0.72 | 1.62 ▼0.36 | 42.01 ▲0.49 |
Dashboard /wp-admin | 2,367 ▲179 | 6.63 ▲0.73 | 123.68 ▲20.15 | 41.03 ▼2.87 |
Posts /wp-admin/edit.php | 2,267 ▲178 | 3.53 ▲1.50 | 50.79 ▲6.17 | 33.86 ▼5.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 23.27 ▲0.12 | 648.00 ▲14.59 | 37.47 ▼13.11 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.28 ▲0.02 | 82.79 ▼16.34 | 43.21 ▼0.31 |
Preloader Bundle /wp-admin/preloader-bundle.php | 26 | 0.44 | 0.08 | 14.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- preloader_bundle_basic_settings
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/preloader-bundle/includes/admin_settings.php
- > /wp-content/plugins/preloader-bundle/includes/public.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/preloader-bundle.php
- > Network (severe)
wp-admin/preloader-bundle.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
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
6 plugin tags: preloader-gifs, gifs, gifs-preloader, preloader, preloader-bundle...
preloader-bundle/preloader-bundle.php Passed 13 tests
The main PHP script in "Preloader Bundle" version 1.0.1 is automatically included on every request by WordPress
78 characters long description:
Add Preloader To Your Site With Just One Click! 150+ Preloader To Select From.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected701 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 239 | 284 | 643 |
CSS | 1 | 4 | 3 | 37 |
JavaScript | 1 | 4 | 0 | 21 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 30.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin