Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.99ms] Passed 4 tests
Analyzing server-side resources used by Contact Form 7 - Repeatable Fields
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.01 | 52.82 ▲6.69 |
Dashboard /wp-admin | 3.57 ▼0.06 | 51.44 ▼17.85 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 50.65 ▼3.07 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.01 | 88.74 ▼21.81 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 36.15 ▼5.22 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form 7 - Repeatable Fields
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲76 | 14.38 ▲0.01 | 2.19 ▲0.30 | 46.15 ▲2.19 |
Dashboard /wp-admin | 2,218 ▲38 | 5.58 ▼0.13 | 87.95 ▼4.43 | 40.35 ▼2.31 |
Posts /wp-admin/edit.php | 2,124 ▲21 | 2.06 ▲0.05 | 34.98 ▲0.06 | 35.90 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,563 ▲18 | 23.21 ▲0.11 | 679.57 ▼42.59 | 74.96 ▲20.97 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.19 ▲0.04 | 102.53 ▼18.27 | 45.96 ▼2.00 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: repeater, repeatable, cf7, contact form 7
cf7-repeatable-fields/cf7-repeatable-fields.php Passed 13 tests
The main file in "Contact Form 7 - Repeatable Fields" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
89 characters long description:
An add-on plugin for Contact Form 7 that adds a repeatable group of fields functionality.
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
Success! There were no dangerous files found in this plugin380 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 140 | 230 |
JavaScript | 2 | 9 | 20 | 88 |
Markdown | 1 | 35 | 0 | 62 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 42.86% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin