90% ac-addon-members

Code Review | Admin Columns - Members add-on

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

About plugin

  • Plugin page: ac-addon-members
  • 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: 7
  • Update frequency: every 269.4 days
  • Top authors: keraweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,593 total downloads

Benchmarks

Plugin footprint 83% from 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.02MB] [CPU: ▼4.97ms] Passed 4 tests

A check of server-side resources used by Admin Columns - Members add-on
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.93 ▼8.03
Dashboard /wp-admin3.33 ▲0.0247.06 ▼3.53
Posts /wp-admin/edit.php3.38 ▲0.0244.60 ▼3.63
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.02 ▼4.67
Media Library /wp-admin/upload.php3.25 ▲0.0236.28 ▲4.89

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Admin Columns - Members add-on
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.73 ▲0.421.86 ▼0.1045.16 ▲2.37
Dashboard /wp-admin2,209 ▲184.84 ▼0.08103.94 ▼11.6038.65 ▼8.76
Posts /wp-admin/edit.php2,092 ▲31.99 ▼0.0237.17 ▲0.8534.48 ▲0.63
Add New Post /wp-admin/post-new.php1,534 ▼123.19 ▼0.03659.41 ▲1.5460.10 ▲8.36
Media Library /wp-admin/upload.php1,391 ▲34.19 ▼0.0597.22 ▼12.8343.16 ▼2.80

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected 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
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: admin, columns, addon, admincolumns, integration...

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

The main PHP file in "Admin Columns - Members add-on" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
116 characters long description:
Show Members fields in your admin post overviews and edit them inline! Members integration Add-on for Admin Columns.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin510 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP13178278510

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity4.92
▷ Minimum class complexity1.00
▷ Maximum class complexity16.00
Average method complexity1.86
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes13
▷ Abstract classes17.69%
▷ Concrete classes1292.31%
▷ Final classes18.33%
Methods59
▷ Static methods23.39%
▷ Public methods5084.75%
▷ Protected methods58.47%
▷ Private methods46.78%
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

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin