100% ac-addon-members

Code Review | Admin Columns - Members add-on

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

About plugin

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

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,151 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

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

Server-side resources used by Admin Columns - Members add-on
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0359.96 ▲2.41
Dashboard /wp-admin3.43 ▲0.0236.50 ▼2.01
Posts /wp-admin/edit.php3.66 ▲0.0240.62 ▼3.73
Add New Post /wp-admin/post-new.php6.90 ▼0.0797.74 ▼1,214.45
Media Library /wp-admin/upload.php3.31 ▲0.0228.13 ▲2.58

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Admin Columns - Members add-on
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,781 ▲5915.92 ▲0.215.61 ▼0.562.92 ▲0.69
Dashboard /wp-admin2,881 ▲236.09 ▼0.09116.19 ▼25.31162.09 ▼1.84
Posts /wp-admin/edit.php2,694 ▼03.23 ▲0.0164.60 ▲0.99141.27 ▼0.30
Add New Post /wp-admin/post-new.php1,752 ▲9121.65 ▲5.59465.18 ▲45.19161.44 ▲6.69
Media Library /wp-admin/upload.php1,695 ▼35.53 ▲0.02153.33 ▲2.25187.23 ▲0.37

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
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
Good news, no errors were detected

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

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: admincolumns, admin, integration, columns, addon...

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

The entry point to "Admin Columns - Members add-on" version 1.1 is a PHP file that has certain tags in its header comment area
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 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin406 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP12137209406

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity3.83
▷ Minimum class complexity1.00
▷ Maximum class complexity15.00
Average method complexity1.71
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes12
▷ Abstract classes18.33%
▷ Concrete classes1191.67%
▷ Final classes19.09%
Methods48
▷ Static methods12.08%
▷ Public methods4491.67%
▷ Protected methods00.00%
▷ Private methods48.33%
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
No PNG files were detected