100% admin-columns-icons-addon

Code Review | Admin Columns - Icons Add-on

WordPress plugin Admin Columns - Icons Add-on scored 100% from 54 tests.

About plugin

  • Plugin page: admin-columns-ico...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.5.2
  • WordPress version: 5.9.2
  • First release: Jul 10, 2014
  • Latest release: Aug 21, 2016
  • Number of updates: 7
  • Update frequency: every 110.4 days
  • Top authors: engelen (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,961 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼308.80ms] Passed 4 tests

A check of server-side resources used by Admin Columns - Icons Add-on
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.0860.89 ▲10.01
Dashboard /wp-admin3.50 ▲0.0842.74 ▲5.28
Posts /wp-admin/edit.php3.72 ▲0.0840.14 ▼3.88
Add New Post /wp-admin/post-new.php6.96 ▼0.01101.68 ▼1,241.48
Media Library /wp-admin/upload.php3.37 ▲0.0734.19 ▲4.88

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Admin Columns - Icons Add-on: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲4916.25 ▲0.585.79 ▼0.112.60 ▲0.45
Dashboard /wp-admin2,888 ▲356.07 ▼0.06118.62 ▼9.55154.31 ▼13.45
Posts /wp-admin/edit.php2,657 ▼373.23 ▼0.0167.37 ▲0.84175.62 ▲31.49
Add New Post /wp-admin/post-new.php1,752 ▲5422.01 ▼0.10458.38 ▲43.78159.05 ▼57.00
Media Library /wp-admin/upload.php1,698 ▲35.46 ▼0.08139.64 ▼14.66189.79 ▼26.74

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
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 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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: icon, icons, addon, admin columns, overview...

admin-columns-icons-addon/cac-addon-icons.php 92% from 13 tests

The main file in "Admin Columns - Icons Add-on" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("admin-columns-icons-addon.php" instead of "cac-addon-icons.php")

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
No dangerous file extensions were detected503 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity28.00
▷ Minimum class complexity28.00
▷ Maximum class complexity28.00
Average method complexity4.00
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin