90% ac-addon-genesis

Code Review | Admin Columns - Genesis Framework add-on

WordPress plugin Admin Columns - Genesis Framework add-on scored90%from 54 tests.

About plugin

  • Plugin page: ac-addon-genesis
  • Plugin version: 1.2
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.1
  • WordPress version: 6.3.1
  • First release: Oct 23, 2017
  • Latest release: Dec 19, 2022
  • Number of updates: 9
  • Update frequency: every 209.2 days
  • Top authors: keraweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,725 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.22ms] Passed 4 tests

An overview of server-side resources used by Admin Columns - Genesis Framework add-on
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0345.76 ▲4.65
Dashboard /wp-admin3.36 ▲0.0150.40 ▼14.33
Posts /wp-admin/edit.php3.48 ▲0.1250.55 ▼9.56
Add New Post /wp-admin/post-new.php5.94 ▲0.0599.99 ▼5.63
Media Library /wp-admin/upload.php3.29 ▲0.0539.57 ▲4.90

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Columns - Genesis Framework add-on
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,792 ▲3114.37 ▲0.092.30 ▲0.6151.78 ▲13.25
Dashboard /wp-admin2,195 ▲155.64 ▼0.0388.29 ▼0.5141.93 ▼6.32
Posts /wp-admin/edit.php2,106 ▲62.00 ▼0.0040.20 ▲5.4834.12 ▼3.60
Add New Post /wp-admin/post-new.php1,529 ▲123.12 ▲0.46665.10 ▼3.1968.16 ▲0.08
Media Library /wp-admin/upload.php1,403 ▲94.08 ▼0.10100.76 ▼4.6140.33 ▼6.65

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

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)
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: members, addon, columns, admincolumns, integration...

ac-addon-genesis/ac-addon-genesis.php Passed 13 tests

"Admin Columns - Genesis Framework add-on" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
136 characters long description:
Show Genesis Framework fields in your admin post overviews and edit them inline! Genesis Framework integration Add-on for Admin Columns.

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
No dangerous file extensions were detected1,195 lines of code in 38 files:
LanguageFilesBlank linesComment linesLines of code
PHP323153911,017
JavaScript4316126
CSS211952

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity3.59
▷ Minimum class complexity1.00
▷ Maximum class complexity35.00
Average method complexity1.72
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes32
▷ Abstract classes26.25%
▷ Concrete classes3093.75%
▷ Final classes13.33%
Methods117
▷ Static methods21.71%
▷ Public methods10892.31%
▷ Protected methods54.27%
▷ Private methods43.42%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants150.00%
▷ Class constants150.00%
▷ Public constants1100.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 images were found in this plugin