Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/easy-leads-free/easyleads.php+60
Undefined variable: table_three
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.49ms] Passed 4 tests
A check of server-side resources used by Easy Leads Free
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.17 ▲0.73 |
Dashboard /wp-admin | 3.34 ▼0.01 | 41.13 ▼18.42 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.51 ▼1.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 77.91 ▼22.27 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.74 ▲3.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_easyleads_mailtext |
wp_easyleads |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Leads Free
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.28 ▼0.08 | 1.76 ▲0.02 | 41.03 ▼4.72 |
Dashboard /wp-admin | 2,214 ▲37 | 5.67 ▲0.01 | 83.48 ▼3.20 | 38.31 ▼2.73 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▼0.01 | 34.20 ▼3.25 | 33.11 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.97 ▼0.66 | 671.56 ▼30.10 | 65.21 ▲10.67 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.22 ▲0.00 | 97.32 ▲1.02 | 43.45 ▼2.18 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_easyleads_mailtext
- wp_easyleads
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/easy-leads-free/1.0/views/admin_page.php
- > /wp-content/plugins/easy-leads-free/1.0/views/style.php
- > /wp-content/plugins/easy-leads-free/views/style.php
- > /wp-content/plugins/easy-leads-free/views/admin_page.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/easy-leads-free/views/admin_page_table.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/easy-leads-free/1.0/views/admin_page_mail.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-leads-free/easyleads.php:63
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/easy-leads-free/views/admin_page_mail.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/easy-leads-free/1.0/views/admin_page_table.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-leads-free/1.0/easyleads.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: contacts, shortcode, leads, mails, form
easy-leads-free/easyleads.php 85% from 13 tests
This is the main PHP file of "Easy Leads Free" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-leads-free.php" instead of "easyleads.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
There were no executable files found in this plugin335 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 65 | 44 | 335 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 18 | |
▷ Named functions | 18 | 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 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
No PNG images were found in this plugin