Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.03ms] Passed 4 tests
This is a short check of server-side resources used by Customizer for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 39.75 ▼1.93 |
Dashboard /wp-admin | 3.45 ▲0.14 | 49.61 ▼4.01 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 55.92 ▲7.19 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 86.04 ▼13.69 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.88 ▼0.47 |
Server storage [IO: ▲0.05MB] [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: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Customizer for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.46 ▼0.84 | 1.75 ▼0.04 | 30.40 ▼13.52 |
Dashboard /wp-admin | 2,257 ▲66 | 5.07 ▼0.81 | 123.03 ▲18.60 | 45.97 ▲4.81 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.32 ▲0.29 | 41.72 ▲6.51 | 38.41 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,548 ▲11 | 23.22 ▲0.04 | 648.02 ▼18.63 | 33.60 ▼21.84 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.42 ▲0.19 | 98.64 ▼10.96 | 46.27 ▲0.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woo-customize/woo-customize.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-customize/functions.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% 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
4 plugin tags: woocommerce filters, customize, woocommerce shop, woocommerce
woo-customize/woo-customize.php 77% from 13 tests
"Customizer for WooCommerce" version 1.0.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.5" instead of "5.4")
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin869 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 155 | 124 | 785 |
CSS | 2 | 18 | 1 | 81 |
JavaScript | 1 | 0 | 1 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin