100% admin-footer-version-rebranded

Code Review | Admin Footer Version (rebranded)

WordPress plugin Admin Footer Version (rebranded) scored 100% from 54 tests.

About plugin

  • Plugin page: admin-footer-vers...
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-5.1
  • WordPress version: 5.9.2
  • First release: Dec 26, 2017
  • Latest release: Mar 21, 2019
  • Number of updates: 570
  • Update frequency: every 0.8 days
  • Top authors: Luciano Croce (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,963 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.29MB] [CPU: ▼286.39ms] Passed 4 tests

A check of server-side resources used by Admin Footer Version (rebranded)
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.84 ▲0.3257.17 ▲5.15
Dashboard /wp-admin3.74 ▲0.3334.41 ▲0.32
Posts /wp-admin/edit.php3.95 ▲0.3139.94 ▲1.39
Add New Post /wp-admin/post-new.php7.20 ▲0.2395.92 ▼1,149.13
Media Library /wp-admin/upload.php3.62 ▲0.3129.43 ▲1.87

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Admin Footer Version (rebranded)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,811 ▲5715.77 ▲0.145.93 ▼0.033.03 ▲0.62
Dashboard /wp-admin2,911 ▲536.14 ▼0.03117.27 ▼18.15139.54 ▼18.66
Posts /wp-admin/edit.php2,707 ▲193.23 ▼0.0163.27 ▼0.43127.19 ▼16.19
Add New Post /wp-admin/post-new.php1,725 ▲6420.85 ▲4.37433.40 ▲28.20157.51 ▼0.58
Media Library /wp-admin/upload.php1,714 ▲165.50 ▲0.00143.36 ▼1.32173.06 ▼16.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

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
These attributes need your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #5 (Screenshot 5 of 10 -- Development Version), #6 (Screenshot 6 of 10 -- Previous Version), #7 (Screenshot 7 of 10 -- Supported Version), #8 (Screenshot 8 of 10 -- Old Version), #9 (Screenshot 9 of 10 -- Oldest Version), #10 (Screenshot 10 of 10 -- Legacy Version)
You can look at the official readme.txt

admin-footer-version-rebranded/admin-footer-version-rebranded.php Passed 13 tests

"Admin Footer Version (rebranded)" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
122 characters long description:
Show the rebranded version in the admin footer, (dashboard) when it is activated, or if it is in the mu-plugins directory.

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
Good job! No executable or dangerous file extensions detected772 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1145485772

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.88
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%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin