90% mailgo

Code Review | mailgo

WordPress plugin mailgo scored90%from 54 tests.

About plugin

  • Plugin page: mailgo
  • Plugin version: 0.12.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.7
  • WordPress version: 6.3.1
  • First release: May 17, 2019
  • Latest release: Sep 5, 2023
  • Number of updates: 56
  • Update frequency: every 28.1 days
  • Top authors: manzinello (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

500+ active /4,627 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼7.55ms] Passed 4 tests

Server-side resources used by mailgo
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.82 ▲0.31
Dashboard /wp-admin3.31 ▼0.0442.79 ▼14.31
Posts /wp-admin/edit.php3.36 ▲0.0044.67 ▲3.34
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.12 ▼18.23
Media Library /wp-admin/upload.php3.23 ▲0.0035.31 ▲2.02

Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for mailgo
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,875 ▲12913.31 ▼0.954.02 ▲2.4040.69 ▲3.81
Dashboard /wp-admin2,209 ▲175.91 ▲0.9796.01 ▼11.8137.69 ▼6.54
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0333.41 ▼4.6734.14 ▲4.00
Add New Post /wp-admin/post-new.php1,514 ▼1917.58 ▼5.66603.85 ▼80.7658.45 ▼11.03
Media Library /wp-admin/upload.php1,388 ▼34.17 ▼0.0596.94 ▼1.4243.21 ▲0.96

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: telegram, mail, outlook, mailgo, whatsapp...

mailgo/mailgo.php Passed 13 tests

"mailgo" version 0.12.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
37 characters long description:
a new concept of mailto and tel links

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,801 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript44061531,133
CSS444658
PHP141910

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected