10% cj-change-howdy

Code Review | CJ Change Howdy

WordPress plugin CJ Change Howdy scored10%from 54 tests.

About plugin

  • Plugin page: cj-change-howdy
  • Plugin version: 3.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.3.1
  • WordPress version: 6.3.1
  • First release: Feb 17, 2012
  • Latest release: Feb 18, 2012
  • Number of updates: 13
  • Update frequency: every 0.1 days
  • Top authors: shibulijack (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

100+ active /4,048 total downloads


Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/cj-change-howdy/cj-change-howdy.php+43
    Methods with the same name as their class will not be constructors in a future version of PHP; cjPluginSeriesHowdy has a deprecated constructor

Server metrics [RAM: ▼0.96MB] [CPU: ▼39.93ms] Passed 4 tests

This is a short check of server-side resources used by CJ Change Howdy
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.28 ▲0.88
Dashboard /wp-admin3.00 ▼0.3527.28 ▼40.49
Posts /wp-admin/edit.php3.00 ▼0.3625.30 ▼25.47
Add New Post /wp-admin/post-new.php3.00 ▼2.8925.35 ▼76.40
Media Library /wp-admin/upload.php3.00 ▼0.2322.57 ▼17.34

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for CJ Change Howdy
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲5814.48 ▼0.141.98 ▲0.1645.37 ▲1.61
Dashboard /wp-admin2,207 ▲195.83 ▼0.05105.41 ▼12.4345.24 ▼1.09
Posts /wp-admin/edit.php2,093 ▲42.01 ▲0.0335.42 ▼2.5633.15 ▼3.44
Add New Post /wp-admin/post-new.php1,536 ▲2223.07 ▲5.59645.23 ▼21.9856.94 ▲6.19
Media Library /wp-admin/upload.php1,389 ▲14.20 ▲0.03102.90 ▼5.7347.60 ▼0.39
CJ Change Howdy /wp-admin/cj-change-howdy.php260.440.1613.59

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • cjPluginSeriesHowdyAdminOptions
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cj-change-howdy/cj-change-howdy.php:109

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
    • > GET request to /wp-admin/cj-change-howdy.php
    • > Network (severe)
    wp-admin/cj-change-howdy.php - Failed to load resource: the server responded with a status of 404 (Not Found)


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Add an image for screenshot #1 (After installing the plugin.)
You can take inspiration from this readme.txt

cj-change-howdy/cj-change-howdy.php Passed 13 tests

The primary PHP file in "CJ Change Howdy" version 3.3.1 is used by WordPress to initiate all plugin functionality
76 characters long description:
Don't like Howdy? Change it to whatever you want. Wordpress 3.3+ compatible!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin81 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity1.83
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG images were found in this plugin