84% acf-vc-integrator

Code Review | ACF-VC Integrator

WordPress plugin ACF-VC Integrator scored84%from 54 tests.

About plugin

  • Plugin page: acf-vc-integrator
  • Plugin version: 1.8.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-6.1
  • WordPress version: 6.3.1
  • First release: Jul 7, 2016
  • Latest release: Dec 20, 2022
  • Number of updates: 41
  • Update frequency: every 61.1 days
  • Top authors: Frederik Rosendahl-Kaa (90.24%)dejliglama (12.2%)

Code review

54 tests

User reviews

18 reviews

Install metrics

4,000+ active /58,450 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.28MB] [CPU: ▼5.67ms] Passed 4 tests

An overview of server-side resources used by ACF-VC Integrator
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1141.80 ▼0.43
Dashboard /wp-admin3.65 ▲0.3551.80 ▼2.14
Posts /wp-admin/edit.php3.74 ▲0.3845.06 ▼6.38
Add New Post /wp-admin/post-new.php6.21 ▲0.3286.00 ▼13.71
Media Library /wp-admin/upload.php3.55 ▲0.3246.53 ▲8.90
ACF-VC Integrator /wp-admin/options-general.php?page=acf-vc-integrator3.5434.72

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options

Browser metrics Passed 4 tests

ACF-VC Integrator: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲3714.80 ▲0.531.87 ▼0.6242.33 ▼3.48
Dashboard /wp-admin2,229 ▲265.86 ▼0.01111.80 ▲11.3042.54 ▼1.41
Posts /wp-admin/edit.php2,111 ▲112.01 ▼0.0135.17 ▲1.1131.48 ▼3.91
Add New Post /wp-admin/post-new.php1,552 ▲723.35 ▲0.19640.61 ▼38.6554.78 ▼2.16
Media Library /wp-admin/upload.php1,408 ▲84.22 ▲0.0997.92 ▼19.3349.00 ▼4.01
ACF-VC Integrator /wp-admin/options-general.php?page=acf-vc-integrator1,3182.0625.2029.34

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'acf_vc_helper' not found in wp-content/plugins/acf-vc-integrator/inc/acf_vc_helper_pro.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/acf-vc-integrator/admin/hooks.php:3

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: templatera, grid builder, advanced custom fields, wpbakery page builder, page builder...

acf-vc-integrator/acf-vc-integrator.php Passed 13 tests

The main file in "ACF-VC Integrator" v. 1.8.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
123 characters long description:
ACF VC Integrator plugin is the easiest way to output your Advanced Custom Posttype fields in a WPBakery Page Builder Grid.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin4,185 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity107.25
▷ Minimum class complexity13.00
▷ Maximum class complexity222.00
Average method complexity12.18
▷ Minimum method complexity1.00
▷ Maximum method complexity86.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods25.26%
▷ Public methods3694.74%
▷ Protected methods25.26%
▷ Private methods00.00%
▷ Named functions56100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/acf_icon1.png1.82KB1.60KB▼ 11.88%