78% replace-howdy-with-hello

Code Review | Remove Howdy

WordPress plugin Remove Howdy scored78%from 54 tests.

About plugin

  • Plugin page: replace-howdy-wit...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.3.1
  • WordPress version: 6.3.1
  • First release: May 29, 2015
  • Latest release: Oct 18, 2015
  • Number of updates: 12
  • Update frequency: every 11.8 days
  • Top authors: swadeshswain (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active /5,599 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

Analyzing server-side resources used by Remove Howdy
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.90 ▼5.54
Dashboard /wp-admin3.32 ▲0.0144.58 ▼4.70
Posts /wp-admin/edit.php3.37 ▲0.0146.93 ▼0.86
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.21 ▼5.72
Media Library /wp-admin/upload.php3.24 ▲0.0142.91 ▲9.55

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

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

Browser metrics Passed 4 tests

Remove Howdy: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.23 ▼1.511.65 ▼0.3344.02 ▼0.76
Dashboard /wp-admin2,207 ▲165.78 ▲0.9197.15 ▼22.2538.25 ▼8.05
Posts /wp-admin/edit.php2,093 ▲41.99 ▼0.0236.23 ▲0.8533.22 ▼2.57
Add New Post /wp-admin/post-new.php1,542 ▲923.44 ▲0.13669.25 ▼13.3769.68 ▲14.31
Media Library /wp-admin/upload.php1,392 ▲44.23 ▲0.0595.36 ▼8.6544.44 ▼1.57
Remove Howdy /wp-admin/replace-howdy.php260.440.0918.38

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

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

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/replace-howdy-with-hello/replace-howdy.php:11

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/replace-howdy.php
    • > Network (severe)
    wp-admin/replace-howdy.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: howdy, custom text, replace howdy, customize howdy, change howdy

replace-howdy-with-hello/replace-howdy.php 92% from 13 tests

Analyzing the main PHP file in "Remove Howdy" version 1.2
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("replace-howdy-with-hello.php" instead of "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 plugin63 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP10963

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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 functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin