84% acf-quickedit-fields

Code Review | ACF Quick Edit Fields

WordPress plugin ACF Quick Edit Fields scored84%from 54 tests.

About plugin

  • Plugin page: acf-quickedit-fields
  • Plugin version: 3.3.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Sep 3, 2019
  • Latest release: Nov 4, 2023
  • Number of updates: 37
  • Update frequency: every 41.2 days
  • Top authors: podpirate (100%)

Code review

54 tests

User reviews

38 reviews

Install metrics

20,000+ active /258,607 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
Install script ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼8.89ms] Passed 4 tests

A check of server-side resources used by ACF Quick Edit Fields
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.60 ▼4.76
Dashboard /wp-admin3.42 ▲0.0846.01 ▼17.00
Posts /wp-admin/edit.php3.54 ▲0.1847.32 ▲3.77
Add New Post /wp-admin/post-new.php6.01 ▲0.1285.36 ▼17.58
Media Library /wp-admin/upload.php3.35 ▲0.1236.65 ▲4.18

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for ACF Quick Edit Fields
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,813 ▲6614.14 ▼0.371.73 ▲0.0140.19 ▼5.78
Dashboard /wp-admin2,221 ▲415.63 ▼0.0593.14 ▼5.5339.13 ▼8.63
Posts /wp-admin/edit.php2,124 ▲242.03 ▲0.0634.69 ▼1.6738.83 ▲2.70
Add New Post /wp-admin/post-new.php1,544 ▲1023.33 ▼1.83587.83 ▼54.1554.02 ▼7.08
Media Library /wp-admin/upload.php1,423 ▲204.24 ▲0.0694.52 ▼3.4642.03 ▼5.79

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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 fix the following items
  • 51× 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/Admin/Feature.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/DatePickerField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Core/ComponentInterface.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Compat/Polylang.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/TimePickerField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Admin/CurrentView.php
    • > /wp-content/plugins/acf-quickedit-fields/index.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/TextareaField.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/Field.php
    • > /wp-content/plugins/acf-quickedit-fields/include/ACFQuickEdit/Fields/EmailField.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: acf, bulk edit, columns, quickedit

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

The principal PHP file in "ACF Quick Edit Fields" v. 3.3.0 is loaded by WordPress automatically on each request
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-quickedit-fields.php" instead of "index.php")
  • Requires PHP: Required version must be the same as the one declared in readme.txt ("7.2" instead of "5.6")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin4,214 lines of code in 71 files:
LanguageFilesBlank linesComment linesLines of code
PHP621,2341,7504,053
PO File24774154
JavaScript4014
CSS3003

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity9.66
▷ Minimum class complexity1.00
▷ Maximum class complexity71.00
Average method complexity2.55
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces8
Interfaces2
Traits10
Classes47
▷ Abstract classes510.64%
▷ Concrete classes4289.36%
▷ Final classes00.00%
Methods331
▷ Static methods61.81%
▷ Public methods23270.09%
▷ Protected methods6820.54%
▷ Private methods319.37%
Functions18
▷ Named functions15.56%
▷ Anonymous functions1794.44%
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
There are no PNG files in this plugin