Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.32ms] Passed 4 tests
An overview of server-side resources used by Preloader Matrix
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.63 ▼3.66 |
Dashboard /wp-admin | 3.41 ▲0.10 | 52.81 ▲1.50 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 56.15 ▲5.52 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.57 ▼13.76 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.47 ▲2.66 |
Preloader Matrix /wp-admin/options-general.php?page=matrixpreloader | 3.31 | 35.38 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
matrix_pre_loader_option2 |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Preloader Matrix
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,179 ▲433 | 14.90 ▲0.54 | 12.55 ▲10.82 | 45.22 ▲2.52 |
Dashboard /wp-admin | 2,339 ▲159 | 6.17 ▲0.57 | 116.56 ▲20.70 | 38.39 ▼0.62 |
Posts /wp-admin/edit.php | 2,261 ▲164 | 3.27 ▲1.27 | 55.46 ▲15.55 | 35.24 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.16 ▲0.02 | 679.99 ▼4.09 | 37.53 ▼28.76 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.17 ▼0.06 | 94.98 ▼9.39 | 47.78 ▲2.28 |
Preloader Matrix /wp-admin/options-general.php?page=matrixpreloader | 3,359 | 10.86 | 226.67 | 70.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- matrix_pre_loader_option2
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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 no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 7× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/matrix-pre-loader/includes/Classes/Menu.php
- > /wp-content/plugins/matrix-pre-loader/matrix-loader.php
- > /wp-content/plugins/matrix-pre-loader/includes/Classes/AdminAjaxHandler.php
- > /wp-content/plugins/matrix-pre-loader/includes/Classes/Activator.php
- > /wp-content/plugins/matrix-pre-loader/includes/Classes/AdminApp.php
- > /wp-content/plugins/matrix-pre-loader/includes/Classes/LoaderController.php
- > /wp-content/plugins/matrix-pre-loader/includes/Classes/Bootstrap.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5 in matrix-pre-loader/assets to your readme.txt
matrix-pre-loader/matrix-loader.php 92% from 13 tests
The principal PHP file in "Preloader Matrix" v. 2.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("matrix-pre-loader.php" instead of "matrix-loader.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 detected1,401 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 155 | 101 | 631 |
SVG | 15 | 0 | 10 | 465 |
JavaScript | 6 | 65 | 23 | 267 |
CSS | 4 | 5 | 11 | 31 |
JSON | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 5.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 84.62% |
▷ Protected methods | 3 | 11.54% |
▷ Private methods | 1 | 3.85% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 5 | |
▷ Global constants | 5 | 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
There were not PNG files found in your plugin