Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.71ms] Passed 4 tests
Server-side resources used by Website Visitor Converter by Lead Liaison
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 39.45 ▼4.13 |
Dashboard /wp-admin | 3.60 ▲0.29 | 50.21 ▼3.60 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 53.48 ▲2.98 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 91.54 ▼9.36 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 39.18 ▲2.24 |
Settings /wp-admin/edit.php?post_type=wvc-forms&page=wvc-settings | 3.49 | 36.41 |
Submissions /wp-admin/edit.php?post_type=wvc-forms&page=wvc-submissions | 3.49 | 34.17 |
Codes /wp-admin/edit.php?post_type=wvc-forms&page=wvc-codes | 3.50 | 35.26 |
Add New WVC Form /wp-admin/post-new.php?post_type=wvc-forms | 3.56 | 46.34 |
WVC Forms /wp-admin/edit.php?post_type=wvc-forms | 3.56 | 38.68 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_wvc_codes |
wp_wvc_emails |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Website Visitor Converter by Lead Liaison: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲256 | 13.84 ▼0.55 | 6.17 ▲4.07 | 72.98 ▲23.93 |
Dashboard /wp-admin | 2,280 ▲95 | 5.28 ▼0.60 | 114.86 ▲9.60 | 39.30 ▼8.91 |
Posts /wp-admin/edit.php | 2,165 ▲76 | 2.37 ▲0.35 | 43.47 ▲4.51 | 34.89 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,571 ▲38 | 23.30 ▲0.07 | 628.82 ▼17.59 | 34.54 ▼18.58 |
Media Library /wp-admin/upload.php | 1,462 ▲74 | 4.51 ▲0.34 | 100.22 ▲2.49 | 41.88 ▲1.93 |
Settings /wp-admin/edit.php?post_type=wvc-forms&page=wvc-settings | 903 | 2.09 | 30.92 | 27.09 |
Submissions /wp-admin/edit.php?post_type=wvc-forms&page=wvc-submissions | 859 | 2.20 | 28.04 | 26.78 |
Codes /wp-admin/edit.php?post_type=wvc-forms&page=wvc-codes | 1,051 | 2.07 | 29.51 | 29.26 |
Add New WVC Form /wp-admin/post-new.php?post_type=wvc-forms | 2,491 | 3.77 | 102.85 | 82.49 |
WVC Forms /wp-admin/edit.php?post_type=wvc-forms | 1,154 | 2.31 | 36.86 | 34.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_wvc_emails
- wp_wvc_codes
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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 50% 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
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/codes-list.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/post-type.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/views/form-type-2.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/views/form-type-3.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/plugin-activation.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/settings.php:152
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/submissions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/views/form-type-6.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/views/form-type-5.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/website-visitor-converter-by-lead-liaison/include/helper-functions.php:19
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
There were no plugin tags found
website-visitor-converter-by-lead-liaison/index.php 92% from 13 tests
The main file in "Website Visitor Converter by Lead Liaison" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("website-visitor-converter-by-lead-liaison.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,444 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 267 | 59 | 1,474 |
CSS | 4 | 53 | 54 | 628 |
JavaScript | 3 | 76 | 13 | 342 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
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