Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.97ms] Passed 4 tests
An overview of server-side resources used by Easy Collect And Drop for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.98 ▼2.08 |
Dashboard /wp-admin | 3.43 ▲0.13 | 47.16 ▼16.10 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.63 ▲1.79 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 98.44 ▲4.78 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.03 ▲4.52 |
Server storage [IO: ▲17.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 1,494 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Collect And Drop for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.06 | 1.73 ▼0.68 | 40.62 ▼8.59 |
Dashboard /wp-admin | 2,209 ▲21 | 5.88 ▲0.02 | 97.07 ▼24.61 | 37.04 ▼10.03 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 1.96 ▼0.04 | 39.31 ▲2.48 | 34.29 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.33 ▲0.20 | 689.79 ▲8.36 | 51.13 ▼9.52 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.20 ▼0.05 | 94.82 ▼0.59 | 41.41 ▼0.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 fix the following
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/Leniency/ExactGrouping.php:9
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/Leniency/StrictGrouping.php:9
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MatcherAPIInterface' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/RegexBasedMatcher.php:10
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MetadataSourceInterface' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/MultiFileMetadataSourceImpl.php:12
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/Leniency/Valid.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/easy-collect-and-drop/easycollectanddrop.php:13
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/Leniency/Possible.php:8
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MetadataLoaderInterface' not found in wp-content/plugins/easy-collect-and-drop/vendor/giggsey/libphonenumber-for-php/src/DefaultMetadataLoader.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: south africa, woocommerce, shipping
easy-collect-and-drop/easycollectanddrop.php 92% from 13 tests
The main file in "Easy Collect And Drop for WooCommerce" v. 2.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-collect-and-drop.php" instead of "easycollectanddrop.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected564,133 lines of code in 1,354 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,343 | 3,219 | 16,671 | 562,862 |
JavaScript | 2 | 39 | 15 | 616 |
JSON | 4 | 1 | 0 | 272 |
Markdown | 2 | 84 | 0 | 197 |
CSS | 2 | 7 | 0 | 164 |
SVG | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 20.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 366.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 1 | 2.27% |
▷ Concrete classes | 43 | 97.73% |
▷ Final classes | 0 | 0.00% |
Methods | 506 | |
▷ Static methods | 83 | 16.40% |
▷ Public methods | 413 | 81.62% |
▷ Protected methods | 69 | 13.64% |
▷ Private methods | 24 | 4.74% |
Functions | 13 | |
▷ Named functions | 9 | 69.23% |
▷ Anonymous functions | 4 | 30.77% |
Constants | 124 | |
▷ Global constants | 4 | 3.23% |
▷ Class constants | 120 | 96.77% |
▷ Public constants | 120 | 100.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
2 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/marker-locker.png | 19.79KB | 4.22KB | ▼ 78.65% |
assets/images/marker-store.png | 20.32KB | 4.02KB | ▼ 80.20% |