84% change-custom-admin-footer-text

Code Review | Change Custom Admin Footer Text

WordPress plugin Change Custom Admin Footer Text scored84%from 54 tests.

About plugin

  • Plugin page: change-custom-adm...
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.4
  • WordPress version: 6.3.1
  • First release: Oct 25, 2017
  • Latest release: Jul 7, 2020
  • Number of updates: 10
  • Update frequency: every 98.6 days
  • Top authors: inthiscode (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,250 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 gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.80ms] Passed 4 tests

An overview of server-side resources used by Change Custom Admin Footer Text
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0140.38 ▼7.78
Dashboard /wp-admin3.33 ▼0.0247.67 ▼19.05
Posts /wp-admin/edit.php3.38 ▲0.0246.25 ▼3.60
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.83 ▼8.76
Media Library /wp-admin/upload.php3.25 ▲0.0237.15 ▲1.74
Change Admin Footer Text /wp-admin/options-general.php?page=caft_itc3.2644.16

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Change Custom Admin Footer Text
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲3214.34 ▲0.241.90 ▲0.0445.11 ▲0.84
Dashboard /wp-admin2,202 ▲285.60 ▼0.0794.45 ▼6.4141.88 ▲1.14
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0238.81 ▲2.7135.88 ▼4.40
Add New Post /wp-admin/post-new.php1,534 ▲623.33 ▲2.32595.92 ▲2.5739.49 ▼17.42
Media Library /wp-admin/upload.php1,404 ▲44.16 ▼0.08100.24 ▼6.2342.14 ▼1.13
Change Admin Footer Text /wp-admin/options-general.php?page=caft_itc1,2995.53110.7054.84

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/change-custom-admin-footer-text/change-admin-footer-itc.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% 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
5 plugin tags: custom admin footer, admin footer, footer text, admin footer text, custom admin

change-custom-admin-footer-text/change-admin-footer-itc.php 85% from 13 tests

"Change Custom Admin Footer Text" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("change-custom-admin-footer-text.php" instead of "change-admin-footer-itc.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin59 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1112159

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions8
▷ Named functions8100.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
There are no PNG files in this plugin