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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.23ms] Passed 4 tests
An overview of server-side resources used by DoLeads Integrator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.34 ▲1.50 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.35 ▼7.60 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.93 ▲3.21 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 94.07 ▲3.72 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.93 ▲1.98 |
Edit Mapping /wp-admin/admin.php?page=ledo-integrator-edit-mapping | 3.27 | 30.61 |
Integrated Forms /wp-admin/admin.php?page=ledo-integrator-integrated-forms | 3.28 | 33.02 |
Add New /wp-admin/admin.php?page=ledo-integrator-add-new | 3.24 | 31.57 |
Settings /wp-admin/admin.php?page=ledo-integrator-settings | 3.28 | 32.34 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 27 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_ledo_integrator_forms |
wp_ledo_integrator_field_mapping |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
ledo_integrator_settings_utm_data |
ledo_integrator_company_access_token |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for DoLeads Integrator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲79 | 13.40 ▼1.16 | 2.69 ▲0.81 | 41.41 ▼0.07 |
Dashboard /wp-admin | 2,236 ▲44 | 4.87 ▼0.10 | 110.99 ▲1.82 | 42.32 ▲3.59 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.02 ▲0.00 | 40.92 ▲6.65 | 37.39 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,541 ▲4 | 17.61 ▼5.55 | 678.94 ▼0.17 | 66.31 ▲16.42 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.19 ▼0.18 | 93.48 ▼5.34 | 42.01 ▼4.82 |
Edit Mapping /wp-admin/admin.php?page=ledo-integrator-edit-mapping | 940 | 2.19 | 31.28 | 23.44 |
Integrated Forms /wp-admin/admin.php?page=ledo-integrator-integrated-forms | 810 | 2.18 | 24.22 | 26.46 |
Add New /wp-admin/admin.php?page=ledo-integrator-add-new | 938 | 2.19 | 31.62 | 25.69 |
Settings /wp-admin/admin.php?page=ledo-integrator-settings | 872 | 2.04 | 24.28 | 28.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/doleads-integrator/admin/partials/ledo-integrator-admin-display.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/doleads-integrator/admin/partials/ledo-integrator-admin-display-integrated-forms.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/doleads-integrator/admin/partials/ledo-integrator-admin-display-settings.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/doleads-integrator/admin/partials/ledo-integrator-admin-display-add-new.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== doleads-integrator ===
)
doleads-integrator/ledo-integrator.php 85% from 13 tests
"DoLeads Integrator" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("doleads-integrator.php" instead of "ledo-integrator.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,324 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 287 | 789 | 902 |
JavaScript | 4 | 59 | 118 | 369 |
CSS | 1 | 5 | 4 | 53 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 47 | 87.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.96% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin