83% wp-author-date-and-meta-remover

Code Review | WP Author, Date and Meta Remover

WordPress plugin WP Author, Date and Meta Remover scored83%from 54 tests.

About plugin

  • Plugin page: wp-author-date-an...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.6
  • WordPress version: 6.3.1
  • First release: Jul 13, 2014
  • Latest release: Jan 25, 2021
  • Number of updates: 17
  • Update frequency: every 140.5 days
  • Top authors: Johnnie2u (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

20,000+ active /256,341 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: ▼0.73ms] Passed 4 tests

This is a short check of server-side resources used by WP Author, Date and Meta Remover
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.50 ▲2.17
Dashboard /wp-admin3.31 ▲0.0155.36 ▲4.68
Posts /wp-admin/edit.php3.36 ▲0.0051.31 ▲4.18
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.35 ▼10.01
Media Library /wp-admin/upload.php3.23 ▲0.0038.24 ▲0.72

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for WP Author, Date and Meta Remover
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.32 ▼0.241.49 ▼0.1837.49 ▼7.04
Dashboard /wp-admin2,198 ▲215.59 ▼0.0588.35 ▼8.1038.91 ▲0.10
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0337.26 ▼3.2435.03 ▼2.89
Add New Post /wp-admin/post-new.php1,526 ▼022.94 ▼0.77679.20 ▼17.5660.11 ▲9.50
Media Library /wp-admin/upload.php1,403 ▲64.24 ▲0.0694.84 ▼13.2645.31 ▼2.19

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

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/wp-author-date-and-meta-remover/wp-author-date-and-meta-remover.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Donate link: Please fix this invalid url: ""
  • Plugin Name: Please specify the plugin name on the first line ( === wp-author-date-and-meta-remover === )
The official readme.txt might help

wp-author-date-and-meta-remover/wp-author-date-and-meta-remover.php 92% from 13 tests

"WP Author, Date and Meta Remover" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 149 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected31 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
CSS18724
PHP110237

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin