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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼154.59ms] Passed 4 tests
An overview of server-side resources used by Agile CRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.08 | 29.66 ▼5.57 |
Dashboard /wp-admin | 3.11 ▲0.05 | 30.68 ▼17.90 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 39.51 ▼5.91 |
Add New Post /wp-admin/post-new.php | 5.18 ▼0.25 | 78.85 ▼587.32 |
Media Library /wp-admin/upload.php | 3.14 ▲0.13 | 30.92 ▼7.21 |
Landing Pages /wp-admin/admin.php?page=agilecrm_landing | 3.16 | 34.57 |
Form Builder /wp-admin/admin.php?page=agilecrm_formbuilder | 3.16 | 34.73 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_refer | 3.18 | 32.30 |
Web Rules /wp-admin/admin.php?page=agilecrm_webrules | 3.16 | 32.04 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_email | 3.16 | 33.99 |
Home /wp-admin/admin.php?page=agilecrm_dashboard | 3.16 | 31.78 |
Settings /wp-admin/admin.php?page=agilecrm_settings | 3.16 | 32.60 |
Web Stats /wp-admin/admin.php?page=agilecrm_webstats | 3.16 | 28.91 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 2 new options
New WordPress options |
---|
agile_webstats |
agile_webrules |
Browser metrics Passed 4 tests
Agile CRM: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲333 | 16.38 ▲0.91 | 26.11 ▲17.90 | 49.71 ▼6.16 |
Dashboard /wp-admin | 3,022 ▲91 | 6.14 ▲0.21 | 139.07 ▼17.06 | 139.42 ▲24.98 |
Posts /wp-admin/edit.php | 2,798 ▲62 | 2.71 ▲0.03 | 72.81 ▲0.85 | 106.11 ▲17.70 |
Add New Post /wp-admin/post-new.php | 1,656 ▼27 | 21.55 ▲2.79 | 301.57 ▼96.28 | 108.91 ▼7.44 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.04 ▲0.03 | 138.62 ▼31.17 | 163.66 ▲31.34 |
Landing Pages /wp-admin/admin.php?page=agilecrm_landing | 1,254 | 2.34 | 61.59 | 79.12 |
Form Builder /wp-admin/admin.php?page=agilecrm_formbuilder | 1,236 | 2.36 | 65.38 | 85.62 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_refer | 1,256 | 2.32 | 58.57 | 93.59 |
Web Rules /wp-admin/admin.php?page=agilecrm_webrules | 1,251 | 2.36 | 58.11 | 85.43 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_email | 1,256 | 2.34 | 62.75 | 86.53 |
Home /wp-admin/admin.php?page=agilecrm_dashboard | 1,245 | 2.33 | 55.98 | 84.34 |
Settings /wp-admin/admin.php?page=agilecrm_settings | 1,256 | 2.34 | 58.46 | 87.13 |
Web Stats /wp-admin/admin.php?page=agilecrm_webstats | 1,233 | 2.33 | 60.55 | 85.53 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 2 options in the database
- agile_webrules
- agile_webstats
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_webstats
- > Notice in wp-content/plugins/agile-crm-lead-management/index.php+962
Undefined variable: errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_dashboard
- > Notice in wp-content/plugins/agile-crm-lead-management/index.php+109
Undefined variable: deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_dashboard
- > Notice in wp-content/plugins/agile-crm-lead-management/index.php+109
Undefined variable: autoload
- > GET request to /wp-admin/admin.php?page=agilecrm_dashboard
- > Notice in wp-content/plugins/agile-crm-lead-management/index.php+112
Undefined index: status
- > GET request to /wp-admin/admin.php?page=agilecrm_dashboard
- > Notice in wp-content/plugins/agile-crm-lead-management/index.php+116
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
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/agile-crm-lead-management/index.php
- > /wp-content/plugins/agile-crm-lead-management/curlwrap_v2.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_email
- > Console-api (severe) in wp-content/plugins/agile-crm-lead-management/js/pubnub-3.4.min.js+6:274
Missing Channel
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #5, #6, #7, #8, #9 in agile-crm-lead-management/assets to your readme.txt
agile-crm-lead-management/index.php 77% from 13 tests
"Agile CRM" version v1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("agile-crm-lead-management.php" instead of "index.php")
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "v1.2")
- 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,296 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 53 | 1,214 |
CSS | 1 | 21 | 31 | 759 |
SVG | 7 | 28 | 7 | 200 |
JavaScript | 10 | 13 | 2 | 123 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 28 | |
▷ Named functions | 28 | 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.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/webrules.png | 105.82KB | 27.82KB | ▼ 73.71% |
images/web-stats.png | 38.69KB | 41.06KB | 0.00% |
images/email.png | 90.78KB | 22.54KB | ▼ 75.17% |
images/landing.png | 390.33KB | 165.52KB | ▼ 57.60% |
images/preview.png | 0.84KB | 0.59KB | ▼ 29.84% |