Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼0.82ms] Passed 4 tests
This is a short check of server-side resources used by Check & Log Email
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 43.68 ▲2.08 |
Dashboard /wp-admin | 3.83 ▲0.48 | 51.06 ▼7.27 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 51.43 ▲7.57 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 86.19 ▼3.41 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 39.45 ▲5.33 |
Status /wp-admin/admin.php?page=check-email-status | 3.71 | 33.73 |
Settings /wp-admin/admin.php?page=check-email-settings | 3.66 | 36.87 |
Server storage [IO: ▲0.16MB] [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: 39 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_check_email_log |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
check-email-rate-time |
widget_recent-posts |
widget_theysaidso_widget |
check_email-log-db |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Check & Log Email
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲77 | 13.20 ▼1.07 | 1.75 ▲0.07 | 47.11 ▲5.37 |
Dashboard /wp-admin | 2,241 ▲61 | 4.99 ▼0.65 | 85.72 ▲1.03 | 40.22 ▼4.07 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.46 ▲0.44 | 45.52 ▲8.52 | 32.06 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,573 ▲45 | 23.35 ▲0.19 | 638.36 ▼2.81 | 56.57 ▼2.00 |
Media Library /wp-admin/upload.php | 1,459 ▲65 | 4.62 ▲0.45 | 97.37 ▲0.21 | 41.28 ▼0.74 |
Status /wp-admin/admin.php?page=check-email-status | 1,010 | 2.20 | 29.70 | 33.81 |
Settings /wp-admin/admin.php?page=check-email-settings | 1,012 | 2.24 | 32.37 | 40.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_check_email_log
- Zombie WordPress options detected upon uninstall: 8 options
- check_email-log-db
- widget_theysaidso_widget
- check-email-rate-time
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/check-email/include/install.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-email/include/Core/UI/list_table/Check_Email_Log_List_Table.php on line 6
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/check-email/include/Core/UI/list_table/Check_Email_Log_List_Table.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'CheckEmail\\Core\\UI\\Page\\Check_Email_BasePage' not found in wp-content/plugins/check-email/include/Core/UI/Page/Check_Email_Log_List_Page.php:9
- > PHP Warning
require_once(ABSPATHWPINC/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/check-email/include/Core/UI/list_table/Check_Email_Log_List_Table.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-email/include/Core/UI/list_table/Check_Email_Log_List_Table.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/check-email/include/Core/UI/Page/partials/check-email-admin-status-display.php:29
- > PHP Notice
Undefined variable: from_email in wp-content/plugins/check-email/include/Core/UI/Page/partials/check-email-admin-status-display.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'CheckEmail\\Core\\Loadie' not found in wp-content/plugins/check-email/include/Core/Request/Check_Email_Log_List_Action.php:9
- > PHP Fatal error
Uncaught Error: Interface 'CheckEmail\\Core\\Loadie' not found in wp-content/plugins/check-email/include/Core/Check_Email_Logger.php:6
- > PHP Warning
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 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
7 plugin tags: pop, check, smtp, test, email...
check-email/check-email.php Passed 13 tests
The main file in "Check & Log Email" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
117 characters long description:
Check & Log email allows you to test if your WordPress installation is sending emails correctly and logs every email.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,864 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 730 | 299 | 2,417 |
PO File | 1 | 94 | 114 | 236 |
JavaScript | 3 | 19 | 9 | 124 |
CSS | 3 | 18 | 5 | 87 |
PHP code Passed 2 tests
Analyzing 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.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 2 | 8.33% |
▷ Concrete classes | 22 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 4 | 2.56% |
▷ Public methods | 120 | 76.92% |
▷ Protected methods | 25 | 16.03% |
▷ Private methods | 11 | 7.05% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected