84% reminder-mail-system

Code Review | Reminder Mail System

WordPress plugin Reminder Mail System scored84%from 54 tests.

About plugin

  • Plugin page: reminder-mail-system
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 15, 2015
  • Latest release: Mar 15, 2015
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: nagaraju6911 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,243 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

Analyzing server-side resources used by Reminder Mail System
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.63 ▼5.88
Dashboard /wp-admin3.32 ▲0.0245.15 ▼4.02
Posts /wp-admin/edit.php3.37 ▲0.0142.58 ▼8.05
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.22 ▼9.83
Media Library /wp-admin/upload.php3.24 ▲0.0135.02 ▼1.82

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

Reminder Mail System: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲5913.60 ▼0.751.67 ▼0.5443.65 ▼6.37
Dashboard /wp-admin2,219 ▲315.85 ▼0.03101.73 ▼15.6239.37 ▼3.26
Posts /wp-admin/edit.php2,108 ▲192.02 ▲0.0235.12 ▼1.5733.22 ▼2.21
Add New Post /wp-admin/post-new.php1,546 ▲1323.14 ▼0.24632.38 ▼47.8753.65 ▼2.01
Media Library /wp-admin/upload.php1,407 ▲194.26 ▲0.0496.17 ▼15.6042.37 ▼1.55

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
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/reminder-mail-system/remindermails.php

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (screenshot-1.png) image missing
You can look at the official readme.txt

reminder-mail-system/remindermails.php 92% from 13 tests

The main PHP script in "Reminder Mail System" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("reminder-mail-system.php" instead of "remindermails.php")

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
Success! There were no dangerous files found in this plugin66 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1162666

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 code0.40
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png53.45KB16.26KB▼ 69.59%