Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.26ms] 75% from 4 tests
A check of server-side resources used by Kv Compose Email From Dashboard
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 899.00ms on /wp-admin/admin.php?page=kvcodes)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 44.81 ▲7.75 |
Dashboard /wp-admin | 3.40 ▲0.05 | 51.25 ▼11.87 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.29 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.95 ▼17.52 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.07 ▲3.59 |
e-Mail Settings /wp-admin/admin.php?page=kv_email_settings | 3.28 | 34.80 |
Kvcodes /wp-admin/admin.php?page=kvcodes | 3.38 | 899.00 |
e-Mail /wp-admin/admin.php?page=kv_email | 3.29 | 31.58 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_kvcodes_email |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Kv Compose Email From Dashboard: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.20 ▼0.08 | 1.64 ▲0.09 | 43.63 ▲2.14 |
Dashboard /wp-admin | 2,226 ▲45 | 5.51 ▼0.19 | 87.78 ▼8.10 | 80.92 ▲41.34 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.97 ▼0.02 | 33.43 ▼1.65 | 34.73 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,559 ▲30 | 18.29 ▼4.78 | 653.85 ▲21.09 | 60.08 ▲9.07 |
Media Library /wp-admin/upload.php | 1,425 ▲31 | 4.18 ▲0.01 | 95.26 ▼3.18 | 69.21 ▲29.30 |
e-Mail Settings /wp-admin/admin.php?page=kv_email_settings | 885 | 2.00 | 23.09 | 26.79 |
Kvcodes /wp-admin/admin.php?page=kvcodes | 1,025 | 3.71 | 55.00 | 58.51 |
e-Mail /wp-admin/admin.php?page=kv_email | 998 | 2.00 | 25.24 | 26.84 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_kvcodes_email
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/kv-send-email-from-admin/admin-class.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/kv-send-email-from-admin/admin-class.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/kv-send-email-from-admin/admin-class.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/kv-send-email-from-admin/admin-class.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/kv-send-email-from-admin/admin-class.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/kv-send-email-from-admin/admin-class.php on line 4
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=kvcodes
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=kvcodes
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Email Interface.), #2 (My plugins page.)
kv-send-email-from-admin/kv_compose_email from dashboard.php 92% from 13 tests
The principal PHP file in "Kv Compose Email From Dashboard" v. 1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kv-send-email-from-admin.php" instead of "kv_compose_email from dashboard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected506 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 94 | 14 | 450 |
CSS | 1 | 2 | 0 | 56 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 83.09KB | 33.89KB | ▼ 59.22% |
images/kv_logo.png | 1.19KB | 0.56KB | ▼ 53.03% |
screenshot-1.png | 22.75KB | 11.64KB | ▼ 48.83% |