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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.76MB] [CPU: ▼171.84ms] Passed 4 tests
Server-side resources used by Email Log
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▲0.58 | 36.39 ▲2.10 |
Dashboard /wp-admin | 3.93 ▲0.88 | 44.09 ▼4.82 |
Posts /wp-admin/edit.php | 3.98 ▲0.88 | 50.28 ▲6.90 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.79 | 101.35 ▼676.85 |
Media Library /wp-admin/upload.php | 3.81 ▲0.80 | 31.65 ▼7.79 |
Settings /wp-admin/admin.php?page=email-log-settings | 3.79 | 37.13 |
System Info /wp-admin/admin.php?page=email-log-system-info | 3.80 | 47.43 |
View Logs /wp-admin/admin.php?page=email-log | 3.84 | 38.21 |
Add-ons /wp-admin/admin.php?page=email-log-addons | 3.79 | 36.04 |
Server storage [IO: ▲0.33MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 71 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_email_log |
New WordPress options |
---|
email-log-db |
Browser metrics Passed 4 tests
Email Log: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲217 | 15.91 ▼0.04 | 10.73 ▲1.19 | 47.12 ▲1.63 |
Dashboard /wp-admin | 3,107 ▲176 | 6.09 ▼0.06 | 134.45 ▼5.77 | 117.53 ▲2.79 |
Posts /wp-admin/edit.php | 2,785 ▲46 | 2.70 ▲0.01 | 65.22 ▲1.28 | 90.32 ▲6.37 |
Add New Post /wp-admin/post-new.php | 1,528 ▼144 | 18.89 ▼0.03 | 374.11 ▲1.69 | 112.88 ▲2.54 |
Media Library /wp-admin/upload.php | 1,853 ▲46 | 5.02 ▲0.01 | 154.72 ▲7.62 | 126.01 ▲1.53 |
Settings /wp-admin/admin.php?page=email-log-settings | 1,339 | 2.33 | 55.53 | 92.77 |
System Info /wp-admin/admin.php?page=email-log-system-info | 1,169 | 2.46 | 62.47 | 88.03 |
View Logs /wp-admin/admin.php?page=email-log | 1,535 | 2.85 | 65.71 | 67.95 |
Add-ons /wp-admin/admin.php?page=email-log-addons | 1,550 | 2.18 | 55.49 | 88.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_email_log
- Zombie WordPress options were found after uninstall: 1 option
- email-log-db
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/email-log/include/Core/UI/ListTable/LogListTable.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/email-log/include/class-email-log-list-table.php:10
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/email-log/include/Core/UI/ListTable/LogListTable.php on line 7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/email-log/include/Core/UI/ListTable/LogListTable.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'EmailLog\\Core\\Loadie' not found in wp-content/plugins/email-log/include/Addon/DependencyEnforcer.php:10
- > PHP Fatal error
Uncaught Error: Interface 'EmailLog\\Core\\Loadie' not found in wp-content/plugins/email-log/include/Core/EmailLogger.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/email-log/include/Core/UI/ListTable/LogListTable.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'EmailLog\\Core\\UI\\Page\\BasePage' not found in wp-content/plugins/email-log/include/Core/UI/Page/LogListPage.php:11
- > PHP Fatal error
Uncaught Error: Interface 'EmailLog\\Core\\Loadie' not found in wp-content/plugins/email-log/include/Core/Request/LogListAction.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% 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
5 plugin tags: log email, resend email, multisite, email, log
email-log/email-log.php 85% from 13 tests
This is the main PHP file of "Email Log" version 2.4.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin4,760 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 1,284 | 3,075 | 4,032 |
PO File | 3 | 166 | 255 | 399 |
Markdown | 4 | 39 | 0 | 115 |
CSS | 3 | 24 | 5 | 99 |
JavaScript | 4 | 17 | 10 | 77 |
JSON | 2 | 0 | 0 | 38 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 4 | 9.52% |
▷ Concrete classes | 38 | 90.48% |
▷ Final classes | 1 | 2.63% |
Methods | 298 | |
▷ Static methods | 10 | 3.36% |
▷ Public methods | 213 | 71.48% |
▷ Protected methods | 73 | 24.50% |
▷ Private methods | 12 | 4.03% |
Functions | 26 | |
▷ Named functions | 24 | 92.31% |
▷ Anonymous functions | 2 | 7.69% |
Constants | 18 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 18 | 100.00% |
▷ Public constants | 18 | 100.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