84% remove-wp-version

Code Review | Remove WP Version

WordPress plugin Remove WP Version scored84%from 54 tests.

About plugin

  • Plugin page: remove-wp-version
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3
  • WordPress version: 6.3.1
  • First release: Oct 21, 2018
  • Latest release: Mar 26, 2020
  • Number of updates: 5
  • Update frequency: every 104.6 days
  • Top authors: marziocarro (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /676 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
Install script ran successfully

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

Analyzing server-side resources used by Remove WP Version
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.91 ▲2.18
Dashboard /wp-admin3.31 ▲0.0048.85 ▼4.61
Posts /wp-admin/edit.php3.36 ▲0.0047.32 ▼6.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.97 ▼4.78
Media Library /wp-admin/upload.php3.23 ▲0.0037.15 ▲1.19

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Remove WP Version
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,787 ▲2614.28 ▲0.101.90 ▲0.0743.99 ▼1.51
Dashboard /wp-admin2,192 ▲155.55 ▼0.0686.62 ▼4.0340.07 ▼0.96
Posts /wp-admin/edit.php2,097 ▼31.97 ▼0.0634.87 ▼11.7234.53 ▼4.99
Add New Post /wp-admin/post-new.php1,526 ▼223.12 ▲0.02718.87 ▲52.6668.29 ▲6.73
Media Library /wp-admin/upload.php1,400 ▼34.18 ▼0.0697.45 ▼6.3340.05 ▼4.88

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/remove-wp-version/remove-wp-version.php:39

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 13 tag instead of maximum 10
Please take inspiration from this readme.txt

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

The primary PHP file in "Remove WP Version" version 1.0 is used by WordPress to initiate all plugin functionality
55 characters long description:
Removes the meta generator tag, with WordPress version.

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
No dangerous file extensions were detected3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP19303

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
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%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin