Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/clickbank-storefront/clickbank-storefronts.php+384
Undefined index: cs_image_descr_layout
Server metrics [RAM: ▼1.94MB] [CPU: ▼59.50ms] Passed 4 tests
This is a short check of server-side resources used by Clickbank Wordpress Plugin (Storefront)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.07 ▼39.63 |
Dashboard /wp-admin | 2.07 ▼1.27 | 5.84 ▼63.03 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.42 ▼46.55 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 5.70 ▼88.80 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.03 ▼28.67 |
Clickbank Storefronts /wp-admin/options-general.php?page=cs_menu | 2.08 | 5.72 |
Server storage [IO: ▲0.45MB] [DB: ▲0.63MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 33 new options
New WordPress options |
---|
cs_display_layout |
cs_image_border_style |
widget_cs_top_products_class |
db_upgraded |
cs_image_border |
theysaidso_admin_options |
cs_cats_to_omit |
cs_image_size |
widget_theysaidso_widget |
cs_home_page_cats |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Clickbank Wordpress Plugin (Storefront)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,014 ▲228 | 13.89 ▼0.75 | 13.03 ▲11.15 | 38.63 ▼3.51 |
Dashboard /wp-admin | 2,222 ▲25 | 5.83 ▲0.90 | 106.60 ▼5.61 | 41.70 ▼5.21 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.03 | 35.55 ▼1.24 | 36.66 ▲3.28 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 18.54 ▲0.92 | 622.06 ▲21.74 | 53.92 ▼0.51 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▼0.01 | 98.31 ▼7.22 | 42.50 ▼5.34 |
Clickbank Storefronts /wp-admin/options-general.php?page=cs_menu | 1,680 | 2.02 | 22.72 | 54.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.63MB] 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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/clickbank-storefront/clickbank-storefronts.php+384
Undefined index: cs_image_descr_layout
- Zombie WordPress options were found after uninstall: 33 options
- cs_view_other
- cs_rank
- cs_home_page_cats
- cs_theme_chosen
- cs_home_banner
- widget_theysaidso_widget
- can_compress_scripts
- cs_primary_color
- cs_reviews_show_cats
- cs_review_banner
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/clickbank-storefronts.php+384
Undefined index: cs_image_descr_layout
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1533
Undefined index: user_id
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1534
Undefined index: cs_mcat
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1535
Undefined index: cs_scat
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1536
Undefined index: cs_category
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1537
Undefined index: cs_temp_main_category
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1538
Undefined index: cs_main_category
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1539
Undefined index: memnumber
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1541
Undefined index: switch_view
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1542
Undefined index: sortby
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1546
Undefined index: tar
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1549
Undefined index: cs_main_category_name
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1550
Undefined index: cs_mcat_name
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1551
Undefined index: mem
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1552
Undefined index: cs_review_id
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1553
Undefined index: criteria
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/functions.inc.php+1554
Undefined index: cs_keywords
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/admin.inc.php+713
Undefined index: cs_products_page
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/admin.inc.php+737
Undefined variable: cat_id
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/admin.inc.php+759
Undefined index: cs_submit
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cs_menu
- > Notice in wp-content/plugins/clickbank-storefront/admin.inc.php+966
Undefined index: type
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/clickbank-storefront/product/index.php
- > /wp-content/plugins/clickbank-storefront/ajax_request.php
- > /wp-content/plugins/clickbank-storefront/product.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'cs_top_products_class' not found in wp-includes/class-wp-widget-factory.php:62
- > PHP Notice
Undefined index: cs_plugin_dir in wp-content/plugins/clickbank-storefront/admin.inc.php on line 3
- > PHP Notice
Undefined offset: 5 in wp-content/plugins/clickbank-storefront/product/index.php on line 12
- > PHP Notice
Undefined offset: 1 in wp-content/plugins/clickbank-storefront/product/index.php on line 8
- > PHP Notice
Undefined index: niche in wp-content/plugins/clickbank-storefront/product.php on line 14
- > PHP Notice
Undefined index: tar in wp-content/plugins/clickbank-storefront/product.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/clickbank-storefront/clickbank-storefronts.php:15
- > PHP Notice
Undefined offset: 4 in wp-content/plugins/clickbank-storefront/product/index.php on line 11
- > PHP Notice
Undefined offset: 2 in wp-content/plugins/clickbank-storefront/product/index.php on line 9
- > PHP Notice
Undefined index: mem in wp-content/plugins/clickbank-storefront/product.php on line 7
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 18 tag instead of maximum 10
clickbank-storefront/clickbank-storefronts.php 92% from 13 tests
The main PHP file in "Clickbank Wordpress Plugin (Storefront)" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("clickbank-storefront.php" instead of "clickbank-storefronts.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected5,345 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 1,256 | 971 | 3,703 |
CSS | 2 | 293 | 17 | 1,009 |
XML | 7 | 6 | 0 | 349 |
JavaScript | 4 | 48 | 64 | 284 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 3 | 8.82% |
▷ Public methods | 25 | 73.53% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 26.47% |
Functions | 64 | |
▷ Named functions | 63 | 98.44% |
▷ Anonymous functions | 1 | 1.56% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
left_arrow.png | 2.13KB | 1.02KB | ▼ 52.42% |
logo (1).png | 9.77KB | 4.51KB | ▼ 53.82% |
right_arrow.png | 2.07KB | 1.04KB | ▼ 49.93% |