Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼290.23ms] Passed 4 tests
Server-side resources used by Agile CRM Campaigns
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.22 | 24.21 ▲1.50 |
Dashboard /wp-admin | 3.13 ▲0.08 | 28.71 ▼10.11 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 32.32 ▼9.65 |
Add New Post /wp-admin/post-new.php | 5.20 ▼0.22 | 71.23 ▼1,132.42 |
Media Library /wp-admin/upload.php | 3.16 ▲0.15 | 28.22 ▼8.74 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_campaigns_refer | 3.20 | 30.84 |
Settings /wp-admin/admin.php?page=agilecrm_campaigns_settings | 3.18 | 28.10 |
Web Stats /wp-admin/admin.php?page=agilecrm_campaigns_webstats | 3.18 | 30.46 |
Form Builder /wp-admin/admin.php?page=agilecrm_campaigns_formbuilder | 3.18 | 27.58 |
Web Rules /wp-admin/admin.php?page=agilecrm_campaigns_webrules | 3.18 | 30.26 |
Home /wp-admin/admin.php?page=agilecrm_campaigns_dashboard | 3.18 | 23.75 |
Landing Pages /wp-admin/admin.php?page=agilecrm_campaigns_landing | 3.18 | 25.37 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_campaigns_email | 3.18 | 31.36 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 2 new options
New WordPress options |
---|
campaigns_agile_webrules |
campaigns_agile_webstats |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Agile CRM Campaigns
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,881 ▲275 | 16.59 ▲0.98 | 22.20 ▲14.03 | 46.16 ▲2.43 |
Dashboard /wp-admin | 2,991 ▲141 | 6.20 ▲0.34 | 133.69 ▼0.82 | 135.28 ▲27.86 |
Posts /wp-admin/edit.php | 2,760 ▲57 | 2.60 ▼0.09 | 64.28 ▲2.55 | 89.51 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,634 ▼223 | 21.70 ▲2.57 | 276.02 ▼112.79 | 107.92 ▼2.16 |
Media Library /wp-admin/upload.php | 1,781 ▲9 | 5.02 ▲0.03 | 126.84 ▼33.25 | 125.68 ▲9.78 |
Refer a Friend /wp-admin/admin.php?page=agilecrm_campaigns_refer | 1,209 | 2.36 | 57.48 | 87.49 |
Settings /wp-admin/admin.php?page=agilecrm_campaigns_settings | 1,204 | 2.33 | 54.88 | 72.45 |
Web Stats /wp-admin/admin.php?page=agilecrm_campaigns_webstats | 1,204 | 2.34 | 55.84 | 77.10 |
Form Builder /wp-admin/admin.php?page=agilecrm_campaigns_formbuilder | 1,222 | 2.34 | 62.50 | 70.84 |
Web Rules /wp-admin/admin.php?page=agilecrm_campaigns_webrules | 1,225 | 2.36 | 59.71 | 74.35 |
Home /wp-admin/admin.php?page=agilecrm_campaigns_dashboard | 1,219 | 2.33 | 53.35 | 76.64 |
Landing Pages /wp-admin/admin.php?page=agilecrm_campaigns_landing | 1,225 | 2.33 | 58.44 | 65.37 |
Email Campaigns /wp-admin/admin.php?page=agilecrm_campaigns_email | 1,210 | 2.35 | 58.10 | 70.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 2 options in the database
- campaigns_agile_webrules
- campaigns_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_campaigns_email
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+900
Undefined index: domain
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_email
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+959
Undefined index: save
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_email
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+1043
Undefined variable: errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_dashboard
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+121
Undefined variable: deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_dashboard
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+121
Undefined variable: autoload
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_dashboard
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+124
Undefined index: status
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_dashboard
- > Notice in wp-content/plugins/agile-crm-campaigns/index.php+128
Undefined index: restatus
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/agile-crm-campaigns/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=agilecrm_campaigns_email
- > Network (severe)
wp-content/plugins/agilecrm-campaigns/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_campaigns_email
- > Console-api (severe) in wp-content/plugins/agile-crm-campaigns/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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #5, #6, #7, #8, #9 in agile-crm-campaigns/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
agile-crm-campaigns/index.php 85% from 13 tests
"Agile CRM Campaigns" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 183 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("agile-crm-campaigns.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
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
Cyclomatic complexity and code structure are the fingerprint of this plugin
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 0% from 1 test
Image compression 0% from 1 test
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.97MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/preview.png | 0.84KB | 0.59KB | ▼ 29.84% |
images/frombuilder.png | 103.04KB | 29.05KB | ▼ 71.81% |
images/webrules.png | 105.82KB | 27.82KB | ▼ 73.71% |
images/web-stats.png | 38.69KB | 41.06KB | 0.00% |
images/agilecrm-cloud-png.png | 39.22KB | 19.68KB | ▼ 49.83% |