83% remove-wp-version-number

Code Review | Remove WordPress Version Number

WordPress plugin Remove WordPress Version Number scored83%from 54 tests.

About plugin

  • Plugin page: remove-wp-version...
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.4
  • WordPress version: 6.3.1
  • First release: Oct 23, 2017
  • Latest release: Jul 7, 2020
  • Number of updates: 13
  • Update frequency: every 76.0 days
  • Top authors: inthiscode (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /2,969 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Remove WordPress Version Number
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.03 ▲0.43
Dashboard /wp-admin3.31 ▲0.0146.03 ▼6.80
Posts /wp-admin/edit.php3.37 ▲0.0150.88 ▲3.05
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.04 ▼5.27
Media Library /wp-admin/upload.php3.24 ▲0.0138.43 ▲2.14
Remove Version Number /wp-admin/options-general.php?page=rwvn_itc3.2034.50

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Remove WordPress Version Number
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.22 ▼0.151.73 ▼0.3242.18 ▼5.33
Dashboard /wp-admin2,202 ▲225.67 ▲0.0391.56 ▼13.1740.38 ▼2.13
Posts /wp-admin/edit.php2,104 ▲42.03 ▲0.0139.53 ▲4.1034.61 ▼0.73
Add New Post /wp-admin/post-new.php1,550 ▲523.14 ▼0.23690.91 ▲35.3255.28 ▲5.95
Media Library /wp-admin/upload.php1,398 ▲14.26 ▲0.05101.18 ▼2.8044.47 ▼2.91
Remove Version Number /wp-admin/options-general.php?page=rwvn_itc7842.0227.0830.89

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/remove-wp-version-number/remove-wordpress-version-number-itc.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: version number, number, wordpress version number, wordpress version, version

remove-wp-version-number/remove-wordpress-version-number-itc.php 77% from 13 tests

Analyzing the main PHP file in "Remove WordPress Version Number" version 1.4.1
You should first fix the following items:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("remove-wp-version-number.php" instead of "remove-wordpress-version-number-itc.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin55 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP192055

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected