WordPress plugin WP TMail Lite scored84%from 54 tests.

About plugin

  • Plugin page: wp-tmail-lite-mul...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.5
  • WordPress version: 6.3.1
  • First release: Oct 7, 2019
  • Latest release: Aug 15, 2020
  • Number of updates: 13
  • Update frequency: every 24.9 days
  • Top authors: harshitpeer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /776 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0436.02 ▼1.05
Dashboard /wp-admin3.35 ▲0.0448.92 ▼3.68
Posts /wp-admin/edit.php3.40 ▲0.0443.47 ▼10.49
Add New Post /wp-admin/post-new.php5.93 ▲0.0483.53 ▼12.75
Media Library /wp-admin/upload.php3.27 ▲0.0437.41 ▲4.90
WP TMail Lite /wp-admin/options-general.php?page=wp-tmail-lite-option3.2432.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,907 ▲14613.94 ▼0.4210.70 ▲9.2147.70 ▲5.49
Dashboard /wp-admin2,196 ▲155.57 ▼0.0987.75 ▼15.3842.16 ▲2.16
Posts /wp-admin/edit.php2,104 ▲42.03 ▲0.0234.17 ▼2.6234.33 ▲1.81
Add New Post /wp-admin/post-new.php1,530 ▲423.15 ▼0.32614.79 ▼0.9751.64 ▲0.60
Media Library /wp-admin/upload.php1,404 ▲74.20 ▲0.02100.04 ▼14.8245.95 ▲2.17
WP TMail Lite /wp-admin/options-general.php?page=wp-tmail-lite-option8681.9924.4556.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP92125921,212
SVG100288
Markdown19027
CSS1051
JavaScript1051

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 code0.55
Average class complexity36.71
▷ Minimum class complexity1.00
▷ Maximum class complexity228.00
Average method complexity3.81
▷ Minimum method complexity1.00
▷ Maximum method complexity62.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods89
▷ Static methods00.00%
▷ Public methods8393.26%
▷ Protected methods66.74%
▷ Private methods00.00%
Functions6
▷ Named functions583.33%
▷ Anonymous functions116.67%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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