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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.72ms] Passed 4 tests
A check of server-side resources used by iEnterprise CRM Lead Capture
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.56 ▲0.28 |
Dashboard /wp-admin | 3.39 ▲0.04 | 52.06 ▼10.88 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.06 ▲3.01 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.87 ▼19.28 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.84 ▲3.65 |
iEnterprise CRM /wp-admin/options-general.php?page=ienterprisecrm | 3.28 | 34.61 |
Server storage [IO: ▲1.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ienterprisecrm_endpoint |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
ienterprisecrm_submitbtn |
Browser metrics Passed 4 tests
iEnterprise CRM Lead Capture: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.28 ▼1.10 | 1.82 ▲0.14 | 41.10 ▲2.94 |
Dashboard /wp-admin | 2,225 ▲22 | 5.80 ▲0.89 | 124.65 ▲15.52 | 40.66 ▼6.68 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 38.39 ▲0.20 | 36.44 ▲2.05 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.21 ▲0.05 | 662.59 ▲4.70 | 64.49 ▲12.44 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▼0.01 | 98.98 ▼6.21 | 44.86 ▼0.77 |
iEnterprise CRM /wp-admin/options-general.php?page=ienterprisecrm | 919 | 2.05 | 24.80 | 32.51 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ienterprise-crm/views/custom.php
- > /wp-content/plugins/ienterprise-crm/views/fields.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
2 plugin tags: lead capture, crm
ienterprise-crm/ienterprisecrm-leads.php 92% from 13 tests
The primary PHP file in "iEnterprise CRM Lead Capture" version 1.0.8 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ienterprise-crm.php" instead of "ienterprisecrm-leads.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected3,309 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 9 | 60 | 28 | 502 |
CSS | 3 | 17 | 19 | 96 |
JavaScript | 1 | 10 | 4 | 31 |
XML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected