Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼10.14ms] 75% from 4 tests
Analyzing server-side resources used by Customize Woocommerce Shop
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,180.70ms on /wp-admin/admin.php?page=woo-product-customizerort-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▼0.43 | 20.61 ▼16.94 |
Dashboard /wp-admin | 3.51 ▲0.16 | 45.03 ▼12.48 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.68 ▼1.01 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 82.10 ▼10.13 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 33.86 ▼0.60 |
Customize Shop API /wp-admin/admin.php?page=woo-product-customizerort-options | 3.41 | 1,180.70 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 52 new options
New WordPress options |
---|
repupress_customize_woocommerce_product_shop_product_title |
repupress_customize_woocommerce_product_detail_price_font_color |
repupress_customize_woocommerce_product_shop_image_border_color |
repupress_customize_woocommerce_product_shop_button_bg_color |
repupress_customize_woocommerce_product_shop_title_font_size |
repupress_customize_woocommerce_product_detail_title_font_weight |
repupress_customize_woocommerce_product_detail_set_default_image |
repupress_customize_woocommerce_product_single_product_tab |
repupress_customize_woocommerce_product_single_product_prices |
repupress_customize_woocommerce_product_single_product_title |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Customize Woocommerce Shop
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,451 ▼295 | 14.19 ▼0.01 | 0.53 ▼1.12 | 18.71 ▼20.40 |
Dashboard /wp-admin | 2,204 ▲29 | 5.61 ▲0.02 | 90.06 ▼10.58 | 41.04 ▲0.01 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.01 | 39.27 ▲1.48 | 36.00 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.60 ▲0.38 | 655.02 ▼26.10 | 63.58 ▲9.83 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.18 ▲0.01 | 103.77 ▲4.29 | 45.92 ▼0.14 |
Customize Shop API /wp-admin/admin.php?page=woo-product-customizerort-options | 853 | 2.03 | 24.94 | 26.99 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6, #7 in customize-woocommerce-shop/assets to your readme.txt
customize-woocommerce-shop/customize-woocommerce-shop.php Passed 13 tests
The main PHP script in "Customize Woocommerce Shop" version 6.0 is automatically included on every request by WordPress
85 characters long description:
Customize every aspect of your Woocommerce Shop with this incredibly powerful Plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected7,199 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 793 | 302 | 3,232 |
JavaScript | 10 | 198 | 51 | 1,547 |
CSS | 3 | 40 | 26 | 1,439 |
XML | 1 | 0 | 0 | 981 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 47.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 5.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/delete.png | 0.92KB | 1.29KB | 0.00% |
includes/images/edit.png | 0.97KB | 0.86KB | ▼ 11.14% |
includes/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
includes/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |