84% manage-admin-columns

Code Review | Manage Admin Columns

WordPress plugin Manage Admin Columns scored84%from 54 tests.

About plugin

  • Plugin page: manage-admin-columns
  • Plugin version: 1.5.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Jan 2, 2021
  • Latest release: May 8, 2022
  • Number of updates: 10
  • Update frequency: every 49.2 days
  • Top authors: sanbec (100%)

Code review

54 tests

User reviews

1 review

Install metrics

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

Server-side resources used by Manage Admin Columns
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0735.06 ▼4.82
Dashboard /wp-admin3.39 ▲0.0944.19 ▼2.75
Posts /wp-admin/edit.php3.51 ▲0.1650.38 ▲3.76
Add New Post /wp-admin/post-new.php5.98 ▲0.0986.00 ▼9.27
Media Library /wp-admin/upload.php3.32 ▲0.0933.03 ▼1.68
Featured Image Column /wp-admin/options-general.php?page=fcfi-settings3.2928.91

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Manage Admin Columns
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲4714.27 ▼0.091.78 ▲0.2637.24 ▼1.88
Dashboard /wp-admin2,202 ▲255.61 ▼0.0595.92 ▲7.9341.70 ▼3.11
Posts /wp-admin/edit.php2,157 ▲571.98 ▲0.0236.97 ▲0.9133.87 ▼1.24
Add New Post /wp-admin/post-new.php1,531 ▲523.32 ▲0.16673.35 ▲54.7157.70 ▲4.87
Media Library /wp-admin/upload.php1,412 ▲94.21 ▲0.0394.39 ▼12.9543.60 ▲2.05
Featured Image Column /wp-admin/options-general.php?page=fcfi-settings9482.0626.4335.94

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wpcombo\\fcfi\\add_action() in wp-content/plugins/manage-admin-columns/includes/class-firstcolumnfeaturedimage.php:23

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 uses markdown syntax to describe your plugin to the world
These attributes need your attention: You can look at the official readme.txt

manage-admin-columns/manage-admin-columns.php Passed 13 tests

The principal PHP file in "Manage Admin Columns" v. 1.5.0 is loaded by WordPress automatically on each request
64 characters long description:
This plugin adds a featured image column to the WordPress admin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin425 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP344107326
PO File1253270
SVG20029

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.35
Average class complexity38.00
▷ Minimum class complexity38.00
▷ Maximum class complexity38.00
Average method complexity2.94
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods21
▷ Static methods1257.14%
▷ Public methods1990.48%
▷ Protected methods14.76%
▷ Private methods14.76%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There were not PNG files found in your plugin