Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/clickbank-niche-storefronts/clickbank-niche-storefronts.php+120
Undefined index: cns_show_storefront_after_posts
Server metrics [RAM: ▼1.70MB] [CPU: ▼58.53ms] Passed 4 tests
This is a short check of server-side resources used by Clickbank WordPress Plugin (Niche Storefront)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 5.47 ▼36.00 |
Dashboard /wp-admin | 2.32 ▼1.03 | 6.63 ▼59.70 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 7.52 ▼37.23 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 6.99 ▼101.18 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 6.33 ▼29.86 |
Clickbank Niche Storefronts /wp-admin/options-general.php?page=cns_menu | 2.32 | 6.32 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 15 new options
New WordPress options |
---|
cns_columns |
db_upgraded |
cns_title_tag |
cns_subtitle_tag |
can_compress_scripts |
widget_theysaidso_widget |
cns_items_per_page |
cns_user_id |
theysaidso_admin_options |
cns_subtitle_style |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Clickbank WordPress Plugin (Niche Storefront)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.60 ▼0.62 | 9.35 ▲7.63 | 41.22 ▼0.96 |
Dashboard /wp-admin | 2,210 ▲22 | 4.89 ▲0.01 | 113.81 ▼5.40 | 44.31 ▼2.71 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.02 | 40.50 ▲4.79 | 35.91 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,540 ▲9 | 22.85 ▲4.58 | 653.38 ▲7.33 | 60.17 ▲10.20 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▼0.06 | 101.55 ▲1.98 | 41.78 ▼2.45 |
Clickbank Niche Storefronts /wp-admin/options-general.php?page=cns_menu | 885 | 2.19 | 29.68 | 28.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/clickbank-niche-storefronts/clickbank-niche-storefronts.php+120
Undefined index: cns_show_storefront_after_posts
- This plugin does not fully uninstall, leaving 15 options in the database
- db_upgraded
- cns_subtitle_tag
- cns_title_style
- cns_show_price
- theysaidso_admin_options
- cns_niche
- cns_user_id
- widget_theysaidso_widget
- widget_recent-comments
- cns_subtitle_style
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cns_menu
- > Notice in wp-content/plugins/clickbank-niche-storefronts/clickbank-niche-storefronts.php+120
Undefined index: cns_show_storefront_after_posts
- > GET request to /wp-admin/options-general.php?page=cns_menu
- > Notice in wp-content/plugins/clickbank-niche-storefronts/functions.inc.php+67
Undefined index: cns_submit
SRP 0% 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
The following issues need your attention
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/clickbank-niche-storefronts/product/index.php
- > /wp-content/plugins/clickbank-niche-storefronts/ajax_request.php
- > /wp-content/plugins/clickbank-niche-storefronts/product.php
- > /wp-content/plugins/clickbank-niche-storefronts/check_requirements.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined index: test_value in wp-content/plugins/clickbank-niche-storefronts/check_requirements.php on line 19
- > PHP Notice
Undefined offset: 2 in wp-content/plugins/clickbank-niche-storefronts/product/index.php on line 9
- > PHP Notice
Undefined offset: 1 in wp-content/plugins/clickbank-niche-storefronts/product/index.php on line 8
- > PHP Notice
Undefined offset: 5 in wp-content/plugins/clickbank-niche-storefronts/product/index.php on line 12
- > PHP Notice
A feed could not be found at `https://cbproads.com/xmlfeed/wp/cb.asp?start=-12&end=12&niche=&id=&Datem=2023-10-08&url=http%3A%2F%2Fwp.com`; the status code is `200` and content-type is `text/html` in wp-includes/class-simplepie.php on line 1787
- > PHP Notice
Undefined offset: 3 in wp-content/plugins/clickbank-niche-storefronts/product/index.php on line 10
- > PHP Notice
Undefined index: mem in wp-content/plugins/clickbank-niche-storefronts/product.php on line 7
- > PHP Notice
Undefined index: niche in wp-content/plugins/clickbank-niche-storefronts/product.php on line 14
- > PHP Notice
Undefined offset: 4 in wp-content/plugins/clickbank-niche-storefronts/product/index.php on line 11
- > PHP Notice
Undefined index: tar in wp-content/plugins/clickbank-niche-storefronts/product.php on line 8
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=cns_menu
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: select is not defined" "ReferenceError: select is not defined\n at cns_show_storefront_after_posts_change (/wp-admin/options-general.php?page=cns_menu:48:55)\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=cns_menu:50:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=cns_menu
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: select is not defined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
clickbank-niche-storefronts/clickbank-niche-storefronts.php Passed 13 tests
The entry point to "Clickbank WordPress Plugin (Niche Storefront)" version 1.3.5 is a PHP file that has certain tags in its header comment area
81 characters long description:
This plugin allows users to add a Clickbank Niche Storefront as a POST or a PAGE.
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
Good job! No executable or dangerous file extensions detected1,643 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 246 | 262 | 1,332 |
CSS | 2 | 48 | 5 | 179 |
JavaScript | 2 | 37 | 58 | 132 |
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.55 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin