Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼140.92ms] Passed 4 tests
Analyzing server-side resources used by WP Version Remover
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 48.43 ▲22.27 |
Dashboard /wp-admin | 3.09 ▲0.03 | 49.89 ▼1.49 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 50.51 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 96.34 ▼563.41 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 34.24 ▲0.52 |
WP Version Remover /wp-admin/options-general.php?page=wp_version_remover | 3.01 | 31.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WP Version Remover
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲126 | 16.13 ▲0.52 | 8.10 ▲0.30 | 45.92 ▼2.86 |
Dashboard /wp-admin | 2,975 ▲44 | 5.86 ▼0.10 | 142.16 ▼7.37 | 115.36 ▼3.77 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.00 | 65.49 ▼2.90 | 96.39 ▼9.51 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.76 ▼0.01 | 390.87 ▲20.55 | 117.38 ▼1.18 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.02 ▲0.01 | 149.33 ▼13.47 | 125.29 ▼13.54 |
WP Version Remover /wp-admin/options-general.php?page=wp_version_remover | 1,308 | 2.37 | 63.68 | 110.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-version-remover/lib/settings.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=wp_version_remover
- > Javascript (severe) in unknown
/wp-content/plugins/wp-version-remover/js/wvr-admin.js?ver=5.8.1 11:2 Uncaught TypeError: jQuery(...).ready(...) is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: css, remove generator, generator tag remover, js, version remove...
wp-version-remover/wp-version-remover.php 92% from 13 tests
The main PHP script in "WP Version Remover" version 1.5 is automatically included on every request by WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 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
Good job! No executable or dangerous file extensions detected152 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 7 | 67 | 140 |
JavaScript | 1 | 0 | 1 | 11 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 2 | 18.18% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin