94% acf-repeater-for-elementor

Code Review | ACF Repeater For Elementor

WordPress plugin ACF Repeater For Elementor scored 94% from 54 tests.

About plugin

  • Plugin page: acf-repeater-for-...
  • Plugin version: 1.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.6
  • WordPress version: 5.9.2
  • First release: Dec 27, 2020
  • Latest release: Feb 24, 2021
  • Number of updates: 7
  • Update frequency: every 10.1 days
  • Top authors: idocoh (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

500+ active / 2,098 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼298.29ms] Passed 4 tests

Server-side resources used by ACF Repeater For Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0356.29 ▲4.52
Dashboard /wp-admin3.44 ▲0.0332.07 ▼1.69
Posts /wp-admin/edit.php3.66 ▲0.0237.55 ▼0.33
Add New Post /wp-admin/post-new.php6.90 ▼0.0792.36 ▼1,193.66
Media Library /wp-admin/upload.php3.31 ▲0.0224.78 ▲2.54

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ACF Repeater For Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲2115.82 ▲0.315.62 ▼0.152.31 ▲0.07
Dashboard /wp-admin2,895 ▲346.22 ▲0.05115.16 ▼24.42154.35 ▼12.78
Posts /wp-admin/edit.php2,688 ▼03.23 ▼0.0163.59 ▼1.88133.87 ▼14.61
Add New Post /wp-admin/post-new.php1,661 ▼016.01 ▼0.25403.17 ▼8.25159.50 ▲11.49
Media Library /wp-admin/upload.php1,698 ▲35.52 ▲0.04146.29 ▲7.70192.70 ▲7.66

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-repeater-for-elementor/acf-repeater-for-elementor.php:16

User-side errors Passed 1 test

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: acf, elementor, repeater

acf-repeater-for-elementor/acf-repeater-for-elementor.php Passed 13 tests

"ACF Repeater For Elementor" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
Easy and simple way to use acf pro repeater in elementor.

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
Good job! No executable or dangerous file extensions detected283 lines of code in 2 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.50
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions233.33%
▷ Anonymous functions466.67%
▷ 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/icon.png22.23KB11.30KB▼ 49.16%