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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.16MB] [CPU: ▲7.21ms] Passed 4 tests
Server-side resources used by Product Tabs Manager for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.64 ▲1.18 | 47.96 ▲2.85 |
Dashboard /wp-admin | 4.47 ▲1.16 | 59.60 ▲7.95 |
Posts /wp-admin/edit.php | 4.58 ▲1.22 | 60.86 ▲12.09 |
Add New Post /wp-admin/post-new.php | 7.05 ▲1.16 | 94.13 ▲5.94 |
Media Library /wp-admin/upload.php | 4.39 ▲1.16 | 53.75 ▲18.79 |
Server storage [IO: ▲2.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 87 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
br-tab_manager-options |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
berocket_admin_notices_rate_stars |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Product Tabs Manager for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.27 ▼1.03 | 5.34 ▲3.47 | 37.17 ▼11.53 |
Dashboard /wp-admin | 2,211 ▲23 | 4.84 ▼0.06 | 107.19 ▼9.71 | 75.30 ▲29.81 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.04 ▲0.01 | 36.79 ▲0.52 | 32.96 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,547 ▲13 | 18.34 ▼4.79 | 695.64 ▼23.76 | 64.37 ▲11.24 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.19 ▼0.02 | 109.81 ▲5.13 | 48.17 ▲4.35 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- berocket_admin_notices_rate_stars
- db_upgraded
- berocket_key_activated_plugins
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 27× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: framework_version in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/framework_version.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/framework.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/libraries/popup.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/libraries/tippy.php:7
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/product-tabs-manager-for-woocommerce/templates/tabs.php on line 49
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/product-tabs-manager-for-woocommerce/templates/tabs.php on line 16
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/product-tabs-manager-for-woocommerce/templates/tabs.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/includes/settings_fields.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/templates/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/product-tabs-manager-for-woocommerce/berocket/includes/updater.php:5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (19 tag instead of maximum 10)
- Screenshots: Add images for these screenshots: #1 (General settings), #2 (Tabs list), #3 (Tab creation)
product-tabs-manager-for-woocommerce/woocommerce-tab-manager.php 92% from 13 tests
The main file in "Product Tabs Manager for WooCommerce" v. 1.1.5.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("product-tabs-manager-for-woocommerce.php" instead of "woocommerce-tab-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected20,582 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 2,517 | 76 | 9,757 |
PHP | 37 | 473 | 1,303 | 8,661 |
JavaScript | 5 | 43 | 58 | 1,705 |
PO File | 2 | 194 | 216 | 430 |
XML | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 48.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 240.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 366 | |
▷ Static methods | 134 | 36.61% |
▷ Public methods | 366 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
berocket/libraries/templates/default.png | 3.87KB | 2.63KB | ▼ 31.94% |
berocket/assets/css/mail.png | 2.59KB | 1.92KB | ▼ 26.02% |
berocket/libraries/addons/default.png | 3.87KB | 2.63KB | ▼ 31.94% |
berocket/assets/images/submenu-icon.png | 0.62KB | 0.50KB | ▼ 20.13% |
berocket/includes/ico.png | 1.90KB | 1.41KB | ▼ 25.89% |