90% admin-slug-column

Code Review | Admin Slug Column

WordPress plugin Admin Slug Column scored90%from 54 tests.

About plugin

  • Plugin page: admin-slug-column
  • Plugin version: 1.6.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.0.0
  • WordPress version: 6.3.1
  • First release: May 7, 2013
  • Latest release: May 22, 2022
  • Number of updates: 16
  • Update frequency: every 206.7 days
  • Top authors: ryno267 (100%)

Code review

54 tests

User reviews

28 reviews

Install metrics

5,000+ active /29,819 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
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.71ms] Passed 4 tests

Analyzing server-side resources used by Admin Slug Column
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.41 ▼2.06
Dashboard /wp-admin3.33 ▼0.0243.55 ▼14.48
Posts /wp-admin/edit.php3.38 ▲0.0247.81 ▲1.92
Add New Post /wp-admin/post-new.php5.91 ▲0.0291.73 ▼9.20
Media Library /wp-admin/upload.php3.25 ▲0.0234.83 ▼1.08

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Admin Slug Column
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.35 ▼0.101.82 ▲0.1237.72 ▼10.40
Dashboard /wp-admin2,198 ▲185.57 ▼0.1092.40 ▲2.0039.90 ▲1.93
Posts /wp-admin/edit.php2,110 ▲102.00 ▼0.0039.63 ▲2.6438.90 ▲1.87
Add New Post /wp-admin/post-new.php1,535 ▲718.17 ▼4.75620.86 ▼43.1757.21 ▼0.37
Media Library /wp-admin/upload.php1,400 ▼04.19 ▲0.10104.42 ▼12.0450.46 ▲3.32

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: admin columns, page titles, slug, url path, permalink...

admin-slug-column/admin-slug-column.php 92% from 13 tests

The entry point to "Admin Slug Column" version 1.6.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Requires at least: Required version must match the one declared in readme.txt ("3.5" instead of "5.2")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin41 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1115341

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
No PNG images were found in this plugin