84% admin-column-view-selector

Code Review | Admin Column View Selector

WordPress plugin Admin Column View Selector scored 84% from 54 tests.

About plugin

  • Plugin page: admin-column-view...
  • Plugin version: 2.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4
  • WordPress version: 6.3.1
  • First release: Dec 2, 2015
  • Latest release: Dec 28, 2015
  • Number of updates: 10
  • Update frequency: every 2.7 days
  • Top authors: grnesmith (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,104 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Admin Column View Selector
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0134.57 ▼3.96
Dashboard /wp-admin3.31 ▲0.0144.62 ▼5.44
Posts /wp-admin/edit.php3.36 ▲0.0046.02 ▲0.76
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.57 ▼13.29
Media Library /wp-admin/upload.php3.23 ▲0.0034.21 ▼0.03

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 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 View Selector
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,851 ▲11613.67 ▼0.981.86 ▲0.1739.19 ▼4.35
Dashboard /wp-admin2,235 ▲444.89 ▼0.0498.03 ▼0.1739.40 ▼13.01
Posts /wp-admin/edit.php2,092 ▲32.05 ▲0.0334.92 ▼0.2130.58 ▼0.75
Add New Post /wp-admin/post-new.php1,533 ▼023.75 ▲0.29657.70 ▲16.7358.01 ▲3.34
Media Library /wp-admin/upload.php1,391 ▲34.20 ▼0.06101.65 ▼14.2945.20 ▼2.20

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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 fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-column-view-selector/column-Selector-View.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Plugin Name: Please specify the plugin name on the first line ( === admin-column-view-selector === )
You can take inspiration from this readme.txt

admin-column-view-selector/column-Selector-View.php 92% from 13 tests

This is the main PHP file of "Admin Column View Selector" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("admin-column-view-selector.php" instead of "column-Selector-View.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin10 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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 functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
There are no PNG files in this plugin