84% replace-howdy

Code Review | WP Easy Replace Howdy

WordPress plugin WP Easy Replace Howdy scored84%from 54 tests.

About plugin

  • Plugin page: replace-howdy
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Sep 1, 2016
  • Latest release: Sep 12, 2023
  • Number of updates: 12
  • Update frequency: every 213.9 days
  • Top authors: asifalimca.2011 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /1,669 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by WP Easy Replace Howdy
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.17 ▲2.45
Dashboard /wp-admin3.31 ▼0.0347.32 ▼9.72
Posts /wp-admin/edit.php3.36 ▲0.0146.71 ▼7.30
Add New Post /wp-admin/post-new.php5.89 ▲0.0187.85 ▼14.83
Media Library /wp-admin/upload.php3.23 ▲0.0133.36 ▼6.42

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Easy Replace Howdy
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲5013.18 ▼1.051.79 ▲0.1543.20 ▲0.38
Dashboard /wp-admin2,207 ▲165.91 ▲1.02102.41 ▼1.1240.72 ▼3.19
Posts /wp-admin/edit.php2,087 ▼52.01 ▼0.0235.61 ▼5.2933.42 ▼1.93
Add New Post /wp-admin/post-new.php1,540 ▲2623.29 ▲5.75603.73 ▼30.4854.48 ▼3.66
Media Library /wp-admin/upload.php1,386 ▼54.20 ▼0.0297.90 ▲1.0941.82 ▼0.71

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 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 plugins_url() in wp-content/plugins/replace-howdy/wp-easy-replace-howdy.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 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
5 plugin tags: replace howdy from dashboard, remove howdy, howdy, customize dashboard, change howdy

replace-howdy/wp-easy-replace-howdy.php 92% from 13 tests

"WP Easy Replace Howdy" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("replace-howdy.php" instead of "wp-easy-replace-howdy.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin22 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP131022

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin