Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.02ms] Passed 4 tests
Analyzing server-side resources used by WP ClickBank Vendor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.69 ▲2.43 |
Dashboard /wp-admin | 3.46 ▲0.12 | 47.98 ▼13.66 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.87 ▼3.48 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 87.02 ▼5.37 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 40.80 ▲5.03 |
Add /wp-admin/admin.php?page=arvcb-customer-add | 3.44 | 33.51 |
Customers /wp-admin/admin.php?page=arvcb-customers | 3.45 | 34.16 |
Download Pages /wp-admin/edit.php?post_type=download-pages | 3.54 | 43.52 |
WP ClickBank /wp-admin/admin.php?page=wp-cb-vendor-top | 3.39 | 29.84 |
Delete /wp-admin/admin.php?page=arvcb-customer-delete | 3.39 | 37.41 |
Edit /wp-admin/admin.php?page=arvcb-customer-edit | 3.41 | 32.78 |
Server storage [IO: ▲0.47MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 70 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_cb_access |
wp_cb_transactions |
wp_cb_customers |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
arevico_cb_db |
arvcbOptions |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP ClickBank Vendor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲102 | 13.77 ▼0.60 | 1.81 ▼0.03 | 39.15 ▼3.29 |
Dashboard /wp-admin | 2,248 ▲60 | 5.23 ▼0.64 | 96.71 ▼16.04 | 40.71 ▲0.59 |
Posts /wp-admin/edit.php | 2,134 ▲42 | 2.36 ▲0.38 | 35.96 ▼5.03 | 31.64 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,620 ▲98 | 23.72 ▲0.54 | 703.92 ▲122.15 | 59.06 ▲9.77 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.42 ▲0.16 | 97.63 ▲2.02 | 40.43 ▼0.55 |
Add /wp-admin/admin.php?page=arvcb-customer-add | 1,100 | 2.60 | 46.47 | 27.81 |
Customers /wp-admin/admin.php?page=arvcb-customers | 913 | 1.89 | 24.24 | 29.31 |
Download Pages /wp-admin/edit.php?post_type=download-pages | 1,846 | 2.35 | 33.51 | 29.74 |
WP ClickBank /wp-admin/admin.php?page=wp-cb-vendor-top | 1,141 | 2.43 | 37.88 | 27.43 |
Delete /wp-admin/admin.php?page=arvcb-customer-delete | 706 | 1.62 | 11.28 | 23.02 |
Edit /wp-admin/admin.php?page=arvcb-customer-edit | 717 | 1.72 | 8.60 | 17.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_cb_customers
- wp_cb_access
- wp_cb_transactions
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- arvcbOptions
- db_upgraded
- arevico_cb_db
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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 | 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-clickbank-vendor/app/View/Tabs.php
- > /wp-content/plugins/wp-clickbank-vendor/app/View/GA.php
- > /wp-content/plugins/wp-clickbank-vendor/app/View/Metabox/productid-template.php
- > /wp-content/plugins/wp-clickbank-vendor/app/View/Admin/TinyMCE.php
- 54× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\Controller' not found in wp-content/plugins/wp-clickbank-vendor/app/Controller/Admin/MCE.php:12
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-clickbank-vendor/core/Helper/Table.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\Model' not found in wp-content/plugins/wp-clickbank-vendor/core/DBModel.php:8
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\DBModel' not found in wp-content/plugins/wp-clickbank-vendor/app/Model/ProductAccess.php:17
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\DBModel' not found in wp-content/plugins/wp-clickbank-vendor/app/Model/Customer.php:20
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\Controller' not found in wp-content/plugins/wp-clickbank-vendor/app/Controller/Shortcode.php:12
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\Helper\\ClassHelper' not found in wp-content/plugins/wp-clickbank-vendor/core/Helper/Migrate.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Arevico\\Core\\stripslashes_deep() in wp-content/plugins/wp-clickbank-vendor/core/Genesis.php:48
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\Controller' not found in wp-content/plugins/wp-clickbank-vendor/app/Controller/Admin/Top.php:11
- > PHP Fatal error
Uncaught Error: Class 'Arevico\\Core\\Helper\\Migrate' not found in wp-content/plugins/wp-clickbank-vendor/app/Activate.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: affiliate, clickbank, vendor, selling
wp-clickbank-vendor/index.php 85% from 13 tests
The main PHP script in "WP ClickBank Vendor" version 0.9.1 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-clickbank-vendor.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected10,810 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,046 | 1,332 | 8,424 |
PHP | 57 | 718 | 961 | 2,250 |
CSS | 4 | 44 | 11 | 128 |
Markdown | 1 | 4 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 9 | 20.00% |
▷ Concrete classes | 36 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 217 | |
▷ Static methods | 37 | 17.05% |
▷ Public methods | 207 | 95.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 4.61% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin