Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.10ms] Passed 4 tests
Server-side resources used by ACF Duplicate Repeater
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.78 ▲1.90 |
Dashboard /wp-admin | 3.37 ▲0.03 | 46.19 ▼12.78 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.34 ▲0.30 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 91.61 ▼5.82 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.53 ▲2.39 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF Duplicate Repeater
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 13.18 ▼1.19 | 2.09 ▲0.11 | 44.17 ▼0.64 |
Dashboard /wp-admin | 2,226 ▲38 | 6.06 ▲0.19 | 106.76 ▲2.93 | 43.01 ▼0.46 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 1.98 ▼0.04 | 40.81 ▲5.67 | 36.84 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 18.43 ▲0.06 | 605.12 ▼26.84 | 51.86 ▼10.68 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.23 ▼0.03 | 98.03 ▼5.72 | 42.80 ▼0.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/acf-duplicate-repeater/include/autoload.php
- > /wp-content/plugins/acf-duplicate-repeater/include/ACFDuplicateRepeater/Core/Plugin.php
- > /wp-content/plugins/acf-duplicate-repeater/include/ACFDuplicateRepeater/Asset/Asset.php
- > /wp-content/plugins/acf-duplicate-repeater/include/ACFDuplicateRepeater/Core/ComponentInterface.php
- > /wp-content/plugins/acf-duplicate-repeater/index.php
- > /wp-content/plugins/acf-duplicate-repeater/include/ACFDuplicateRepeater/Core/Singleton.php
- > /wp-content/plugins/acf-duplicate-repeater/include/ACFDuplicateRepeater/Core/Core.php
- > /wp-content/plugins/acf-duplicate-repeater/include/ACFDuplicateRepeater/Core/CoreInterface.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: acf, repeater, acf pro, flexible content, duplicate...
acf-duplicate-repeater/index.php 92% from 13 tests
The principal PHP file in "ACF Duplicate Repeater" v. 2.0.6 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-duplicate-repeater.php" instead of "index.php")
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 detected545 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 168 | 289 | 401 |
PO File | 2 | 20 | 26 | 110 |
XML | 1 | 4 | 3 | 32 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 4 | 9.30% |
▷ Public methods | 35 | 81.40% |
▷ Protected methods | 3 | 6.98% |
▷ Private methods | 5 | 11.63% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin