Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼21.86ms] Passed 4 tests
Analyzing server-side resources used by Agile CRM Email Marketing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 28.70 ▼12.58 |
Dashboard /wp-admin | 3.29 ▼0.01 | 27.52 ▼21.33 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 34.17 ▼17.27 |
Add New Post /wp-admin/post-new.php | 5.67 ▼0.21 | 69.14 ▼36.25 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 32.17 ▼3.95 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_email_marketing_email | 3.41 | 32.24 |
Settings /wp-admin/admin.php?page=agilecrm_email_marketing_settings | 3.40 | 32.10 |
Web Rules /wp-admin/admin.php?page=agilecrm_email_marketing_webrules | 3.41 | 33.21 |
Landing Pages /wp-admin/admin.php?page=agilecrm_email_marketing_landing | 3.41 | 33.31 |
Home /wp-admin/admin.php?page=agilecrm_email_marketing_dashboard | 3.40 | 32.79 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_email_marketing_refer | 3.43 | 35.15 |
Form Builder /wp-admin/admin.php?page=agilecrm_email_marketing_formbuilder | 3.41 | 32.33 |
Web Stats /wp-admin/admin.php?page=agilecrm_email_marketing_webstats | 3.40 | 33.15 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
email_marketing_agile_webrules |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
email_marketing_agile_webstats |
Browser metrics Passed 4 tests
Agile CRM Email Marketing: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲219 | 13.74 ▼0.63 | 17.79 ▲15.63 | 42.93 ▼3.23 |
Dashboard /wp-admin | 2,253 ▲62 | 5.85 ▲0.97 | 103.91 ▲0.14 | 85.78 ▲41.00 |
Posts /wp-admin/edit.php | 2,145 ▲56 | 2.03 ▲0.02 | 35.19 ▼2.70 | 32.44 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,562 ▲42 | 23.14 ▼0.09 | 733.27 ▲72.78 | 36.51 ▼13.86 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.22 ▼0.05 | 103.83 ▼3.96 | 47.35 ▲5.77 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_email_marketing_email | 935 | 1.71 | 27.32 | 31.10 |
Settings /wp-admin/admin.php?page=agilecrm_email_marketing_settings | 929 | 2.07 | 23.11 | 32.27 |
Web Rules /wp-admin/admin.php?page=agilecrm_email_marketing_webrules | 935 | 1.86 | 26.94 | 33.41 |
Landing Pages /wp-admin/admin.php?page=agilecrm_email_marketing_landing | 938 | 1.83 | 27.44 | 30.18 |
Home /wp-admin/admin.php?page=agilecrm_email_marketing_dashboard | 929 | 2.03 | 25.17 | 32.33 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_email_marketing_refer | 946 | 2.08 | 24.89 | 32.03 |
Form Builder /wp-admin/admin.php?page=agilecrm_email_marketing_formbuilder | 935 | 1.70 | 27.16 | 29.67 |
Web Stats /wp-admin/admin.php?page=agilecrm_email_marketing_webstats | 932 | 2.06 | 23.20 | 29.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- email_marketing_agile_webrules
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- email_marketing_agile_webstats
- can_compress_scripts
- widget_recent-comments
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)
Almost there, just fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_webstats
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+900
Undefined index: domain
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_webstats
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+959
Undefined index: save
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_webstats
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+1043
Undefined variable: errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_dashboard
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+121
Undefined variable: deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_dashboard
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+121
Undefined variable: autoload
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_dashboard
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+124
Undefined index: status
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_dashboard
- > Notice in wp-content/plugins/agile-crm-email-marketing/index.php+128
Undefined index: restatus
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/agile-crm-email-marketing/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email_marketing_formbuilder
- > Console-api (severe) in wp-content/plugins/agile-crm-email-marketing/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 to be fixed:
- Screenshots: These screenshots need descriptions #5, #6, #7, #8, #9 in agile-crm-email-marketing/assets to your readme.txt
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
agile-crm-email-marketing/index.php 85% from 13 tests
The main file in "Agile CRM Email Marketing" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("agile-crm-email-marketing.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.97MB with 0.40MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/frombuilder.png | 103.04KB | 29.05KB | ▼ 71.81% |
images/web-stats.png | 38.69KB | 41.06KB | 0.00% |
images/campaign-newsletter.png | 9.62KB | 10.23KB | 0.00% |
images/email.png | 90.78KB | 22.54KB | ▼ 75.17% |
images/landing.png | 390.33KB | 165.52KB | ▼ 57.60% |