94% acf-vc-integrator

Code Review | ACF-VC Integrator

WordPress plugin ACF-VC Integrator scored 94% from 54 tests.

About plugin

  • Plugin page: acf-vc-integrator
  • Plugin version: 1.8.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-5.9.0
  • WordPress version: 5.9.2
  • First release: Jul 7, 2016
  • Latest release: Jan 22, 2022
  • Number of updates: 39
  • Update frequency: every 55.7 days
  • Top authors: Frederik Rosendahl-Kaa (89.74%)dejliglama (12.82%)

Code review

54 tests

User reviews

14 reviews

Install metrics

4,000+ active / 50,894 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

This is a short check of server-side resources used by ACF-VC Integrator
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.70 ▲0.1857.68 ▲7.78
Dashboard /wp-admin3.74 ▲0.3335.31 ▲1.91
Posts /wp-admin/edit.php3.96 ▲0.3239.59 ▲1.09
Add New Post /wp-admin/post-new.php7.26 ▲0.2993.76 ▼1,570.77
Media Library /wp-admin/upload.php3.68 ▲0.3826.10 ▲2.64
ACF-VC Integrator /wp-admin/options-general.php?page=acf-vc-integrator3.6226.89

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 2 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by ACF-VC Integrator
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,807 ▲5315.88 ▲0.215.77 ▼2.122.57 ▲0.40
Dashboard /wp-admin2,901 ▲436.10 ▼0.04123.89 ▼9.67156.15 ▼6.82
Posts /wp-admin/edit.php2,698 ▲43.23 ▼0.0162.92 ▼1.78139.86 ▼4.14
Add New Post /wp-admin/post-new.php1,669 ▲816.14 ▼6.18447.98 ▲36.64159.26 ▲3.23
Media Library /wp-admin/upload.php1,707 ▲65.46 ▼0.06139.72 ▼4.73185.75 ▼2.37
ACF-VC Integrator /wp-admin/options-general.php?page=acf-vc-integrator1,5822.4255.40139.59

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The following issues need your attention
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/acf-vc-integrator/admin/hooks.php:3
    • > 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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 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
9 plugin tags: advanced custom fields, vc, templatera, wpbakery, visual composer...

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

"ACF-VC Integrator" version 1.8.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,177 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity106.75
▷ Minimum class complexity13.00
▷ Maximum class complexity220.00
Average method complexity12.13
▷ 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%