Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼4.02ms] Passed 4 tests
A check of server-side resources used by Kloudymail Lead Generation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 41.37 ▲1.04 |
Dashboard /wp-admin | 3.77 ▲0.47 | 47.67 ▲0.59 |
Posts /wp-admin/edit.php | 3.82 ▲0.47 | 47.47 ▼0.84 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 81.73 ▼16.85 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 37.69 ▲3.62 |
Export /wp-admin/admin.php?page=km_export | 3.60 | 34.79 |
Settings /wp-admin/admin.php?page=km_menu | 3.60 | 31.48 |
Widget /wp-admin/admin.php?page=km_widget | 3.60 | 35.24 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_kloudymail_shortcode_widgets |
wp_kloudymail_subscribers |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
kmlg_db_version |
widget_recent-posts |
widget_recent-comments |
widget_kloudymail |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kloudymail Lead Generation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲243 | 14.51 ▼0.27 | 16.27 ▲14.25 | 39.53 ▼10.30 |
Dashboard /wp-admin | 2,273 ▲82 | 4.85 ▼1.06 | 100.85 ▼8.76 | 36.99 ▼7.56 |
Posts /wp-admin/edit.php | 2,154 ▲68 | 2.01 ▼0.01 | 36.84 ▲0.98 | 33.42 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 23.56 ▲0.45 | 662.81 ▲24.08 | 71.52 ▲8.12 |
Media Library /wp-admin/upload.php | 1,452 ▲64 | 4.23 ▲0.03 | 98.05 ▲1.16 | 41.49 ▼3.43 |
Export /wp-admin/admin.php?page=km_export | 812 | 2.04 | 24.72 | 23.18 |
Settings /wp-admin/admin.php?page=km_menu | 908 | 1.85 | 26.21 | 28.12 |
Widget /wp-admin/admin.php?page=km_widget | 898 | 2.03 | 25.07 | 26.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- kmlg_db_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kloudymail-lead-generation/admin/menu.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/kloudymail-lead-generation/admin/form.php:10
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/kloudymail-lead-generation/kloudymail.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kloudymail-lead-generation/admin/ajax.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_widget' not found in wp-content/plugins/kloudymail-lead-generation/widgets.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kloudymail-lead-generation/public/ajax.php:2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/kloudymail-lead-generation/kloudymail.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'WP_widget' not found in wp-content/plugins/kloudymail-lead-generation/widgets.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=km_widget
- > Network (severe)
wp-content/plugins/kloudymail-lead-generation/admin/km_style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #2 (Admin menu;)
kloudymail-lead-generation/kloudymail.php 85% from 13 tests
The main file in "Kloudymail Lead Generation" v. 1.0 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: Please rename the main PHP file in this plugin to the plugin slug ("kloudymail-lead-generation.php" instead of "kloudymail.php")
- 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
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,735 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 328 | 614 | 1,913 |
HTML | 2 | 0 | 0 | 508 |
JavaScript | 1 | 24 | 1 | 220 |
CSS | 2 | 7 | 3 | 94 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 86 | 80.37% |
▷ Protected methods | 21 | 19.63% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin