Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.68MB] [CPU: ▼5.81ms] Passed 4 tests
Server-side resources used by MAZ Loader – Preloader Builder for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.66 | 40.32 ▲4.69 |
Dashboard /wp-admin | 4.00 ▲0.66 | 50.12 ▼10.35 |
Posts /wp-admin/edit.php | 4.05 ▲0.70 | 50.20 ▲0.32 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 94.69 ▼17.91 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 42.17 ▲9.62 |
Settings /wp-admin/admin.php?page=maz-loader-settings | 3.96 | 40.65 |
MAZ Loader /wp-admin/admin.php?page=maz-loader-dashboard | 3.98 | 39.43 |
View Loaders /wp-admin/admin.php?page=maz-loader-list | 3.94 | 40.73 |
Create New Loader /wp-admin/admin.php?page=maz-loader | 4.03 | 45.08 |
Server storage [IO: ▲1.44MB] [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: 231 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_mzldr_impressions |
wp_mzldr_loaders |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
mzldr_settings_options |
can_compress_scripts |
widget_recent-posts |
mzldr_version |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for MAZ Loader – Preloader Builder for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲237 | 14.13 ▼0.56 | 6.36 ▲4.69 | 36.77 ▼1.83 |
Dashboard /wp-admin | 2,277 ▲86 | 5.14 ▲0.21 | 101.69 ▼0.51 | 82.48 ▲39.06 |
Posts /wp-admin/edit.php | 2,165 ▲76 | 2.31 ▲0.33 | 37.03 ▼7.89 | 34.85 ▲0.18 |
Add New Post /wp-admin/post-new.php | 6,373 ▲4,845 | 25.87 ▲7.75 | 862.43 ▲233.56 | 38.42 ▼21.21 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.40 ▲0.22 | 96.14 ▼6.99 | 78.07 ▲30.57 |
Settings /wp-admin/admin.php?page=maz-loader-settings | 1,548 | 3.41 | 61.13 | 177.69 |
MAZ Loader /wp-admin/admin.php?page=maz-loader-dashboard | 1,616 | 3.37 | 45.75 | 113.59 |
View Loaders /wp-admin/admin.php?page=maz-loader-list | 1,451 | 3.31 | 42.59 | 92.49 |
Create New Loader /wp-admin/admin.php?page=maz-loader | 2,515 | 4.01 | 76.89 | 92.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_mzldr_loaders
- wp_mzldr_impressions
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- mzldr_version
- can_compress_scripts
- mzldr_settings_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 62× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/maz-loader/admin/models/statistics_model.php
- > /wp-content/plugins/maz-loader/maz-loader.php
- > /wp-content/plugins/maz-loader/public/partials/fields/custom_html.php
- > /wp-content/plugins/maz-loader/admin/partials/forms/fields/hidden.php
- > /wp-content/plugins/maz-loader/admin/partials/forms/fields/range_slider.php
- > /wp-content/plugins/maz-loader/admin/partials/forms/fields/settings/start.php
- > /wp-content/plugins/maz-loader/admin/partials/pro/popup.php
- > /wp-content/plugins/maz-loader/admin/partials/loader/fields/text.php
- > /wp-content/plugins/maz-loader/admin/partials/forms/fields/wrapper/end.php
- > /wp-content/plugins/maz-loader/admin/partials/forms/fields/separator.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'MZLDR_Publishing_Rules' not found in wp-content/plugins/maz-loader/includes/helpers/publishing_rules/class-maz-loader-homepage-rule.php:21
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=maz-loader
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=maz-loader
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=maz-loader
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=maz-loader
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: page preloader, preload, loading screen, site preloader, preloader...
maz-loader/maz-loader.php Passed 13 tests
Analyzing the main PHP file in "MAZ Loader – Preloader Builder for WordPress" version 1.5.0
137 characters long description:
MAZ Loader is a powerful and easy to use Preloader builder that makes your visitors a delight to wait for your website to finish loading.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin7,103 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 1,034 | 1,972 | 6,112 |
SVG | 56 | 0 | 3 | 785 |
JavaScript | 9 | 28 | 25 | 189 |
XML | 1 | 0 | 0 | 14 |
CSS | 3 | 3 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 198 | |
▷ Static methods | 34 | 17.17% |
▷ Public methods | 175 | 88.38% |
▷ Protected methods | 5 | 2.53% |
▷ Private methods | 18 | 9.09% |
Functions | 22 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 22 | 100.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/admin/img/loader-icon.png | 0.65KB | 0.60KB | ▼ 6.78% |
media/admin/img/cp-banner.png | 36.83KB | 20.32KB | ▼ 44.83% |
media/admin/img/loader-icon-dark.png | 0.48KB | 0.73KB | 0.00% |
media/admin/img/loader-icon-light.png | 1.60KB | 0.73KB | ▼ 54.55% |