84% gp-removed-powered-by

Code Review | GP Remove Powered By

WordPress plugin GP Remove Powered By scored84%from 54 tests.

About plugin

  • Plugin page: gp-removed-powere...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.2
  • WordPress version: 6.3.1
  • First release: Dec 16, 2015
  • Latest release: Apr 17, 2023
  • Number of updates: 18
  • Update frequency: every 148.8 days
  • Top authors: GregRoss (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /5,011 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 successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by GP Remove Powered By
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.91 ▼4.91
Dashboard /wp-admin3.31 ▼0.0344.99 ▼15.27
Posts /wp-admin/edit.php3.36 ▲0.0145.46 ▼2.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.73 ▼9.44
Media Library /wp-admin/upload.php3.23 ▲0.0137.59 ▲5.45

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for GP Remove Powered By
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.78 ▲0.231.60 ▼0.1538.18 ▼6.27
Dashboard /wp-admin2,206 ▲184.88 ▼1.17110.76 ▲5.8238.15 ▼4.04
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0339.49 ▲3.2235.10 ▼0.41
Add New Post /wp-admin/post-new.php1,538 ▲1923.18 ▼0.02656.23 ▼0.6949.99 ▼4.72
Media Library /wp-admin/upload.php1,391 ▼04.24 ▲0.0894.66 ▼0.1842.10 ▲0.45

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 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 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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gp-removed-powered-by/gp-remove-powered-by.php:43

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: translation, glotpress

gp-removed-powered-by/gp-remove-powered-by.php 92% from 13 tests

This is the main PHP file of "GP Remove Powered By" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gp-removed-powered-by.php" instead of "gp-remove-powered-by.php")

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
Everything looks great! No dangerous files found in this plugin30 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1131324
JavaScript1406

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.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

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