90% tcbd-remove-meta-version

Code Review | TCBD Remove Meta Version

WordPress plugin TCBD Remove Meta Version scored90%from 54 tests.

About plugin

  • Plugin page: tcbd-remove-meta-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.3
  • WordPress version: 6.3.1
  • First release: Sep 5, 2015
  • Latest release: Sep 5, 2015
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: tcoder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /802 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

Server-side resources used by TCBD Remove Meta Version
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0042.57 ▲2.87
Dashboard /wp-admin3.31 ▲0.0052.41 ▲0.36
Posts /wp-admin/edit.php3.36 ▲0.0054.97 ▲1.92
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.07 ▼12.15
Media Library /wp-admin/upload.php3.23 ▲0.0036.95 ▲2.60

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

TCBD Remove Meta Version: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,787 ▲2614.38 ▼0.011.72 ▼0.1348.23 ▲3.94
Dashboard /wp-admin2,198 ▲215.60 ▲0.0387.82 ▼5.2838.54 ▼1.80
Posts /wp-admin/edit.php2,103 ▼02.01 ▼0.0038.11 ▼2.5633.92 ▼3.07
Add New Post /wp-admin/post-new.php1,545 ▼023.24 ▲0.15677.31 ▲21.6368.97 ▲20.59
Media Library /wp-admin/upload.php1,391 ▼94.21 ▼0.0397.90 ▼6.2841.47 ▼7.43

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

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)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: remove lost password, meta, remove, meta version, tcbd remove wordpress meta version...

tcbd-remove-meta-version/plugin-hook.php 92% from 13 tests

The main PHP script in "TCBD Remove Meta Version" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("tcbd-remove-meta-version.php" instead of "plugin-hook.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17223

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
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%
Functions0
▷ Named functions00.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
No PNG files were detected