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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.35ms] Passed 4 tests
Analyzing server-side resources used by F4 Shipping Phone and E-Mail for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.74 ▼4.39 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.49 ▼0.78 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.57 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.69 ▼3.36 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.52 ▲1.31 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for F4 Shipping Phone and E-Mail for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.70 ▼0.09 | 39.17 ▼6.81 |
Dashboard /wp-admin | 2,195 ▲15 | 5.67 ▲0.05 | 83.57 ▼14.72 | 39.17 ▼2.92 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.04 | 42.12 ▲5.38 | 35.78 ▲3.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.08 ▲0.12 | 676.33 ▼18.40 | 64.86 ▲11.79 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.34 ▲0.12 | 100.29 ▲7.12 | 48.12 ▲0.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
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 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
f4-woocommerce-shipping-phone-and-e-mail/f4-woocommerce-shipping-phone-and-e-mail.php 92% from 13 tests
The main PHP file in "F4 Shipping Phone and E-Mail for WooCommerce" ver. 1.0.18 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "8.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin499 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 129 | 264 | 499 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 44.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 28 | 100.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin