Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.11ms] Passed 4 tests
This is a short check of server-side resources used by KongLeads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.69 ▲0.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.25 ▼2.47 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.29 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.84 ▼5.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.23 ▲1.72 |
KongLeads /wp-admin/options-general.php?page=wpkongleads | 3.21 | 30.87 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by KongLeads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 14.44 ▲0.14 | 2.12 ▲0.31 | 43.60 ▼1.11 |
Dashboard /wp-admin | 2,206 ▲14 | 5.81 ▲0.90 | 95.81 ▼19.95 | 39.05 ▲0.12 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.01 ▼0.01 | 34.67 ▼1.57 | 32.79 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,352 ▼167 | 16.39 ▼6.96 | 549.35 ▼151.53 | 28.95 ▼31.23 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.13 ▼0.07 | 103.21 ▼0.01 | 38.80 ▼4.77 |
KongLeads /wp-admin/options-general.php?page=wpkongleads | 900 | 2.04 | 26.40 | 33.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: leads, emailing, marketing, marketin g france, automation...
wp-kongleads/wpkongleads.php 69% from 13 tests
Analyzing the main PHP file in "KongLeads" version 2.1.1
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-kongleads.php" instead of "wpkongleads.php")
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "4.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected442 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 80 | 173 | 442 |
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.37 |
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 | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 files were detected