Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/mylerz/mylerz.php+401
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.34MB] [CPU: ▼48.82ms] Passed 4 tests
A check of server-side resources used by Mylerz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.66 ▼0.81 | 7.23 ▼33.27 |
Dashboard /wp-admin | 2.68 ▼0.63 | 11.25 ▼36.91 |
Posts /wp-admin/edit.php | 2.68 ▼0.68 | 10.05 ▼41.44 |
Add New Post /wp-admin/post-new.php | 2.68 ▼3.22 | 8.61 ▼83.64 |
Media Library /wp-admin/upload.php | 2.68 ▼0.56 | 9.22 ▼24.85 |
Server storage [IO: ▲5.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Mylerz: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲162 | 15.78 ▲1.42 | 6.08 ▲4.28 | 40.32 ▼2.41 |
Dashboard /wp-admin | 2,213 ▲36 | 6.75 ▲1.11 | 112.85 ▲14.33 | 38.59 ▼8.60 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 3.73 ▲1.79 | 51.35 ▲11.74 | 33.24 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,553 ▲24 | 24.27 ▲1.07 | 678.86 ▲27.20 | 35.69 ▼25.37 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 6.14 ▲1.94 | 120.55 ▲21.89 | 46.62 ▲2.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/mylerz/mylerz.php+401
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 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 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/mylerz/templates/adminhtml/bulk_delivery_status.php
- > /wp-content/plugins/mylerz/templates/adminhtml/bulk_cancel.php
- > /wp-content/plugins/mylerz/templates/adminhtml/create_pickup_order.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/mylerz/includes/shipping/data-mylerz-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mylerz/mylerz.php:23
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/mylerz/includes/shipping/mylerz-shipping-method.php:5
- > PHP Fatal error
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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Mylerz Settings page.), #2 (Neighborhood dropdown.), #3 (Fulfilled Orders.), #4 (Print AWB.), #5 (Tracking Number on orders Page.)
- Donate link: Invalid url: "mylerz.com"
mylerz/mylerz.php Passed 13 tests
The main file in "Mylerz" v. 4.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
47 characters long description:
Convenient and Friendly parcel delivery service
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin54,100 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 9,308 | 263 | 51,233 |
PHP | 9 | 679 | 166 | 2,517 |
CSS | 2 | 35 | 21 | 248 |
PO File | 2 | 31 | 34 | 102 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 115 | |
▷ Named functions | 79 | 68.70% |
▷ Anonymous functions | 36 | 31.30% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected