90% wp-generator-remover-dawsun

Code Review | WP Generator Remover by Dawsun

WordPress plugin WP Generator Remover by Dawsun scored 90% from 54 tests.

About plugin

  • Plugin page: wp-generator-remo...
  • Plugin version: 2.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Nov 15, 2017
  • Latest release: Apr 9, 2023
  • Number of updates: 14
  • Update frequency: every 140.8 days
  • Top authors: itpixelz (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active / 1,186 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.03MB] [CPU: ▼2.82ms] Passed 4 tests

Server-side resources used by WP Generator Remover by Dawsun
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.10 ▼3.32
Dashboard /wp-admin3.34 ▲0.0448.87 ▲0.41
Posts /wp-admin/edit.php3.39 ▲0.0345.20 ▼2.15
Add New Post /wp-admin/post-new.php5.92 ▲0.0390.30 ▼6.21
Media Library /wp-admin/upload.php3.26 ▲0.0338.51 ▲0.50
Generator Remover /wp-admin/options-general.php?page=wp_generator_remover_by_dawsun3.2329.53

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Generator Remover by Dawsun
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.58 ▼1.005.56 ▲3.7140.32 ▼2.94
Dashboard /wp-admin2,210 ▲215.85 ▲0.91112.50 ▼9.9843.34 ▼3.79
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0436.04 ▼4.4429.29 ▼7.91
Add New Post /wp-admin/post-new.php1,536 ▲2223.24 ▲5.67666.55 ▲7.2256.52 ▼17.64
Media Library /wp-admin/upload.php1,392 ▲14.20 ▼0.05110.06 ▲12.3446.83 ▲4.65
Generator Remover /wp-admin/options-general.php?page=wp_generator_remover_by_dawsun7992.1927.1837.78

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • wpgrd_settings

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: generator meta, version, security, wp generator meta remove, wp generator

wp-generator-remover-dawsun/wp-generator-remover-dawsun.php 92% from 13 tests

Analyzing the main PHP file in "WP Generator Remover by Dawsun" version 2.0.1
The following require your attention:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

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 plugin122 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22927122

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity1.67
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.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
PNG images were not found in this plugin