83% removehide-author-date-category-like-entry-meta

Code Review | Remove/hide Author, Date, Category Like Entry-Meta

WordPress plugin Remove/hide Author, Date, Category Like Entry-Meta scored83%from 54 tests.

About plugin

  • Plugin page: removehide-author...
  • Plugin version: 2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9
  • WordPress version: 6.3.1
  • First release: Dec 31, 2015
  • Latest release: Mar 19, 2018
  • Number of updates: 38
  • Update frequency: every 21.3 days
  • Top authors: mynamevenu24 (100%)

Code review

54 tests

User reviews

19 reviews

Install metrics

5,000+ active /88,809 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Remove/hide Author, Date, Category Like Entry-Meta
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.41 ▼0.0523.29 ▼15.69
Dashboard /wp-admin3.33 ▲0.0347.44 ▼4.35
Posts /wp-admin/edit.php3.38 ▲0.0353.36 ▼2.30
Add New Post /wp-admin/post-new.php5.91 ▲0.0386.29 ▼22.34
Media Library /wp-admin/upload.php3.26 ▲0.0342.78 ▲4.97
Remove Author,date & Entry-Meta /wp-admin/options-general.php?page=remove-a-d-c3.2233.97

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 11 new options
New WordPress options
radc_remove_comment
widget_theysaidso_widget
widget_recent-comments
radc_remove_author
radc_remove_date
radc_remove_edit
db_upgraded
can_compress_scripts
theysaidso_admin_options
radc_remove_category
...

Browser metrics Passed 4 tests

A check of browser resources used by Remove/hide Author, Date, Category Like Entry-Meta
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲8413.18 ▼1.004.45 ▲2.4541.80 ▲3.11
Dashboard /wp-admin2,227 ▲214.80 ▼0.09103.55 ▼2.5539.74 ▼4.28
Posts /wp-admin/edit.php2,106 ▲62.05 ▲0.0639.92 ▼1.7338.44 ▲3.73
Add New Post /wp-admin/post-new.php1,545 ▼023.17 ▼0.12683.08 ▲1.1370.34 ▲4.05
Media Library /wp-admin/upload.php1,406 ▲34.24 ▼0.00103.20 ▼3.3944.25 ▼5.34
Remove Author,date & Entry-Meta /wp-admin/options-general.php?page=remove-a-d-c8692.0225.8634.70

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 11 options in the database
    • widget_theysaidso_widget
    • radc_remove_edit
    • radc_remove_date
    • db_upgraded
    • radc_remove_category
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • radc_remove_comment
    • ...

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
The smoke test was a success, however most plugin functionality was not tested

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/removehide-author-date-category-like-entry-meta/remove-author-date-and-category-metadata.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 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
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (By default checked all means removed all meta), #2 (Removed all meta in front-end), #3 (Check checkboxes what you want to remove or hide (ex: I unchecked Date and Comment so it will be display on front-end)), #4 (I un-checked Date and Comment from back-end so it will be display on front-end)
  • Tags: Please delete some tags, you are using 18 tag instead of maximum 10
You can take inspiration from this readme.txt

removehide-author-date-category-like-entry-meta/remove-author-date-and-category-metadata.php 85% from 13 tests

The principal PHP file in "Remove/hide Author, Date, Category Like Entry-Meta" v. 2.1 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("removehide-author-date-category-like-entry-meta.php" instead of "remove-author-date-and-category-metadata.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 244 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected187 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP14431143
CSS111044

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions9
▷ Named functions9100.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
4 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png32.68KB15.57KB▼ 52.37%
screenshot-4.png13.23KB6.48KB▼ 50.99%
screenshot-3.png32.63KB15.67KB▼ 51.98%
screenshot-2.png8.93KB4.77KB▼ 46.61%