84% howdy-against-humanity

Code Review | Howdy Against Humanity

WordPress plugin Howdy Against Humanity scored84%from 54 tests.

About plugin

  • Plugin page: howdy-against-hum...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8.1
  • WordPress version: 6.3.1
  • First release: Feb 1, 2014
  • Latest release: Feb 1, 2014
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: studionashvegas (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,095 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.07MB] [CPU: ▼7.89ms] Passed 4 tests

An overview of server-side resources used by Howdy Against Humanity
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.38 ▼0.0824.01 ▼21.36
Dashboard /wp-admin3.11 ▼0.1932.57 ▼14.72
Posts /wp-admin/edit.php3.36 ▲0.0048.73 ▲1.10
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.58 ▲3.42
Media Library /wp-admin/upload.php3.23 ▲0.0036.89 ▲4.82

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Howdy Against Humanity
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲5014.86 ▲0.561.77 ▼0.0941.37 ▼1.30
Dashboard /wp-admin2,204 ▲195.91 ▲1.02108.20 ▼7.2942.56 ▼0.90
Posts /wp-admin/edit.php2,090 ▲12.05 ▲0.0440.70 ▲6.3136.52 ▼1.51
Add New Post /wp-admin/post-new.php1,533 ▲1423.24 ▼0.07682.66 ▼13.1354.59 ▼3.25
Media Library /wp-admin/upload.php1,386 ▲44.21 ▲0.0095.56 ▼4.2042.72 ▲0.83

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/howdy-against-humanity/howdy-against-humanity.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: spoof, remove howdy, howdy, humor, fun

howdy-against-humanity/howdy-against-humanity.php Passed 13 tests

"Howdy Against Humanity" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
Fun, sometimes irreverent, greetings for your WordPress Dashboard. 'Howdy' no more!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin71 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP161248
Markdown122023

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.18
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%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin