Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.81ms] Passed 4 tests
A check of server-side resources used by WooCommerce Catalog Mode - Product Pricing, Enquiry Forms & Promotions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.22 ▼2.12 |
Dashboard /wp-admin | 3.59 ▲0.29 | 54.07 ▲3.12 |
Posts /wp-admin/edit.php | 3.70 ▲0.35 | 47.25 ▲1.67 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 80.48 ▼25.87 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 35.04 ▼0.91 |
Server storage [IO: ▲4.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 449 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
WooCommerce Catalog Mode - Product Pricing, Enquiry Forms & Promotions: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲76 | 13.68 ▼0.66 | 1.52 ▼0.52 | 43.33 ▼1.24 |
Dashboard /wp-admin | 2,268 ▲87 | 5.29 ▼0.37 | 94.70 ▼8.99 | 40.04 ▼1.27 |
Posts /wp-admin/edit.php | 2,180 ▲83 | 2.51 ▲0.49 | 44.41 ▲5.15 | 32.64 ▼4.04 |
Add New Post /wp-admin/post-new.php | 1,596 ▲61 | 23.63 ▲5.19 | 663.90 ▲22.73 | 33.92 ▼39.09 |
Media Library /wp-admin/upload.php | 1,470 ▲67 | 4.92 ▲0.73 | 102.33 ▼1.27 | 41.54 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-simple-repeater/view-head.php
- > /wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/optionpage/option-page-content-footer.php
- > /wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/optionpage/option-page-content-header.php
- 87× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ReonUtil' not found in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/optionpage/option-page-aside-details.php:19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/optionpage/option-page-aside-details.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-repeater/view.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-simple-repeater/view.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/optionpage/option-page-aside-menu.php on line 14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-simple-repeater/view-section.php on line 28
- > PHP Notice
Undefined variable: page in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/optionpage/option-page-content-header.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-columns-field/view.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-simple-repeater/view-section.php on line 28
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/framework/reon/inc/controls/controls-repeater/view-section-head.php on line 42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Please fix this invalid URI: ""
catalog-mode-pricing-enquiry-forms-promotions/catalog-mode-pricing-enquiry-forms-promotions.php 92% from 13 tests
"WooCommerce Catalog Mode - Product Pricing, Enquiry Forms & Promotions" version 1.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- 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 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected70,219 lines of code in 430 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 223 | 7,123 | 172 | 20,336 |
JavaScript | 120 | 4,152 | 1,902 | 18,115 |
CSS | 31 | 5,948 | 155 | 14,396 |
Sass | 36 | 812 | 71 | 9,495 |
LESS | 18 | 548 | 71 | 6,888 |
PO File | 1 | 435 | 700 | 935 |
Markdown | 1 | 27 | 0 | 54 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 13.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 173 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 173 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,076 | |
▷ Static methods | 669 | 62.17% |
▷ Public methods | 671 | 62.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 405 | 37.64% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
main/assets/images/aside_bg.png | 14.75KB | 7.11KB | ▼ 51.81% |
main/assets/images/aside_logo.png | 2.26KB | 0.74KB | ▼ 67.26% |