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
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.00ms] Passed 4 tests
Server-side resources used by Privyr CRM - Instant Lead Alerts for Contact Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 43.57 ▲2.57 |
Dashboard /wp-admin | 3.59 ▲0.29 | 50.61 ▲1.69 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 51.35 ▲1.45 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 86.35 ▼14.15 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 34.53 ▼1.00 |
Server storage [IO: ▲1.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
privyr_version |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Privyr CRM - Instant Lead Alerts for Contact Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.39 ▼0.23 | 1.94 ▼0.67 | 40.70 ▼2.57 |
Dashboard /wp-admin | 2,211 ▲34 | 5.55 ▲0.01 | 86.55 ▼16.29 | 43.10 ▼0.25 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 1.98 ▼0.05 | 36.19 ▲0.31 | 36.74 ▲3.65 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.00 ▼0.48 | 661.75 ▲23.98 | 66.03 ▲13.89 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.20 ▲0.06 | 104.06 ▼0.98 | 47.88 ▲1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 14× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-elementor-form.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-forminator-form.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-houzez.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-formidable.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-gravity-form.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-fluent-form.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-ninja-form.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-wpcf7.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-wpforms.php
- > /wp-content/plugins/privy-crm-integration/includes/integrations/class-privyr-everest-form.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in privy-crm-integration/assets to your readme.txt
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
privy-crm-integration/privyr-crm-wp-plugin.php 69% from 13 tests
The main PHP script in "Privyr CRM - Instant Lead Alerts for Contact Forms" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("privy-crm-integration.php" instead of "privyr-crm-wp-plugin.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Success! There were no dangerous files found in this plugin1,588 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 243 | 808 | 1,382 |
Markdown | 1 | 81 | 0 | 118 |
CSS | 2 | 19 | 8 | 87 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 18 | 22.22% |
▷ Public methods | 44 | 54.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 37 | 45.68% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 17 | |
▷ Global constants | 2 | 11.76% |
▷ Class constants | 15 | 88.24% |
▷ Public constants | 15 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 1.10MB with 0.54MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/plugins/houzez-logo.png | 8.57KB | 3.69KB | ▼ 57.00% |
admin/images/plugins/cf7-logo.png | 29.11KB | 8.95KB | ▼ 69.24% |
admin/images/plugins/ninja-form-logo.png | 4.62KB | 3.78KB | ▼ 18.04% |
admin/images/onboarding-logo.png | 10.62KB | 10.62KB | 0.00% |
(invalid) admin/images/plugins/elementor-form-logo.png | 4.00KB | 0.00KB | ▼ 100.00% |