Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.10ms] Passed 4 tests
Server-side resources used by Woo Extended for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 49.92 ▲12.08 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.13 ▼14.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.64 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.96 ▼18.29 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.60 ▲2.59 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Woo Extended for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.28 ▼1.03 | 2.44 ▲0.67 | 52.60 ▲2.87 |
Dashboard /wp-admin | 2,212 ▲26 | 5.83 ▼0.09 | 95.32 ▼9.69 | 37.38 ▼6.87 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▲0.00 | 36.88 ▲0.10 | 31.73 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.13 ▲4.88 | 657.14 ▲12.61 | 50.78 ▲0.80 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.18 ▼0.03 | 105.07 ▲6.54 | 45.13 ▲0.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: woocommerce extended, woocommerce
woo-extended/woo-extended.php 92% from 13 tests
"Woo Extended for Woocommerce" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to 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
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 plugin636 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 230 | 573 | 504 |
PO File | 1 | 42 | 49 | 121 |
JavaScript | 2 | 6 | 27 | 8 |
CSS | 2 | 2 | 8 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 1.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 18 | 72.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 28.00% |
Functions | 34 | |
▷ Named functions | 13 | 38.24% |
▷ Anonymous functions | 21 | 61.76% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin