Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼18.26ms] Passed 4 tests
Analyzing server-side resources used by Agile CRM Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 31.70 ▼8.85 |
Dashboard /wp-admin | 3.29 ▼0.02 | 33.09 ▼21.60 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 34.88 ▼17.19 |
Add New Post /wp-admin/post-new.php | 5.67 ▼0.22 | 72.40 ▼25.41 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.91 ▲1.20 |
Web Rules /wp-admin/admin.php?page=agilecrm_forms_webrules | 3.41 | 35.47 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_forms_refer | 3.43 | 34.10 |
Form Builder /wp-admin/admin.php?page=agilecrm_forms_formbuilder | 3.41 | 34.90 |
Landing Pages /wp-admin/admin.php?page=agilecrm_forms_landing | 3.41 | 32.32 |
Web Stats /wp-admin/admin.php?page=agilecrm_forms_webstats | 3.40 | 34.47 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_forms_email | 3.41 | 34.39 |
Settings /wp-admin/admin.php?page=agilecrm_forms_settings | 3.40 | 34.54 |
Home /wp-admin/admin.php?page=agilecrm_forms_dashboard | 3.40 | 34.74 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
forms_agile_webrules |
theysaidso_admin_options |
can_compress_scripts |
forms_agile_webstats |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Agile CRM Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲168 | 13.56 ▼0.79 | 17.83 ▲15.96 | 43.86 ▲7.19 |
Dashboard /wp-admin | 2,236 ▲59 | 5.57 ▲0.04 | 86.45 ▼5.60 | 56.75 ▲8.23 |
Posts /wp-admin/edit.php | 2,153 ▲50 | 1.98 ▲0.02 | 39.30 ▼2.87 | 35.23 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,720 ▲194 | 22.46 ▼0.67 | 749.72 ▲49.06 | 53.89 ▼10.87 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.23 ▲0.02 | 106.85 ▲0.92 | 82.26 ▲37.14 |
Web Rules /wp-admin/admin.php?page=agilecrm_forms_webrules | 950 | 1.83 | 29.11 | 33.14 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_forms_refer | 961 | 1.99 | 24.40 | 33.49 |
Form Builder /wp-admin/admin.php?page=agilecrm_forms_formbuilder | 953 | 1.83 | 26.34 | 31.54 |
Landing Pages /wp-admin/admin.php?page=agilecrm_forms_landing | 953 | 1.81 | 26.15 | 28.42 |
Web Stats /wp-admin/admin.php?page=agilecrm_forms_webstats | 947 | 2.01 | 24.81 | 33.07 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_forms_email | 950 | 1.68 | 26.92 | 30.79 |
Settings /wp-admin/admin.php?page=agilecrm_forms_settings | 941 | 2.01 | 22.85 | 29.41 |
Home /wp-admin/admin.php?page=agilecrm_forms_dashboard | 947 | 2.01 | 26.19 | 30.77 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- forms_agile_webstats
- forms_agile_webrules
- widget_recent-posts
- db_upgraded
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)
Smoke test failed, please fix the following
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/index.php+900
Undefined index: domain
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/index.php+959
Undefined index: save
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/index.php+1043
Undefined variable: errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/index.php+121
Undefined variable: deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/index.php+121
Undefined variable: autoload
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/index.php+124
Undefined index: status
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_dashboard
- > Notice in wp-content/plugins/agile-crm-forms/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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/agile-crm-forms/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_forms_email
- > Console-api (severe) in wp-content/plugins/agile-crm-forms/js/pubnub-3.4.min.js+6:274
Missing Channel
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #5, #6, #7, #8, #9 in agile-crm-forms/assets to your readme.txt
- Tags: There are too many tags (14 tag instead of maximum 10)
agile-crm-forms/index.php 85% from 13 tests
Analyzing the main PHP file in "Agile CRM Forms" version 1.0
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("agile-crm-forms.php" instead of "index.php")
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
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
No cyclomatic complexity issues were detected for this plugin
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.97MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.43KB | 0.60KB | 0.00% |
images/web-stats.png | 38.69KB | 41.06KB | 0.00% |
images/webrules.png | 105.82KB | 27.82KB | ▼ 73.71% |
images/preview.png | 0.84KB | 0.59KB | ▼ 29.84% |
images/agilecrm-cloud-png.png | 39.22KB | 19.68KB | ▼ 49.83% |