84% re-welcome

Code Review | Re-Welcome

WordPress plugin Re-Welcome scored 84% from 54 tests.

About plugin

  • Plugin page: re-welcome
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-4.4.3
  • WordPress version: 6.3.1
  • First release: Jul 9, 2015
  • Latest release: May 22, 2017
  • Number of updates: 24
  • Update frequency: every 30.1 days
  • Top authors: andrewklimek (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active / 2,921 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

An overview of server-side resources used by Re-Welcome
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.69 ▼2.67
Dashboard /wp-admin3.31 ▲0.0144.41 ▼6.49
Posts /wp-admin/edit.php3.36 ▲0.0145.96 ▼2.36
Add New Post /wp-admin/post-new.php5.89 ▲0.0193.90 ▼0.65
Media Library /wp-admin/upload.php3.24 ▲0.0134.37 ▼1.34

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Re-Welcome
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.60 ▼1.161.65 ▼0.3741.20 ▼6.26
Dashboard /wp-admin2,209 ▲186.07 ▲0.18109.79 ▲8.1936.85 ▼7.78
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0139.62 ▲0.1934.20 ▲1.37
Add New Post /wp-admin/post-new.php1,544 ▲1118.26 ▼4.87592.71 ▼5.9464.84 ▲16.92
Media Library /wp-admin/upload.php1,388 ▼34.18 ▼0.0499.55 ▼3.4245.22 ▲2.69

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/re-welcome/re-welcome.php:45

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

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
3 plugin tags: email, welcome, resend

re-welcome/re-welcome.php Passed 13 tests

Analyzing the main PHP file in "Re-Welcome" version 1.0
41 characters long description:
Re-Send welcome email from the Users list

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin24 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1102124

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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 images were found in this plugin