83% howdy-to-welcome

Code Review | Name : Howdy To Welcome

WordPress plugin Name : Howdy To Welcomescored83%from 54 tests.

About plugin

  • Plugin page: howdy-to-welcome
  • Plugin version: 2.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Oct 2, 2015
  • Latest release: Nov 21, 2019
  • Number of updates: 9
  • Update frequency: every 167.1 days
  • Top authors: finggu (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /394 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼5.03ms] Passed 4 tests

This is a short check of server-side resources used by Name : Howdy To Welcome
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.41 ▼6.08
Dashboard /wp-admin3.31 ▼0.0351.09 ▼9.10
Posts /wp-admin/edit.php3.37 ▲0.0148.48 ▲2.34
Add New Post /wp-admin/post-new.php5.90 ▲0.0196.33 ▼7.28
Media Library /wp-admin/upload.php3.24 ▲0.0137.71 ▲3.71

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Name : Howdy To Welcome
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6814.62 ▲0.392.05 ▲0.4237.80 ▼2.62
Dashboard /wp-admin2,195 ▲155.52 ▼0.1381.86 ▼7.2037.69 ▼1.79
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0133.77 ▼2.5634.48 ▲0.00
Add New Post /wp-admin/post-new.php1,526 ▼923.33 ▲5.10662.97 ▲55.5852.03 ▼7.79
Media Library /wp-admin/upload.php1,403 ▲64.23 ▲0.0496.59 ▼5.8243.78 ▼0.81

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/howdy-to-welcome/sudarshan_change_howdy.php:17

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

readme.txt 88% from 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
Attributes that require attention:
  • Plugin Name: Please specify the plugin name on the first line ( === Name : Howdy To Welcome=== )
  • Screenshots: Please add an image for screenshot #1 (You can check how it look after you active your plugin to screenshot-1.(png).)
The official readme.txt is a good inspiration

howdy-to-welcome/sudarshan_change_howdy.php 92% from 13 tests

The principal PHP file in "Name : Howdy To Welcome" v. 2.1 is loaded by WordPress automatically on each request
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("howdy-to-welcome.php" instead of "sudarshan_change_howdy.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin58 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP117958

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.18MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/banner-1544x500.png147.42KB63.94KB▼ 56.63%
assets/banner-772x250.png39.71KB15.92KB▼ 59.90%