Benchmarks
Plugin footprint 82% 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.77MB] [CPU: ▼314.63ms] 75% from 4 tests
A check of server-side resources used by ClickFunnels
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,032.97ms on /wp-admin/admin.php?page=reset_data)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.22 | 52.81 ▲1.45 |
Dashboard /wp-admin | 3.58 ▲0.17 | 33.47 ▼1.85 |
Posts /wp-admin/edit.php | 3.80 ▲0.16 | 37.68 ▼0.42 |
Add New Post /wp-admin/post-new.php | 3.39 ▼3.58 | 27.49 ▼1,257.71 |
Media Library /wp-admin/upload.php | 3.45 ▲0.16 | 26.69 ▲1.79 |
Reset Data /wp-admin/admin.php?page=reset_data | 3.44 | 1,032.97 |
Pages /wp-admin/edit.php?post_type=clickfunnels | 3.56 | 24.70 |
Add New /wp-admin/post-new.php?post_type=clickfunnels | 3.38 | 26.78 |
Shortcodes /wp-admin/edit.php?post_type=clickfunnels&page=clickfunnels_shortcodes | 3.47 | 23.38 |
Settings /wp-admin/edit.php?post_type=clickfunnels&page=cf_api | 3.45 | 23.00 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 2 new options
New WordPress options |
---|
clickfunnels_posts_schema_version |
widget_clickfunnels_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for ClickFunnels
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲87 | 15.82 ▼0.18 | 6.46 ▲0.22 | 2.22 ▼0.61 |
Dashboard /wp-admin | 2,932 ▲78 | 6.13 ▼0.10 | 120.79 ▼13.23 | 172.39 ▲11.42 |
Posts /wp-admin/edit.php | 2,730 ▲39 | 3.07 ▼0.17 | 64.64 ▼1.63 | 138.88 ▼4.81 |
Add New Post /wp-admin/post-new.php | 1,739 ▲49 | 21.35 ▲0.73 | 415.60 ▼17.05 | 187.53 ▲27.24 |
Media Library /wp-admin/upload.php | 1,722 ▲24 | 5.56 ▲0.08 | 128.30 ▼9.89 | 209.78 ▲20.05 |
Reset Data /wp-admin/admin.php?page=reset_data | 1,044 | 2.49 | 53.19 | 109.50 |
Pages /wp-admin/edit.php?post_type=clickfunnels | 1,473 | 3.09 | 62.89 | 127.42 |
Add New /wp-admin/post-new.php?post_type=clickfunnels | 1,463 | 3.97 | 77.11 | 156.75 |
Shortcodes /wp-admin/edit.php?post_type=clickfunnels&page=clickfunnels_shortcodes | 1,716 | 2.41 | 55.90 | 221.64 |
Settings /wp-admin/edit.php?post_type=clickfunnels&page=cf_api | 1,430 | 2.41 | 56.85 | 229.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 2 options
- clickfunnels_posts_schema_version
- widget_clickfunnels_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=clickfunnels
- > Notice in wp-content/plugins/clickfunnels/clickfunnels.php+195
Undefined index: post_type
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=clickfunnels
- > Notice in wp-content/plugins/clickfunnels/pages/edit.php+10
Undefined index: post
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=clickfunnels&page=cf_api
- > Notice in wp-content/plugins/clickfunnels/pages/settings.php+63
Undefined index: error
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/clickfunnels/pages/_footer.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/clickfunnels/pages/settings.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/clickfunnels/clickfunnels.php:483
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/clickfunnels/pages/reset_data.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/clickfunnels/pages/_header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/clickfunnels/pages/edit.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/clickfunnels/pages/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/clickfunnels/uninstall.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=clickfunnels
- > Network (severe)
https://appassets3.clickfunnels.com/assets/favicon-8c74cad77e4e123f7dbb46b33e6de10c.png - Failed to load resource: the server responded with a status of 403 ()
- > GET request to /wp-admin/post-new.php?post_type=clickfunnels
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=clickfunnels - Access to XMLHttpRequest at 'https://api.clickfunnels.com/funnels/list.json?email=&auth_token=' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=clickfunnels&page=clickfunnels_shortcodes
- > Network (severe)
https://api.clickfunnels.com/funnels/list.json?email=&auth_token= - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/edit.php?post_type=clickfunnels&page=clickfunnels_shortcodes
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=clickfunnels&page=clickfunnels_shortcodes - Access to XMLHttpRequest at 'https://api.clickfunnels.com/funnels/list.json?email=&auth_token=' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/edit.php?post_type=clickfunnels&page=cf_api
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=clickfunnels&page=cf_api - Access to XMLHttpRequest at 'https://api.clickfunnels.com/funnels/list?email=&auth_token=' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/edit.php?post_type=clickfunnels&page=cf_api
- > Network (severe)
https://api.clickfunnels.com/funnels/list?email=&auth_token= - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: clickfunnels, funnels, sales funnel, optin, landing pages...
clickfunnels/clickfunnels.php 92% from 13 tests
The main PHP file in "ClickFunnels" ver. 3.1.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 350 characters long)
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 detected2,905 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 129 | 72 | 1,616 |
CSS | 2 | 30 | 27 | 702 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 2 | 2 | 1 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.04MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 23.44KB | 3.10KB | ▼ 86.76% |
images/icon.png | 17.98KB | 0.78KB | ▼ 95.67% |