94% acf-quickedit-fields

Code Review | ACF Quick Edit Fields

WordPress plugin ACF Quick Edit Fields scored 94% from 54 tests.

About plugin

  • Plugin page: acf-quickedit-fields
  • Plugin version: 3.1.11
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9
  • WordPress version: 5.9.2
  • First release: Sep 3, 2019
  • Latest release: Feb 13, 2022
  • Number of updates: 23
  • Update frequency: every 38.9 days
  • Top authors: podpirate (100%)

Code review

54 tests

User reviews

28 reviews

Install metrics

10,000+ active / 102,409 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.00MB] [CPU: ▼287.36ms] Passed 4 tests

An overview of server-side resources used by ACF Quick Edit Fields
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0154.94 ▲7.47
Dashboard /wp-admin3.44 ▲0.0334.66 ▲1.10
Posts /wp-admin/edit.php3.66 ▲0.0240.01 ▲4.34
Add New Post /wp-admin/post-new.php6.90 ▼0.0795.67 ▼1,155.44
Media Library /wp-admin/upload.php3.31 ▲0.0225.01 ▲0.57

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 62 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for ACF Quick Edit Fields
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,821 ▲7915.85 ▲0.166.29 ▲0.682.45 ▲0.29
Dashboard /wp-admin2,928 ▲746.14 ▼0.04122.04 ▼10.61157.33 ▼6.08
Posts /wp-admin/edit.php2,718 ▲333.24 ▲0.0261.47 ▼2.58141.36 ▼3.99
Add New Post /wp-admin/post-new.php1,770 ▲10921.02 ▲4.85418.53 ▼10.74159.71 ▲9.29
Media Library /wp-admin/upload.php1,731 ▲365.50 ▼0.01136.77 ▼12.24189.94 ▼0.16

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 48× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/DateTimePickerField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Admin/Admin.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/GroupField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Admin/Feature.php
    • > /wp-content/plugins/acf-quickedit-fields/include/autoload.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/RelationshipField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Admin/Quickedit.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/TextField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/SelectField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Admin/CurrentView.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 96% from 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
4 plugin tags: columns, quickedit, acf, bulk edit

acf-quickedit-fields/index.php 92% from 13 tests

Analyzing the main PHP file in "ACF Quick Edit Fields" version 3.1.11
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-quickedit-fields.php" instead of "index.php")

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
There were no executable files found in this plugin3,068 lines of code in 57 files:
LanguageFilesBlank linesComment linesLines of code
PHP491,0701,2852,870
PO File24774154
XML15339
JavaScript3003
CSS2002

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.39
Average class complexity9.11
▷ Minimum class complexity1.00
▷ Maximum class complexity63.00
Average method complexity2.73
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces7
Interfaces2
Traits0
Classes44
▷ Abstract classes511.36%
▷ Concrete classes3988.64%
▷ Final classes00.00%
Methods226
▷ Static methods62.65%
▷ Public methods17175.66%
▷ Protected methods2611.50%
▷ Private methods2912.83%
Functions4
▷ Named functions125.00%
▷ Anonymous functions375.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin