Benchmarks
Plugin footprint 65% 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: ▲2.35MB] [CPU: ▲8.66ms] Passed 4 tests
A check of server-side resources used by WooCommerce Wishlist, Comparison, Quick View and MiniCart
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.76 ▲2.30 | 56.75 ▲13.74 |
Dashboard /wp-admin | 5.67 ▲2.37 | 58.24 ▲7.41 |
Posts /wp-admin/edit.php | 5.78 ▲2.42 | 60.84 ▲10.75 |
Add New Post /wp-admin/post-new.php | 8.25 ▲2.37 | 95.77 ▲2.72 |
Media Library /wp-admin/upload.php | 5.59 ▲2.37 | 53.06 ▲19.91 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 5.53 | 45.26 |
Global Settings /wp-admin/admin.php?page=productive_global_options_submenu | 5.56 | 45.82 |
Productive Commerce /wp-admin/admin.php?page=productive_commerce_options_submenu | 5.56 | 45.19 |
Server storage [IO: ▲2.11MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 78 new files
Database: 4 new tables, 17 new options
New tables |
---|
wp_productive_compare |
wp_productive_wishlist_product |
wp_productive_wishlist |
wp_productive_compare_product |
New WordPress options |
---|
theysaidso_admin_options |
productive_commerce_section_wishlist_options |
productive_global_section_popup_options |
productive_global_section_slider_options |
productive_global_section_grid_options |
productive_commerce_section_compare_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
productive_commerce_section_integration_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Wishlist, Comparison, Quick View and MiniCart
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,075 ▲313 | 13.74 ▼0.60 | 18.14 ▲16.44 | 35.90 ▼8.84 |
Dashboard /wp-admin | 2,222 ▲45 | 5.63 ▲0.00 | 95.06 ▼3.19 | 43.43 ▲2.26 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.03 ▲0.09 | 39.02 ▼2.99 | 36.23 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.00 ▼0.16 | 621.45 ▼51.26 | 64.66 ▲5.70 |
Media Library /wp-admin/upload.php | 1,424 ▲30 | 4.24 ▲0.04 | 99.91 ▲2.90 | 40.67 ▼2.05 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 1,184 | 1.87 | 29.68 | 50.04 |
Global Settings /wp-admin/admin.php?page=productive_global_options_submenu | 1,417 | 1.94 | 28.60 | 38.15 |
Productive Commerce /wp-admin/admin.php?page=productive_commerce_options_submenu | 1,193 | 1.87 | 29.36 | 46.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% 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
- Zombie tables were found after uninstall: 4 tables
- wp_productive_wishlist
- wp_productive_compare_product
- wp_productive_compare
- wp_productive_wishlist_product
- Zombie WordPress options were found after uninstall: 16 options
- db_upgraded
- widget_theysaidso_widget
- productive_commerce_section_compare_options
- productive_global_section_sharing_options
- productive_global_section_slider_options
- productive_global_section_grid_options
- productive_global_section_misc_options
- widget_recent-comments
- theysaidso_admin_options
- productive_commerce_section_wishlist_options
- ...
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-commerce/includes/standard/user-engagements-loop.php:70
- > PHP Warning
require(PRODUCTIVE_COMMERCE_PLUGIN_PATHadmin/common/options/partials/part-section-integration.php): failed to open stream: No such file or directory in wp-content/plugins/productive-commerce/admin/standard/options/partials/section-integration.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'PRODUCTIVE_COMMERCE_PLUGIN_PATHincludes/common/db/db_install.php' (include_path='.:/usr/share/php') in wp-content/plugins/productive-commerce/includes/standard/functions.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-commerce/admin/common/options/partials/section-wishlist.php:1773
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-commerce/admin/common/options/global/productiveminds-icons.php:463
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/productive-commerce/includes/common/module/page-compare.php:132
- > PHP Warning
Use of undefined constant PRODUCTIVE_COMMERCE_PLUGIN_PATH - assumed 'PRODUCTIVE_COMMERCE_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/productive-commerce/includes/standard/functions.php on line 7
- > PHP Warning
Use of undefined constant PRODUCTIVE_COMMERCE_PLUGIN_PATH - assumed 'PRODUCTIVE_COMMERCE_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/productive-commerce/admin/standard/options/partials/section-integration.php on line 8
- > PHP Warning
require_once(PRODUCTIVE_COMMERCE_PLUGIN_PATHincludes/common/db/db_install.php): failed to open stream: No such file or directory in wp-content/plugins/productive-commerce/includes/standard/functions.php on line 7
- > PHP Fatal error
require(): Failed opening required 'PRODUCTIVE_COMMERCE_PLUGIN_PATHadmin/common/options/partials/part-section-integration.php' (include_path='.:/usr/share/php') in wp-content/plugins/productive-commerce/admin/standard/options/partials/section-integration.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
- Tags: There are too many tags (18 tag instead of maximum 10)
productive-commerce/productive-commerce.php 92% from 13 tests
Analyzing the main PHP file in "WooCommerce Wishlist, Comparison, Quick View and MiniCart" version 1.1.1
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 293 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin20,508 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 48 | 1,629 | 1,290 | 13,311 |
CSS | 5 | 41 | 112 | 5,224 |
JavaScript | 3 | 175 | 78 | 1,788 |
XML | 1 | 0 | 0 | 185 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 590 | |
▷ Named functions | 590 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 163 | |
▷ Global constants | 163 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/productivemedia/icons/close.png | 3.46KB | 1.76KB | ▼ 49.15% |
public/images/productivemedia/icons/close-jagged.png | 4.12KB | 2.46KB | ▼ 40.23% |
public/images/productivemedia/icons/check.png | 3.05KB | 1.70KB | ▼ 44.22% |
public/images/productivemedia/icons/close-circle.png | 6.21KB | 2.75KB | ▼ 55.79% |
public/images/productivemedia/icons/check-jagged.png | 3.41KB | 1.91KB | ▼ 43.99% |