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.02MB] [CPU: ▼6.43ms] Passed 4 tests
This is a short check of server-side resources used by Shipsy’s Milezmore Extension
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 47.77 ▲8.84 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.78 ▲0.72 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.85 ▼5.94 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.58 ▼15.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.29 ▼4.62 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sync_track_order |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shipsy’s Milezmore Extension
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.31 | 1.77 ▼0.00 | 44.26 ▼1.95 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼0.01 | 95.43 ▼11.46 | 41.84 ▼1.40 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.02 | 36.74 ▼4.34 | 34.00 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 23.25 ▲0.06 | 621.13 ▼65.48 | 51.24 ▼14.66 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.30 ▼0.02 | 98.88 ▼5.94 | 42.01 ▼8.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/shipsys-milezmore-extension/public/partials/dtdc-econnect-public-display.php
- > /wp-content/plugins/shipsys-milezmore-extension/admin/partials/dtdc-econnect-admin-display.php
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function dtdcGetVirtualSeries() in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-vseries.php:3
- > PHP Warning
include_once(): Failed opening 'DTDC_ECONNECT_PATHadmin/helper/helper.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-setup.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-sync-form.php:2
- > PHP Warning
Use of undefined constant DTDC_ECONNECT_PATH - assumed 'DTDC_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-setup.php on line 2
- > PHP Warning
include_once(DTDC_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-manage.php on line 3
- > PHP Notice
Undefined variable: tracking_items in wp-content/plugins/shipsys-milezmore-extension/templates/myaccount/view-order.php on line 2
- > PHP Warning
include_once(DTDC_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-vseries.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function dtdcGetAwbNumber() in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-manage.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function dtdcGetAddresses() in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-setup.php:3
- > PHP Warning
include_once(DTDC_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/shipsys-milezmore-extension/admin/partials/ec-setup.php on line 2
- > 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 90% from 29 tests
readme.txt Passed 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
3 plugin tags: ecommerce, milezmore, shipsy
shipsys-milezmore-extension/dtdc-econnect.php 77% from 13 tests
This is the main PHP file of "Shipsy’s Milezmore Extension" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shipsys-milezmore-extension.php" instead of "dtdc-econnect.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin3,599 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 243 | 549 | 1,665 |
JavaScript | 6 | 279 | 258 | 1,254 |
CSS | 5 | 0 | 22 | 680 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.50% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin