Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/crm-lead-management/crm-lead-management.php+18
define(): Declaration of case-insensitive constants is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼54.91ms] Passed 4 tests
Server-side resources used by CRM Lead Management
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.39 ▼35.46 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.20 ▼46.89 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.30 ▼44.05 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.91 ▼93.25 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.18 ▼31.45 |
All Leads /wp-admin/edit.php?post_type=trsleadmgmt_leads | 2.08 | 5.22 |
Settings /wp-admin/edit.php?post_type=trsleadmgmt_leads&page=trsleadmgmt-settings | 2.08 | 7.25 |
Add New /wp-admin/post-new.php?post_type=trsleadmgmt_leads | 2.08 | 6.19 |
Group Mail /wp-admin/edit.php?post_type=trsleadmgmt_leads&page=trsleadmgmt-group-mail | 2.08 | 6.30 |
Groups /wp-admin/edit-tags.php?taxonomy=lead_user_group&post_type=trsleadmgmt_leads | 2.08 | 5.87 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
trsleadmgmt_general_settings |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CRM Lead Management
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.22 ▼1.07 | 1.63 ▲0.02 | 39.37 ▼2.49 |
Dashboard /wp-admin | 2,248 ▲60 | 4.84 ▼1.22 | 99.33 ▼3.60 | 40.63 ▲0.63 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.00 ▼0.03 | 39.44 ▲1.05 | 35.77 ▲1.77 |
Add New Post /wp-admin/post-new.php | 1,573 ▲59 | 23.16 ▲5.63 | 588.59 ▼88.14 | 55.47 ▲5.45 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.23 ▲0.08 | 95.17 ▼8.05 | 45.28 ▲0.64 |
All Leads /wp-admin/edit.php?post_type=trsleadmgmt_leads | 1,194 | 2.32 | 36.25 | 42.66 |
Settings /wp-admin/edit.php?post_type=trsleadmgmt_leads&page=trsleadmgmt-settings | 1,894 | 1.95 | 30.20 | 30.70 |
Add New /wp-admin/post-new.php?post_type=trsleadmgmt_leads | 2,793 | 8.82 | 175.46 | 69.50 |
Group Mail /wp-admin/edit.php?post_type=trsleadmgmt_leads&page=trsleadmgmt-group-mail | 1,645 | 7.11 | 135.31 | 44.03 |
Groups /wp-admin/edit-tags.php?taxonomy=lead_user_group&post_type=trsleadmgmt_leads | 1,298 | 2.13 | 26.45 | 27.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/crm-lead-management/crm-lead-management.php+18
define(): Declaration of case-insensitive constants is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- trsleadmgmt_general_settings
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 66 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=lead_user_group&post_type=trsleadmgmt_leads
- > Deprecated in wp-content/plugins/crm-lead-management/crm-lead-management.php+68
define(): Declaration of case-insensitive constants is deprecated
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function trsleadmgmt_get_lead_data_fields() in wp-content/plugins/crm-lead-management/inc/views/default-setting-page.php:113
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/crm-lead-management/crm-lead-management.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/crm-lead-management/inc/views/default-group-mail-page.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=trsleadmgmt_leads
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=trsleadmgmt_leads 414:60 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
No tags were detected
crm-lead-management/crm-lead-management.php Passed 13 tests
The primary PHP file in "CRM Lead Management" version 1.2.1 is used by WordPress to initiate all plugin functionality
26 characters long description:
CRM Lead Management Plugin
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
There were no executable files found in this plugin2,261 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 170 | 111 | 1,149 |
SVG | 1 | 0 | 0 | 685 |
CSS | 3 | 29 | 10 | 219 |
JavaScript | 5 | 6 | 10 | 208 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 46 | |
▷ Named functions | 46 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin