Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.48ms] Passed 4 tests
A check of server-side resources used by Boxtal - Shipping solution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.80 ▼2.17 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.13 ▲1.75 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 52.55 ▲1.31 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.94 ▼2.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 42.22 ▲8.09 |
Server storage [IO: ▲0.93MB] [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: 93 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_bw_pricing_items |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
BW_NOTICES |
BW_NOTICE_environment-warning |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boxtal - Shipping solution
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲80 | 13.58 ▼0.66 | 1.99 ▼0.02 | 37.57 ▼4.49 |
Dashboard /wp-admin | 2,218 ▲44 | 4.85 ▼0.01 | 109.10 ▼5.43 | 45.02 ▼2.74 |
Posts /wp-admin/edit.php | 2,104 ▲29 | 2.02 ▲0.04 | 39.86 ▲2.36 | 34.91 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 18.55 ▼4.55 | 620.10 ▼62.29 | 52.54 ▲2.22 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.24 ▲0.02 | 96.48 ▼2.93 | 43.19 ▲0.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_bw_pricing_items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/boxtal-connect/boxtal-connect.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'Boxtal\\BoxtalConnectWoocommerce\otice\\Abstract_Notice' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/notice/class-pairing-notice.php:15
- > PHP Fatal error
Uncaught Error: Class 'Boxtal\\BoxtalConnectWoocommerce\otice\\Abstract_Notice' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/notice/class-environment-warning-notice.php:15
- > PHP Fatal error
Uncaught Error: Class 'Boxtal\\BoxtalConnectWoocommerce\otice\\Abstract_Notice' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/notice/class-custom-notice.php:15
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/boxtal-connect/boxtal-connect.php on line 19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/boxtal-connect/boxtal-connect.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/shipping-method/class-shipping-method.php:22
- > PHP Fatal error
Uncaught Error: Class 'Boxtal\\BoxtalConnectWoocommerce\otice\\Abstract_Notice' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/notice/class-pairing-update-notice.php:15
- > PHP Fatal error
Uncaught Error: Class 'Boxtal\\BoxtalConnectWoocommerce\otice\\Abstract_Notice' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/notice/class-setup-wizard-notice.php:17
- > PHP Fatal error
Uncaught Error: Class 'Boxtal\\BoxtalConnectWoocommerce\otice\\Abstract_Notice' not found in wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/notice/class-configuration-failure-notice.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #5, #5, #6, #6 in boxtal-connect/assets to your readme.txt
boxtal-connect/boxtal-connect.php 85% from 13 tests
Analyzing the main PHP file in "Boxtal - Shipping solution" version 1.2.20
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "2.6.14")
- Domain Path: Use only dashes and lowercase characters for the domain path ("/Boxtal/BoxtalConnectWoocommerce/translation")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin4,800 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 70 | 821 | 2,747 | 3,981 |
CSS | 8 | 80 | 19 | 807 |
JavaScript | 9 | 0 | 10 | 9 |
JSON | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 1 | 2.13% |
▷ Concrete classes | 46 | 97.87% |
▷ Final classes | 0 | 0.00% |
Methods | 300 | |
▷ Static methods | 158 | 52.67% |
▷ Public methods | 274 | 91.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 26 | 8.67% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Boxtal/BoxtalConnectWoocommerce/assets/img/marker.png | 21.81KB | 0.31KB | ▼ 98.58% |
Boxtal/BoxtalConnectWoocommerce/assets/img/marker-recipient.png | 0.40KB | 0.40KB | 0.24% |
Boxtal/BoxtalConnectWoocommerce/assets/img/icon-close.png | 1.19KB | 1.22KB | 0.00% |