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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲10.51ms] Passed 4 tests
An overview of server-side resources used by GoHero Store Customizer for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 48.95 ▲5.46 |
Dashboard /wp-admin | 3.51 ▲0.21 | 65.73 ▲17.65 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 64.34 ▲11.41 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 110.31 ▲8.66 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 53.10 ▲16.49 |
WooHero /wp-admin/admin.php?page=wooh_settings | 3.44 | 53.24 |
Server storage [IO: ▲3.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for GoHero Store Customizer for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.38 ▼0.96 | 12.45 ▲10.74 | 41.19 ▲3.53 |
Dashboard /wp-admin | 2,192 ▲15 | 5.64 ▲0.03 | 88.78 ▼2.01 | 37.11 ▼4.47 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.01 | 34.40 ▼1.20 | 30.12 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.21 ▲0.13 | 678.27 ▲35.41 | 63.28 ▲7.18 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.10 ▼0.05 | 113.63 ▲6.73 | 46.67 ▲1.01 |
WooHero /wp-admin/admin.php?page=wooh_settings | 1,804 | 2.31 | 40.03 | 32.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/personalize-woocommerce-cart-page/templates/get-pro.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wooh_admin_settings_array() in wp-content/plugins/personalize-woocommerce-cart-page/templates/admin/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/personalize-woocommerce-cart-page/templates/get-ppom.php:8
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: personalized woocommerce, woocommerce customizer, add to cart label, enquiry form, customize product page...
personalize-woocommerce-cart-page/woohero.php 85% from 13 tests
Analyzing the main PHP file in "GoHero Store Customizer for WooCommerce" version 3.5
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.9" instead of "3.0.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("personalize-woocommerce-cart-page.php" instead of "woohero.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin15,187 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 3 | 5,435 |
CSS | 7 | 60 | 38 | 3,962 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 11 | 397 | 111 | 1,147 |
JavaScript | 9 | 354 | 312 | 1,117 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.85 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 8.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.39KB | 1.21KB | ▼ 13.45% |
images/minus.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/delete_16.png | 3.30KB | 0.54KB | ▼ 83.61% |
images/down_16.png | 3.21KB | 0.51KB | ▼ 84.10% |
images/plus.png | 3.37KB | 0.66KB | ▼ 80.54% |