100% ac-addon-genesis

Code Review | Admin Columns - Genesis Framework add-on

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

About plugin

  • Plugin page: ac-addon-genesis
  • Plugin version: 1.1
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-4.9
  • WordPress version: 5.9.2
  • First release: Oct 23, 2017
  • Latest release: Jul 6, 2018
  • Number of updates: 6
  • Update frequency: every 42.7 days
  • Top authors: keraweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,070 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼307.97ms] Passed 4 tests

Analyzing server-side resources used by Admin Columns - Genesis Framework add-on
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0459.66 ▲5.93
Dashboard /wp-admin3.46 ▲0.0634.43 ▼12.69
Posts /wp-admin/edit.php3.69 ▲0.0693.27 ▲53.29
Add New Post /wp-admin/post-new.php6.93 ▼0.0495.49 ▼1,229.52
Media Library /wp-admin/upload.php3.35 ▲0.0530.46 ▲4.40

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

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

Browser metrics Passed 4 tests

Checking 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 /3,766 ▲1115.92 ▼0.086.30 ▼0.282.08 ▼0.43
Dashboard /wp-admin2,895 ▲376.12 ▼0.09115.63 ▼24.40224.08 ▲51.87
Posts /wp-admin/edit.php2,691 ▲33.24 ▼0.0069.44 ▲3.98139.04 ▼93.22
Add New Post /wp-admin/post-new.php1,634 ▼8520.52 ▼2.16429.28 ▼1.77209.72 ▲51.83
Media Library /wp-admin/upload.php1,698 ▼05.49 ▲0.01137.74 ▼2.50194.10 ▼2.95

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
Uninstaller 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
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: columns, admincolumns, addon, integration, members...

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

"Admin Columns - Genesis Framework add-on" version 1.1'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 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,018 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
PHP30254314860
JavaScript4255106
CSS211952

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity3.20
▷ Minimum class complexity1.00
▷ Maximum class complexity36.00
Average method complexity1.70
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes30
▷ Abstract classes26.67%
▷ Concrete classes2893.33%
▷ Final classes13.57%
Methods95
▷ Static methods11.05%
▷ Public methods9195.79%
▷ Protected methods00.00%
▷ Private methods44.21%
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected