100% admin-slug-column

Code Review | Admin Slug Column

WordPress plugin Admin Slug Column scored 100% from 54 tests.

About plugin

  • Plugin page: admin-slug-column
  • Plugin version: 0.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.2.2
  • WordPress version: 5.9.2
  • First release: May 7, 2013
  • Latest release: Jun 15, 2019
  • Number of updates: 14
  • Update frequency: every 159.6 days
  • Top authors: ryno267 (100%)

Code review

54 tests

User reviews

25 reviews

Install metrics

4,000+ active / 20,345 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

Server-side resources used by Admin Slug Column
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0257.92 ▲5.51
Dashboard /wp-admin3.43 ▲0.0332.92 ▼2.81
Posts /wp-admin/edit.php3.66 ▲0.0239.31 ▲0.30
Add New Post /wp-admin/post-new.php6.93 ▼0.0793.54 ▼1,184.22
Media Library /wp-admin/upload.php3.31 ▲0.0225.87 ▲2.80

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Admin Slug Column
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲4015.80 ▼0.145.96 ▲0.163.05 ▲0.20
Dashboard /wp-admin2,885 ▲316.12 ▼0.10119.30 ▼16.37155.69 ▼16.46
Posts /wp-admin/edit.php2,706 ▲153.23 ▼0.0165.37 ▲1.68139.64 ▼2.54
Add New Post /wp-admin/post-new.php1,752 ▲9121.08 ▲4.13442.97 ▼5.90165.84 ▲8.71
Media Library /wp-admin/upload.php1,698 ▼05.42 ▼0.07143.25 ▲3.65186.03 ▼0.25

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: permalink, slug, admin columns, page titles, url...

admin-slug-column/admin-slug-column.php Passed 13 tests

The primary PHP file in "Admin Slug Column" version 0.5.0 is used by WordPress to initiate all plugin functionality
78 characters long description:
Adds the post url slug and page url path to the admin columns on edit screens.

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
Everything looks great! No dangerous files found in this plugin41 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1124141

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity6.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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected