78% remove-footer-links

Code Review | Remove Footer Links

WordPress plugin Remove Footer Links scored 78% from 54 tests.

About plugin

  • Plugin page: remove-footer-links
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.9.2
  • WordPress version: 6.3.1
  • First release: Mar 24, 2022
  • Latest release: Apr 28, 2022
  • Number of updates: 8
  • Update frequency: every 4.4 days
  • Top authors: plugindeveloper (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 1,193 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.02MB] [CPU: ▼1.66ms] Passed 4 tests

Analyzing server-side resources used by Remove Footer Links
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.82 ▼4.58
Dashboard /wp-admin3.33 ▲0.0353.48 ▲0.24
Posts /wp-admin/edit.php3.38 ▲0.0248.66 ▲2.31
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.82 ▼3.18
Media Library /wp-admin/upload.php3.25 ▲0.0235.44 ▲0.90
Footer Links /wp-admin/options-general.php?page=remove-footer-links3.2229.75

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Remove Footer Links: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,889 ▲15413.60 ▼0.706.38 ▲4.4838.90 ▼8.87
Dashboard /wp-admin2,210 ▲225.82 ▲0.91101.52 ▼11.6138.78 ▼3.36
Posts /wp-admin/edit.php2,093 ▲42.03 ▲0.0539.35 ▼0.0635.66 ▼0.08
Add New Post /wp-admin/post-new.php1,546 ▲423.09 ▲4.74641.67 ▲33.7653.51 ▼0.07
Media Library /wp-admin/upload.php1,395 ▲74.17 ▼0.0498.66 ▼4.5042.61 ▼2.06
Footer Links /wp-admin/options-general.php?page=remove-footer-links7952.0326.3926.69

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/remove-footer-links/remove-footer-links.php
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'Remove_Footer_Links\\Inc\\Classes\\Setting' not found in wp-content/plugins/remove-footer-links/inc/options/settings.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed: You can look at the official readme.txt

remove-footer-links/remove-footer-links.php Passed 13 tests

"Remove Footer Links" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
34 characters long description:
Simple way to remove footer credit

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
Everything looks great! No dangerous files found in this plugin637 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP13171144473
Sass110062
JavaScript226852
CSS371050

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity7.89
▷ Minimum class complexity1.00
▷ Maximum class complexity46.00
Average method complexity2.72
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes9
▷ Abstract classes111.11%
▷ Concrete classes888.89%
▷ Final classes00.00%
Methods36
▷ Static methods00.00%
▷ Public methods36100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants9100.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