84% ac-cf7-form-field-repeater

Code Review | AC CF7 Form Field Repeater

WordPress plugin AC CF7 Form Field Repeater scored84%from 54 tests.

About plugin

  • Plugin page: ac-cf7-form-field...
  • Plugin version: 0.0.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.1
  • WordPress version: 6.3.1
  • First release: Mar 11, 2019
  • Latest release: Mar 12, 2019
  • Number of updates: 7
  • Update frequency: every 0.3 days
  • Top authors: ambercouch (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /2,400 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

Analyzing server-side resources used by AC CF7 Form Field Repeater
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.47 ▼2.87
Dashboard /wp-admin3.31 ▲0.0046.20 ▼9.63
Posts /wp-admin/edit.php3.36 ▲0.0044.22 ▼1.80
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.49 ▼14.52
Media Library /wp-admin/upload.php3.23 ▲0.0036.13 ▲2.34

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by AC CF7 Form Field Repeater
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.16 ▼0.191.63 ▼0.5138.93 ▼4.89
Dashboard /wp-admin2,195 ▲215.61 ▲0.0184.62 ▼23.8236.11 ▼11.05
Posts /wp-admin/edit.php2,100 ▼31.99 ▼0.0237.94 ▼2.3337.17 ▼0.29
Add New Post /wp-admin/post-new.php1,535 ▼118.22 ▼4.57664.02 ▲35.1984.55 ▲16.22
Media Library /wp-admin/upload.php1,400 ▼34.24 ▲0.1096.04 ▼6.5443.21 ▼1.26

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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 take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/ac-cf7-form-field-repeater/ac-cf7-form-field-repeater.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Please add images for these screenshots: #1 (Example of the form template code.), #2 (Example of the email template code.), #3 (Example of the contact form)
The official readme.txt might help

ac-cf7-form-field-repeater/ac-cf7-form-field-repeater.php 92% from 13 tests

The entry point to "AC CF7 Form Field Repeater" version 0.0.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Domain Path: The domain path folder was not found ("/lang/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin361 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity33.00
▷ Minimum class complexity33.00
▷ Maximum class complexity33.00
Average method complexity3.46
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods538.46%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions375.00%
▷ Anonymous functions125.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin