100% acf-clone-repeater

Code Review | ACF Clone Repeater

WordPress plugin ACF Clone Repeater scored 100% from 54 tests.

About plugin

  • Plugin page: acf-clone-repeater
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.9.2
  • First release: Jul 27, 2021
  • Latest release: Jul 28, 2021
  • Number of updates: 5
  • Update frequency: every 0.4 days
  • Top authors: sumanengbd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 489 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼298.08ms] Passed 4 tests

A check of server-side resources used by ACF Clone Repeater
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0152.87 ▲3.48
Dashboard /wp-admin3.42 ▲0.0134.21 ▼1.13
Posts /wp-admin/edit.php3.65 ▲0.0136.45 ▼2.82
Add New Post /wp-admin/post-new.php6.89 ▼0.0993.05 ▼1,188.32
Media Library /wp-admin/upload.php3.30 ▲0.0022.98 ▼0.03

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for ACF Clone Repeater
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲1816.22 ▲0.486.21 ▼0.182.39 ▲0.15
Dashboard /wp-admin2,895 ▲346.13 ▼0.06115.76 ▼19.82158.94 ▲0.05
Posts /wp-admin/edit.php2,691 ▲63.24 ▲0.0164.10 ▼1.30140.29 ▼1.65
Add New Post /wp-admin/post-new.php1,661 ▼016.44 ▲0.73395.15 ▼5.45157.06 ▼0.10
Media Library /wp-admin/upload.php1,698 ▲35.53 ▲0.05138.61 ▼1.40192.00 ▲4.51

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

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
5 plugin tags: clone, acf, repeater, acf pro, duplicate

acf-clone-repeater/acf-clone-repeater.php Passed 13 tests

Analyzing the main PHP file in "ACF Clone Repeater" version 1.0
62 characters long description:
This Plugin is Duplicate Repeater and Layout Fields in ACF Pro

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin22 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP241222

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.67
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin