Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.44ms] Passed 4 tests
Server-side resources used by Houzez WooCommerce Addon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.71 ▼2.81 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.60 ▼4.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.89 ▼2.33 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.77 ▼8.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.84 ▲4.07 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Houzez WooCommerce Addon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.27 ▼1.11 | 1.64 ▼0.05 | 37.60 ▼2.61 |
Dashboard /wp-admin | 2,224 ▲36 | 5.86 ▲0.98 | 110.29 ▲7.33 | 42.95 ▲1.33 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.04 ▼0.01 | 40.86 ▼0.01 | 39.21 ▲3.25 |
Add New Post /wp-admin/post-new.php | 1,555 ▲36 | 18.42 ▼4.78 | 618.31 ▼49.74 | 64.21 ▲2.76 |
Media Library /wp-admin/upload.php | 1,409 ▲27 | 4.24 ▲0.04 | 99.80 ▲3.39 | 42.21 ▲1.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/houzez-woo-addon/includes/payment.php:8
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: payment gateways, woocommerce, houzez, responsive, widget...
houzez-woo-addon/houzez-woo-addon.php Passed 13 tests
This is the main PHP file of "Houzez WooCommerce Addon" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
45 characters long description:
Add woocommerce functionality to houzez theme
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
There were no executable files found in this plugin479 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 157 | 109 | 391 |
PO File | 2 | 20 | 20 | 88 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin