90% remove-version-number

Code Review | Remove Version Number

WordPress plugin Remove Version Number scored90%from 54 tests.

About plugin

  • Plugin page: remove-version-nu...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.0.3
  • WordPress version: 6.3.1
  • First release: Feb 22, 2019
  • Latest release: Feb 22, 2019
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: dvdxgreen (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /652 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.01MB] [CPU: ▼9.22ms] Passed 4 tests

A check of server-side resources used by Remove Version Number
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.17 ▼4.41
Dashboard /wp-admin3.31 ▲0.0150.11 ▼3.44
Posts /wp-admin/edit.php3.36 ▲0.0146.25 ▼8.16
Add New Post /wp-admin/post-new.php5.89 ▲0.0187.41 ▼20.88
Media Library /wp-admin/upload.php3.23 ▲0.0136.32 ▼3.32

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

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

Browser metrics Passed 4 tests

Remove Version Number: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,787 ▲2614.34 ▼0.021.52 ▼0.2538.17 ▼1.92
Dashboard /wp-admin2,195 ▲155.61 ▼0.0490.04 ▼6.7440.69 ▼0.08
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0336.74 ▼3.5036.48 ▼0.64
Add New Post /wp-admin/post-new.php1,526 ▼023.19 ▲0.06660.56 ▼18.9656.02 ▲1.91
Media Library /wp-admin/upload.php1,403 ▲34.20 ▼0.05100.38 ▼0.1340.69 ▼4.62

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: remove version, scripts, head, hide version, rss

remove-version-number/remove-version-number.php Passed 13 tests

The main PHP script in "Remove Version Number" version 1.0.0 is automatically included on every request by WordPress
93 characters long description:
A simple plugin that will remove the WordPress version number from all areas of your website.

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
There were no executable files found in this plugin13 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP241313

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.29
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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin