84% mc-good-bye-howdy

Code Review | MC Good-bye Howdy

WordPress plugin MC Good-bye Howdy scored84%from 54 tests.

About plugin

  • Plugin page: mc-good-bye-howdy
  • Plugin version: 2.6.4
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 22, 2020
  • Latest release: Jun 13, 2022
  • Number of updates: 38
  • Update frequency: every 15.8 days
  • Top authors: Mike Hickcox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,711 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
Install script ran successfully

Server metrics [RAM: ▼0.15MB] [CPU: ▼16.21ms] Passed 4 tests

This is a short check of server-side resources used by MC Good-bye Howdy
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.43 ▼0.0427.18 ▼7.94
Dashboard /wp-admin3.22 ▼0.0832.18 ▼16.21
Posts /wp-admin/edit.php3.29 ▼0.0733.24 ▼14.42
Add New Post /wp-admin/post-new.php5.49 ▼0.4069.14 ▼26.27
Media Library /wp-admin/upload.php3.23 ▼0.0030.01 ▼7.84
MC Good-bye Howdy /wp-admin/options-general.php?page=mc6397ghPlugin3.1932.49

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

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

Browser metrics Passed 4 tests

Checking browser requirements for MC Good-bye Howdy
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲5714.34 ▼0.021.96 ▲0.2943.52 ▲3.85
Dashboard /wp-admin2,199 ▲185.57 ▼0.3083.45 ▼17.2742.45 ▲0.81
Posts /wp-admin/edit.php2,104 ▲42.03 ▼0.0733.91 ▼1.2935.07 ▲0.10
Add New Post /wp-admin/post-new.php1,529 ▲122.99 ▼0.16656.16 ▲0.5450.21 ▼0.70
Media Library /wp-admin/upload.php1,401 ▲44.15 ▼0.0199.22 ▼8.9641.66 ▼3.12
MC Good-bye Howdy /wp-admin/options-general.php?page=mc6397ghPlugin8871.9926.9335.01

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=mc6397ghPlugin
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'mc6397gh_replace' not found or invalid function name

SRP Passed 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
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 just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #5 (Type in your own greetings, if you choose.), #6 (Save changes and you're done.)
You can take inspiration from this readme.txt

mc-good-bye-howdy/mc-good-bye-howdy.php 92% from 13 tests

The primary PHP file in "MC Good-bye Howdy" version 2.6.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 201 characters long)

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
Everything looks great! No dangerous files found in this plugin219 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP25733219

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin