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.07MB] [CPU: ▼7.39ms] Passed 4 tests
Server-side resources used by Ultimate WordPress Preloader
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.14 ▼1.39 |
Dashboard /wp-admin | 3.39 ▲0.04 | 47.09 ▼14.47 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.47 ▲3.15 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 83.19 ▼16.86 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.54 ▲3.80 |
Ultimate Preloader /wp-admin/options-general.php?page=mgupreloader_settings | 3.26 | 33.55 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
mgupreloader_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate WordPress Preloader
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲159 | 13.28 ▼1.01 | 2.15 ▲0.39 | 43.46 ▼3.40 |
Dashboard /wp-admin | 2,306 ▲115 | 4.92 ▼0.00 | 109.06 ▲3.61 | 75.89 ▲29.93 |
Posts /wp-admin/edit.php | 2,186 ▲97 | 2.17 ▲0.17 | 45.34 ▲4.79 | 37.26 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,673 ▲150 | 24.89 ▲1.70 | 623.41 ▲17.68 | 164.32 ▲105.99 |
Media Library /wp-admin/upload.php | 1,488 ▲103 | 4.18 ▼0.01 | 106.25 ▲0.57 | 46.18 ▲1.99 |
Ultimate Preloader /wp-admin/options-general.php?page=mgupreloader_settings | 1,227 | 1.86 | 31.40 | 60.44 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- mgupreloader_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== css3-preloader-ultimate ===
) - Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
css3-preloader-ultimate/mgupreloader.php 92% from 13 tests
The primary PHP file in "Ultimate WordPress Preloader" version 1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("css3-preloader-ultimate.php" instead of "mgupreloader.php")
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
No dangerous file extensions were detected660 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 94 | 79 | 346 |
CSS | 2 | 104 | 5 | 155 |
PO File | 1 | 31 | 31 | 85 |
JavaScript | 2 | 15 | 0 | 74 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/color_black.png | 2.16KB | 1.23KB | ▼ 43.21% |
img/hosting-wp-button.png | 26.03KB | 9.36KB | ▼ 64.05% |
img/color_white.png | 2.15KB | 1.22KB | ▼ 43.49% |