94% acf-columns

Code Review | ACF Columns

WordPress plugin ACF Columns scored 94% from 54 tests.

About plugin

  • Plugin page: acf-columns
  • Plugin version: 1.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.5
  • WordPress version: 5.9.2
  • First release: Mar 21, 2017
  • Latest release: Aug 22, 2020
  • Number of updates: 13
  • Update frequency: every 95.9 days
  • Top authors: tmconnect (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

5,000+ active / 23,123 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼289.04ms] Passed 4 tests

A check of server-side resources used by ACF Columns
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0154.30 ▲2.45
Dashboard /wp-admin3.41 ▲0.0034.16 ▲1.10
Posts /wp-admin/edit.php3.64 ▲0.0035.64 ▼0.49
Add New Post /wp-admin/post-new.php6.89 ▼0.0897.27 ▼1,149.85
Media Library /wp-admin/upload.php3.29 ▼0.0123.39 ▼6.92

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

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

Browser metrics Passed 4 tests

A check of browser resources used by ACF Columns
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲4116.21 ▲0.436.13 ▲0.652.12 ▼0.07
Dashboard /wp-admin2,895 ▲346.15 ▼0.01114.30 ▼16.70158.32 ▲0.26
Posts /wp-admin/edit.php2,685 ▼33.24 ▲0.0061.56 ▼2.21135.69 ▼10.51
Add New Post /wp-admin/post-new.php1,689 ▲2819.72 ▲3.66379.65 ▼13.15158.27 ▲6.14
Media Library /wp-admin/upload.php1,698 ▲65.51 ▼0.02134.47 ▲0.18183.38 ▼8.25

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-columns/fields/acf-column-v5.7.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-columns/fields/acf-column-v5.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: column, advanced custom fields, acfpro, acf

acf-columns/acf-column.php 85% from 13 tests

Analyzing the main PHP file in "ACF Columns" version 1.2.2
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("acf-columns.php" instead of "acf-column.php")
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin627 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PO File25050134

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity5.67
▷ Minimum class complexity2.00
▷ Maximum class complexity13.00
Average method complexity1.88
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin