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 gracefully, with no errors
Server metrics [RAM: ▼0.21MB] [CPU: ▼21.31ms] Passed 4 tests
A check of server-side resources used by Agile CRM Newsletter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 23.59 ▼16.63 |
Dashboard /wp-admin | 3.08 ▼0.22 | 22.32 ▼27.00 |
Posts /wp-admin/edit.php | 3.22 ▼0.14 | 34.67 ▼12.38 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.42 | 68.13 ▼29.22 |
Media Library /wp-admin/upload.php | 3.15 ▼0.08 | 27.21 ▼5.86 |
Web Stats /wp-admin/admin.php?page=agilecrm_newsletter_webstats | 3.20 | 28.04 |
Settings /wp-admin/admin.php?page=agilecrm_newsletter_settings | 3.20 | 26.18 |
Web Rules /wp-admin/admin.php?page=agilecrm_newsletter_webrules | 3.20 | 29.43 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_newsletter_refer | 3.22 | 35.26 |
Home /wp-admin/admin.php?page=agilecrm_newsletter_dashboard | 3.20 | 30.43 |
Landing Pages /wp-admin/admin.php?page=agilecrm_newsletter_landing | 3.20 | 28.55 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_newsletter_email | 3.20 | 30.35 |
Form Builder /wp-admin/admin.php?page=agilecrm_newsletter_formbuilder | 3.20 | 30.08 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
newsletter_agile_webrules |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
newsletter_agile_webstats |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Agile CRM Newsletter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲219 | 13.74 ▼0.63 | 13.85 ▲12.06 | 36.82 ▼5.19 |
Dashboard /wp-admin | 2,253 ▲68 | 5.86 ▲0.95 | 111.39 ▼9.07 | 78.09 ▲28.22 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 1.99 ▼0.05 | 36.64 ▲2.12 | 34.32 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,708 ▲175 | 22.64 ▼0.59 | 694.08 ▲16.50 | 28.01 ▼22.93 |
Media Library /wp-admin/upload.php | 1,438 ▲50 | 4.12 ▼0.07 | 99.76 ▲0.28 | 75.39 ▲31.47 |
Web Stats /wp-admin/admin.php?page=agilecrm_newsletter_webstats | 932 | 2.03 | 26.44 | 35.53 |
Settings /wp-admin/admin.php?page=agilecrm_newsletter_settings | 935 | 2.06 | 23.47 | 26.17 |
Web Rules /wp-admin/admin.php?page=agilecrm_newsletter_webrules | 935 | 1.71 | 28.88 | 31.45 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_newsletter_refer | 946 | 2.03 | 23.87 | 31.43 |
Home /wp-admin/admin.php?page=agilecrm_newsletter_dashboard | 929 | 2.06 | 23.67 | 30.94 |
Landing Pages /wp-admin/admin.php?page=agilecrm_newsletter_landing | 941 | 1.85 | 27.56 | 31.83 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_newsletter_email | 938 | 1.84 | 27.79 | 32.05 |
Form Builder /wp-admin/admin.php?page=agilecrm_newsletter_formbuilder | 938 | 1.72 | 27.12 | 30.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- newsletter_agile_webrules
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- newsletter_agile_webstats
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_formbuilder
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+900
Undefined index: domain
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_formbuilder
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+959
Undefined index: save
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_formbuilder
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+1043
Undefined variable: errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_dashboard
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+121
Undefined variable: deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_dashboard
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+121
Undefined variable: autoload
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_dashboard
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+124
Undefined index: status
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_dashboard
- > Notice in wp-content/plugins/agile-crm-newsletter/index.php+128
Undefined index: restatus
SRP 50% 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
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-newsletter/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_newsletter_formbuilder
- > Console-api (severe) in wp-content/plugins/agile-crm-newsletter/js/pubnub-3.4.min.js+6:274
Missing Channel
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #5, #6, #7, #8, #9 in agile-crm-newsletter/assets to your readme.txt
agile-crm-newsletter/index.php 85% from 13 tests
"Agile CRM Newsletter" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("agile-crm-newsletter.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
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
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/campaign-newsletter.png | 9.62KB | 10.23KB | 0.00% |
images/agile-crm.png | 1.92KB | 1.13KB | ▼ 41.18% |
images/webrules.png | 105.82KB | 27.82KB | ▼ 73.71% |
images/email.png | 90.78KB | 22.54KB | ▼ 75.17% |
images/preview.png | 0.84KB | 0.59KB | ▼ 29.84% |