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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼285.59ms] Passed 4 tests
Analyzing server-side resources used by Best Preloader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.17 | 55.58 ▼0.17 |
Dashboard /wp-admin | 3.52 ▲0.12 | 35.10 ▼0.87 |
Posts /wp-admin/edit.php | 3.75 ▲0.11 | 41.90 ▲0.07 |
Add New Post /wp-admin/post-new.php | 6.98 ▲0.01 | 102.64 ▼1,141.37 |
Media Library /wp-admin/upload.php | 3.40 ▲0.10 | 25.26 ▲1.40 |
Preloader /wp-admin/options-general.php?page=best-preloader | 3.49 | 27.47 |
Server storage [IO: ▲1.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 1 new option
New WordPress options |
---|
spacexchimp_p007_service_info |
Browser metrics Passed 4 tests
A check of browser resources used by Best Preloader
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,953 ▲199 | 16.24 ▲0.60 | 9.39 ▲2.52 | 2.28 ▼0.40 |
Dashboard /wp-admin | 2,897 ▲39 | 6.20 ▲0.02 | 120.70 ▼12.90 | 156.16 ▼78.50 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.00 | 63.14 ▼1.18 | 142.80 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,671 ▼81 | 19.27 ▼1.58 | 414.31 ▼60.13 | 167.79 ▼10.65 |
Media Library /wp-admin/upload.php | 1,706 ▲5 | 5.52 ▼0.01 | 137.97 ▼44.47 | 189.38 ▼10.67 |
Preloader /wp-admin/options-general.php?page=best-preloader | 3,394 | 3.66 | 83.63 | 141.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- spacexchimp_p007_service_info
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 15× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/best-preloader/inc/php/tabs/faq.php
- > /wp-content/plugins/best-preloader/inc/php/versioning.php
- > /wp-content/plugins/best-preloader/best-preloader.php
- > /wp-content/plugins/best-preloader/inc/php/tabs/support.php
- > /wp-content/plugins/best-preloader/inc/php/functional.php
- > /wp-content/plugins/best-preloader/inc/php/tabs/settings.php
- > /wp-content/plugins/best-preloader/inc/php/controls.php
- > /wp-content/plugins/best-preloader/inc/php/enqueue.php
- > /wp-content/plugins/best-preloader/inc/php/tabs/usage.php
- > /wp-content/plugins/best-preloader/inc/php/page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
best-preloader/best-preloader.php Passed 13 tests
The main PHP file in "Best Preloader" ver. 4.45 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
Easily and safely add a preloader to your WordPress website.
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
There were no executable files found in this plugin6,191 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 1 | 0 | 2,677 |
PO File | 5 | 748 | 771 | 1,649 |
PHP | 16 | 275 | 367 | 1,197 |
CSS | 5 | 31 | 80 | 592 |
JavaScript | 4 | 21 | 39 | 76 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.03MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/spacexchimp-logo.png | 21.01KB | 14.98KB | ▼ 28.69% |
inc/img/thanks.png | 9.03KB | 9.47KB | 0.00% |