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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.99ms] Passed 4 tests
An overview of server-side resources used by WP TMail Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 36.02 ▼1.05 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.92 ▼3.68 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.47 ▼10.49 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.53 ▼12.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.41 ▲4.90 |
WP TMail Lite /wp-admin/options-general.php?page=wp-tmail-lite-option | 3.24 | 32.50 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP TMail Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.94 ▼0.42 | 10.70 ▲9.21 | 47.70 ▲5.49 |
Dashboard /wp-admin | 2,196 ▲15 | 5.57 ▼0.09 | 87.75 ▼15.38 | 42.16 ▲2.16 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 34.17 ▼2.62 | 34.33 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.15 ▼0.32 | 614.79 ▼0.97 | 51.64 ▲0.60 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▲0.02 | 100.04 ▼14.82 | 45.95 ▲2.17 |
WP TMail Lite /wp-admin/options-general.php?page=wp-tmail-lite-option | 868 | 1.99 | 24.45 | 56.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-tmail-lite-multi-domain-temporary-email-system/wp-tmail-lite.php:17
- > PHP Fatal error
Uncaught Error: Class 'PhpImap\\IncomingMailHeader' not found in wp-content/plugins/wp-tmail-lite-multi-domain-temporary-email-system/inc/PhpImap/IncomingMail.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: disposable email, 10minmail, temporary email
wp-tmail-lite-multi-domain-temporary-email-system/wp-tmail-lite.php 85% from 13 tests
The main file in "WP TMail Lite" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 252 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-tmail-lite-multi-domain-temporary-email-system.php" instead of "wp-tmail-lite.php")
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
There were no executable files found in this plugin1,529 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 212 | 592 | 1,212 |
SVG | 1 | 0 | 0 | 288 |
Markdown | 1 | 9 | 0 | 27 |
CSS | 1 | 0 | 5 | 1 |
JavaScript | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 36.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 228.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 83 | 93.26% |
▷ Protected methods | 6 | 6.74% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected