90% admin-footer-version-rebranded

Code Review | Admin Footer Version (rebranded)

WordPress plugin Admin Footer Version (rebranded) scored90%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: 6.3.1
  • 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 /2,349 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.32MB] [CPU: ▼2.01ms] Passed 4 tests

An overview of server-side resources used by Admin Footer Version (rebranded)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.3242.92 ▼3.00
Dashboard /wp-admin3.63 ▲0.3355.72 ▼2.39
Posts /wp-admin/edit.php3.67 ▲0.3153.93 ▲4.52
Add New Post /wp-admin/post-new.php6.20 ▲0.3190.92 ▼5.94
Media Library /wp-admin/upload.php3.55 ▲0.3339.86 ▲3.28

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Admin Footer Version (rebranded)
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.35 ▼0.212.20 ▲0.5342.75 ▼2.52
Dashboard /wp-admin2,204 ▲245.63 ▼0.1693.75 ▼6.4037.42 ▼8.83
Posts /wp-admin/edit.php2,107 ▲71.94 ▼0.0342.52 ▲3.5131.42 ▼4.71
Add New Post /wp-admin/post-new.php1,532 ▲623.14 ▼0.15674.37 ▼4.7250.89 ▼6.28
Media Library /wp-admin/upload.php1,409 ▲124.24 ▲0.1095.78 ▼14.9940.15 ▼3.60

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
The SRP test was a success

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

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Screenshots: Add images for these screenshots: #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 take inspiration from this 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 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected772 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1145485772

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
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

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin