84% oldshattergeeks-hide-author

Code Review | OldShatterGeek's Hide Author

WordPress plugin OldShatterGeek's Hide Author scored 84% from 54 tests.

About plugin

  • Plugin page: oldshattergeeks-h...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.9.4
  • WordPress version: 6.3.1
  • First release: Apr 4, 2018
  • Latest release: Apr 4, 2018
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: oldshattergeek (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 581 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
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by OldShatterGeek's Hide Author
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.06 ▼10.99
Dashboard /wp-admin3.31 ▲0.0142.90 ▼6.85
Posts /wp-admin/edit.php3.36 ▲0.0046.80 ▲0.68
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.64 ▼6.97
Media Library /wp-admin/upload.php3.23 ▲0.0036.15 ▲0.61

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

OldShatterGeek's Hide Author: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲5413.22 ▼1.081.85 ▼0.3939.98 ▼3.87
Dashboard /wp-admin2,206 ▲155.88 ▲0.85108.70 ▲1.2140.95 ▼2.13
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0838.34 ▼1.9434.28 ▼1.17
Add New Post /wp-admin/post-new.php1,533 ▲223.18 ▼0.15606.24 ▼77.4356.91 ▼6.69
Media Library /wp-admin/upload.php1,391 ▲34.27 ▲0.0698.41 ▼7.4842.85 ▼1.48

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oldshattergeeks-hide-author/OldShatterGeek's-Hide-Author.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% 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
Attributes that require attention:
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

oldshattergeeks-hide-author/OldShatterGeek's-Hide-Author.php 92% from 13 tests

The main PHP file in "OldShatterGeek's Hide Author" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("oldshattergeeks-hide-author.php" instead of "OldShatterGeek's-Hide-Author.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin10 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14510

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin