Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.73ms] Passed 4 tests
Analyzing server-side resources used by WPC Estimated Delivery Date for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.17 ▲1.63 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.05 ▲2.66 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 44.73 ▲3.40 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 80.92 ▼11.16 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.98 ▼0.06 |
About /wp-admin/admin.php?page=wpclever | 3.28 | 31.60 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.28 | 30.02 |
Server storage [IO: ▲0.26MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC Estimated Delivery Date for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲105 | 14.26 ▼0.33 | 1.72 ▼0.07 | 41.27 ▲0.71 |
Dashboard /wp-admin | 2,260 ▲85 | 5.53 ▼0.12 | 85.70 ▼14.81 | 71.00 ▲30.02 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.03 ▲0.02 | 36.24 ▲1.01 | 33.71 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 22.96 ▲0.14 | 739.89 ▲66.86 | 63.98 ▲5.29 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.30 ▲0.16 | 95.43 ▼11.94 | 80.66 ▲34.15 |
About /wp-admin/admin.php?page=wpclever | 1,408 | 2.14 | 31.00 | 33.60 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,735 | 2.13 | 35.26 | 64.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpc-estimated-delivery-date/wpc-estimated-delivery-date.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in wpc-estimated-delivery-date/assets to your readme.txt
wpc-estimated-delivery-date/wpc-estimated-delivery-date.php 92% from 13 tests
Analyzing the main PHP file in "WPC Estimated Delivery Date for WooCommerce" version 2.2.0
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 172 characters long)
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
Good job! No executable or dangerous file extensions detected6,570 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 417 | 86 | 2,358 |
CSS | 6 | 415 | 163 | 2,068 |
PHP | 11 | 301 | 56 | 1,649 |
Sass | 2 | 68 | 0 | 466 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.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 | 73 | |
▷ Static methods | 24 | 32.88% |
▷ Public methods | 73 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin