Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼16.82ms] Passed 4 tests
Server-side resources used by Agile CRM Landing Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 31.97 ▼10.74 |
Dashboard /wp-admin | 3.29 ▼0.01 | 29.54 ▼23.96 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 36.74 ▼15.13 |
Add New Post /wp-admin/post-new.php | 5.68 ▼0.22 | 70.24 ▼17.44 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.22 ▼1.87 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_landing_pages_email | 3.41 | 34.04 |
Web Stats /wp-admin/admin.php?page=agilecrm_landing_pages_webstats | 3.41 | 35.17 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_landing_pages_refer | 3.43 | 33.86 |
Form Builder /wp-admin/admin.php?page=agilecrm_landing_pages_formbuilder | 3.41 | 35.53 |
Landing Pages /wp-admin/admin.php?page=agilecrm_landing_pages_landing | 3.41 | 33.09 |
Web Rules /wp-admin/admin.php?page=agilecrm_landing_pages_webrules | 3.41 | 32.01 |
Home /wp-admin/admin.php?page=agilecrm_landing_pages_dashboard | 3.41 | 34.41 |
Settings /wp-admin/admin.php?page=agilecrm_landing_pages_settings | 3.41 | 25.73 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
landing_pages_agile_webrules |
landing_pages_agile_webstats |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Agile CRM Landing Pages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲198 | 13.55 ▼0.74 | 18.17 ▲16.68 | 43.45 ▼2.65 |
Dashboard /wp-admin | 2,235 ▲58 | 5.52 ▼0.15 | 83.89 ▼3.77 | 84.49 ▲43.20 |
Posts /wp-admin/edit.php | 2,161 ▲58 | 2.00 ▲0.01 | 34.71 ▼6.59 | 36.59 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,734 ▲208 | 24.67 ▲1.62 | 727.50 ▲35.10 | 73.18 ▲10.22 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.21 ▲0.01 | 101.28 ▼0.80 | 71.71 ▲24.02 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_landing_pages_email | 955 | 1.69 | 26.92 | 31.59 |
Web Stats /wp-admin/admin.php?page=agilecrm_landing_pages_webstats | 946 | 2.01 | 24.41 | 31.68 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_landing_pages_refer | 963 | 2.00 | 24.35 | 36.85 |
Form Builder /wp-admin/admin.php?page=agilecrm_landing_pages_formbuilder | 958 | 1.69 | 28.36 | 31.42 |
Landing Pages /wp-admin/admin.php?page=agilecrm_landing_pages_landing | 952 | 1.69 | 27.21 | 30.18 |
Web Rules /wp-admin/admin.php?page=agilecrm_landing_pages_webrules | 952 | 1.69 | 25.33 | 31.13 |
Home /wp-admin/admin.php?page=agilecrm_landing_pages_dashboard | 949 | 2.01 | 22.25 | 30.24 |
Settings /wp-admin/admin.php?page=agilecrm_landing_pages_settings | 949 | 2.01 | 22.34 | 33.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- can_compress_scripts
- landing_pages_agile_webstats
- widget_recent-posts
- theysaidso_admin_options
- landing_pages_agile_webrules
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_settings
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+900
Undefined index: domain
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_settings
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+959
Undefined index: save
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_settings
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+1043
Undefined variable: errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_dashboard
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+121
Undefined variable: deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_dashboard
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+121
Undefined variable: autoload
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_dashboard
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+124
Undefined index: status
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_dashboard
- > Notice in wp-content/plugins/agile-crm-landing-pages/index.php+128
Undefined index: restatus
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/agile-crm-landing-pages/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_settings
- > Network (severe)
wp-content/plugins/agilecrm-landing-pages/images/icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_landing_pages_webrules
- > Console-api (severe) in wp-content/plugins/agile-crm-landing-pages/js/pubnub-3.4.min.js+6:274
Missing Channel
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: No descriptions were found for these screenshots #5, #6, #7, #8, #9 in agile-crm-landing-pages/assets to your readme.txt
agile-crm-landing-pages/index.php 85% from 13 tests
Analyzing the main PHP file in "Agile CRM Landing Pages" version 1.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("agile-crm-landing-pages.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected2,384 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 53 | 1,302 |
CSS | 1 | 21 | 31 | 759 |
SVG | 7 | 28 | 7 | 200 |
JavaScript | 10 | 13 | 2 | 123 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 27 | |
▷ Named functions | 27 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.97MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/email.png | 90.78KB | 22.54KB | ▼ 75.17% |
images/landingpage_main.png | 215.88KB | 59.15KB | ▼ 72.60% |
images/preview.png | 0.84KB | 0.59KB | ▼ 29.84% |
images/campaign-newsletter.png | 9.62KB | 10.23KB | 0.00% |
images/landing.png | 390.33KB | 165.52KB | ▼ 57.60% |