Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.16ms] Passed 4 tests
Analyzing server-side resources used by ClickBank Storefront WordPress Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.28 ▲0.03 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.71 ▼12.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.27 ▲5.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.85 ▼10.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.83 ▼1.76 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ClickBank Storefront WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.25 ▼1.04 | 1.86 ▲0.15 | 37.91 ▼6.80 |
Dashboard /wp-admin | 2,206 ▲15 | 5.06 ▲0.11 | 97.28 ▼25.97 | 37.73 ▼19.74 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.13 | 38.37 ▲0.36 | 36.30 ▲1.77 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.38 ▲5.66 | 650.88 ▼64.41 | 68.58 ▲2.05 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.06 | 94.11 ▼11.95 | 40.43 ▼4.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/mycbgenie-clickbank-storefront/functions.inc.php+797
Invalid argument supplied for foreach()
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: clickbank, clickbank plugin, clickbank storefront, wordpress clickbank, wordpress woocommerce store...
mycbgenie-clickbank-storefront/mycbgenie-clickbank-storefront.php Passed 13 tests
Analyzing the main PHP file in "ClickBank Storefront WordPress Plugin" version 1.7
125 characters long description:
Not just an another Clickbank Storefront plugin! Designed to excel with the world's favorite eCommerce plugin - WooCommerce !
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
No dangerous file extensions were detected6,362 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 3,218 | 888 | 5,328 |
JavaScript | 7 | 495 | 102 | 943 |
CSS | 2 | 6 | 5 | 91 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 98.00 |
▷ Minimum class complexity | 98.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 6.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 1 | 5.26% |
▷ Private methods | 1 | 5.26% |
Functions | 116 | |
▷ Named functions | 113 | 97.41% |
▷ Anonymous functions | 3 | 2.59% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
20 PNG files occupy 0.22MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/collapse.png | 0.45KB | 0.35KB | ▼ 21.65% |
images/clickbank-logo.png | 5.54KB | 2.38KB | ▼ 56.93% |
images/expand.png | 0.45KB | 0.37KB | ▼ 17.29% |
images/fav_white.png | 1.89KB | 2.01KB | 0.00% |
images/mycbgenie-logo.png | 13.96KB | 8.66KB | ▼ 37.96% |