Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.76MB] [CPU: ▼24.83ms] Passed 4 tests
An overview of server-side resources used by LeadMonster
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.35 ▼0.60 |
Dashboard /wp-admin | 3.11 ▼0.20 | 29.21 ▼23.68 |
Posts /wp-admin/edit.php | 3.24 ▼0.11 | 32.15 ▼15.35 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.70 | 34.25 ▼59.69 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 31.41 ▼0.29 |
Settings /wp-admin/edit.php?post_type=leadmonster&page=cf_api | 3.31 | 29.70 |
Shortcodes /wp-admin/edit.php?post_type=leadmonster&page=leadmonster_shortcodes | 3.34 | 31.51 |
Add New /wp-admin/post-new.php?post_type=leadmonster | 3.14 | 30.32 |
Pages /wp-admin/edit.php?post_type=leadmonster | 3.32 | 31.11 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
leadmonster_posts_schema_version |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
leadmonster_display_method |
widget_leadmonster_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LeadMonster
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲131 | 14.74 ▲0.35 | 2.06 ▲0.24 | 46.34 ▼4.10 |
Dashboard /wp-admin | 2,228 ▲37 | 5.83 ▲0.95 | 95.39 ▼5.11 | 77.95 ▲35.36 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.01 | 34.05 ▼5.06 | 34.57 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,697 ▲155 | 22.56 ▼0.74 | 678.38 ▲5.95 | 55.90 ▼1.05 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.20 ▼0.05 | 94.78 ▲0.97 | 74.64 ▲31.45 |
Settings /wp-admin/edit.php?post_type=leadmonster&page=cf_api | 1,000 | 2.10 | 28.49 | 81.94 |
Shortcodes /wp-admin/edit.php?post_type=leadmonster&page=leadmonster_shortcodes | 1,293 | 2.12 | 28.38 | 45.81 |
Add New /wp-admin/post-new.php?post_type=leadmonster | 1,076 | 2.33 | 49.26 | 51.80 |
Pages /wp-admin/edit.php?post_type=leadmonster | 1,108 | 2.04 | 36.10 | 21.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- leadmonster_posts_schema_version
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_leadmonster_widget
- db_upgraded
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=leadmonster&page=leadmonster_shortcodes
- > Notice in wp-content/plugins/leadmonster/pages/shortcodes.php+290
Undefined index: error
- > GET request to /wp-admin/post-new.php?post_type=leadmonster
- > Notice in wp-content/plugins/leadmonster/leadmonster.php+151
Undefined index: post_type
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=leadmonster
- > Notice in wp-content/plugins/leadmonster/pages/edit.php+12
Undefined index: post
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/leadmonster/pages/settings.php
- > /wp-content/plugins/leadmonster/pages/edit.php
- > /wp-content/plugins/leadmonster/pages/shortcodes.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_count_posts() in wp-content/plugins/leadmonster/pages/reset_data.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=leadmonster&page=cf_api
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=leadmonster&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=leadmonster&page=cf_api
- > Network (severe)
https://api.clickfunnels.com/funnels/list?email=&auth_token= - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/edit.php?post_type=leadmonster&page=leadmonster_shortcodes
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=leadmonster&page=leadmonster_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.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=leadmonster
- > Network (severe)
https://api.clickfunnels.com/funnels/list.json?email=&auth_token= - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/post-new.php?post_type=leadmonster
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=leadmonster - 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.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (LeadMonster is the ultimate growth hacking toolkit to grow your business leads and sales in WordPress), #2 (The logo for LeadMonster), #3 (Display the current pages configured with LeadMonster), #4 (Use the Page Settings to specify a Funnel Name and Step to associate with a WordPress URL), #5 (The Settings API Connection page lets you connect to your ClickFunnels account), #6 (The Settings Compatibility Check page lets you test your connection), #7 (The Settings General page lets you select whether the page is embedded in WordPress or redirected), #8 (Use Short Codes to embed pages), #9 (Use Short Codes to add a ClickPop), #10 (Use Short Codes to add a ClickForm)
- Tags: You are using too many tags: 23 tag instead of maximum 10
leadmonster/leadmonster.php 92% from 13 tests
The entry point to "LeadMonster" version 1.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 311 characters long)
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
There were no executable files found in this plugin3,414 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 133 | 53 | 1,521 |
Sass | 1 | 121 | 0 | 666 |
CSS | 2 | 121 | 27 | 643 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 1 | 2 | 0 | 19 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.96 |
▷ 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 | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/house3.png | 0.46KB | 0.46KB | 0.00% |
images/logo.png | 6.71KB | 3.19KB | ▼ 52.52% |
images/attention_1.png | 0.34KB | 0.34KB | 0.00% |
images/icon.png | 0.76KB | 0.80KB | 0.00% |
images/icon-32.png | 2.35KB | 1.57KB | ▼ 33.06% |