Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.80ms] Passed 4 tests
This is a short check of server-side resources used by Shipsy Ecommerce Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.67 ▼5.38 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.52 ▼13.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.23 ▲1.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.82 ▼20.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.93 ▼3.55 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sync_track_order |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Shipsy Ecommerce Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.27 ▼1.10 | 5.10 ▲3.26 | 43.42 ▲1.40 |
Dashboard /wp-admin | 2,203 ▲24 | 4.84 ▼1.06 | 103.59 ▼15.72 | 42.97 ▼4.96 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.06 | 33.57 ▼0.45 | 36.59 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.78 ▼5.44 | 650.29 ▼35.74 | 58.41 ▲4.99 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.27 ▲0.09 | 96.14 ▼4.88 | 41.43 ▼3.87 |
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
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_sync_track_order
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/shipsy-ecommerce/admin/partials/shipsy-econnect-admin-display.php
- > /wp-content/plugins/shipsy-ecommerce/public/partials/shipsy-econnect-public-display.php
- 69× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(SHIPSY_ECONNECT_PATHadmin/crons/decorators/class-logger-job-decorator.php): failed to open stream: No such file or directory in wp-content/plugins/shipsy-ecommerce/admin/crons/shipsy-cron-handler.php on line 18
- > PHP Warning
require_once(SHIPSY_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/shipsy-ecommerce/admin/partials/shipsy-setup.php on line 14
- > PHP Fatal error
require_once(): Failed opening required 'SHIPSY_ECONNECT_PATHadmin/helper/helper.php' (include_path='.:/usr/share/php') in wp-content/plugins/shipsy-ecommerce/admin/partials/shipsy-sync-form.php on line 14
- > PHP Warning
require_once(SHIPSY_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/shipsy-ecommerce/admin/apis/shipsy-shipping-label-download-api.php on line 14
- > PHP Warning
Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shipsy-ecommerce/admin/apis/shipsy-shipping-address-helper-api.php on line 14
- > PHP Warning
Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shipsy-ecommerce/admin/partials/shipsy-config.php on line 14
- > PHP Warning
require_once(SHIPSY_ECONNECT_PATHadmin/crons/jobs/interface-job.php): failed to open stream: No such file or directory in wp-content/plugins/shipsy-ecommerce/admin/crons/jobs/class-shipsy-auto-sync-consignment-job.php on line 17
- > PHP Fatal error
require_once(): Failed opening required 'SHIPSY_ECONNECT_PATHutils/request/request/class-request.php' (include_path='.:/usr/share/php') in wp-content/plugins/shipsy-ecommerce/utils/request/shipsy-request-handler.php on line 15
- > PHP Fatal error
require(): Failed opening required 'SHIPSY_ECONNECT_PATHconfig/settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/shipsy-ecommerce/admin/apis/shipsy-endpoint-helper-api.php on line 14
- > PHP Warning
Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shipsy-ecommerce/admin/partials/shipsy-sync-result.php on line 14
- > PHP Warning
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: ecommerce, shipsy
shipsy-ecommerce/shipsy-econnect.php 85% from 13 tests
The main file in "Shipsy Ecommerce Plugin" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shipsy-ecommerce.php" instead of "shipsy-econnect.php")
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
There were no executable files found in this plugin6,017 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 562 | 1,591 | 3,535 |
JavaScript | 7 | 306 | 314 | 1,385 |
CSS | 8 | 14 | 34 | 852 |
JSON | 1 | 0 | 0 | 245 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 71 | 86.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 13.41% |
Functions | 46 | |
▷ Named functions | 46 | 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
There are no PNG files in this plugin