90% admin-column-custom

Code Review | Admin Column

WordPress plugin Admin Column scored90%from 54 tests.

About plugin

  • Plugin page: admin-column-custom
  • Plugin version: 1.0.12
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 14, 2022
  • Latest release: Nov 30, 2023
  • Number of updates: 212
  • Update frequency: every 2.5 days
  • Top authors: adsvui (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,811 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼7.60ms] Passed 4 tests

Analyzing server-side resources used by Admin Column
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.23 ▼4.14
Dashboard /wp-admin3.33 ▼0.0248.16 ▼16.80
Posts /wp-admin/edit.php3.38 ▲0.0247.75 ▼0.90
Add New Post /wp-admin/post-new.php5.91 ▲0.0290.53 ▼8.54
Media Library /wp-admin/upload.php3.25 ▲0.0239.56 ▲2.96
Admin Column /wp-admin/options-general.php?page=admin-column-custom3.2933.00

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Admin Column
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲4714.21 ▼0.561.87 ▲0.1143.83 ▼2.21
Dashboard /wp-admin2,199 ▲195.63 ▼0.0094.37 ▲1.4037.99 ▼6.82
Posts /wp-admin/edit.php2,104 ▲41.94 ▼0.0738.17 ▼0.3136.02 ▲2.24
Add New Post /wp-admin/post-new.php1,529 ▲323.28 ▲0.22604.65 ▲0.0551.37 ▲1.56
Media Library /wp-admin/upload.php1,407 ▲44.11 ▼0.0698.49 ▲2.8040.77 ▲0.20
Admin Column /wp-admin/options-general.php?page=admin-column-custom1,0771.8633.2326.55

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: devui, pages columns, users columns, posts columns, admin column

admin-column-custom/index.php 92% from 13 tests

The main PHP file in "Admin Column" ver. 1.0.12 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("admin-column-custom.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected495 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.44
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions23100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin