Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.71ms] Passed 4 tests
This is a short check of server-side resources used by Integration of CiviCRM's Form Processor with Caldera Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.40 ▼6.48 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.01 ▲3.61 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.28 ▲0.67 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.94 ▼9.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 34.79 ▲0.69 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Integration of CiviCRM's Form Processor with Caldera Forms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.23 ▼1.52 | 1.77 ▲0.03 | 44.70 ▼0.27 |
Dashboard /wp-admin | 2,206 ▲24 | 5.85 ▲0.96 | 104.20 ▼25.85 | 39.72 ▼3.94 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.01 | 38.49 ▼1.86 | 34.38 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.30 ▲0.02 | 601.55 ▼35.05 | 51.22 ▲8.66 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.16 ▼0.05 | 97.11 ▼1.02 | 40.74 ▼1.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cf-civicrm-formprocessor/includes/class-local-civicrm.php
- > /wp-content/plugins/cf-civicrm-formprocessor/includes/class-formprocessor-loader.php
- > /wp-content/plugins/cf-civicrm-formprocessor/cf-civicrm-formprocessor.php
- > /wp-content/plugins/cf-civicrm-formprocessor/processors/formprocessor/class-formprocessor-processor.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Caldera_Forms_Processor_UI' not found in wp-content/plugins/cf-civicrm-formprocessor/templates/processor.php:1
- > PHP Fatal error
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
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: civicrm, forms, form, contact form
cf-civicrm-formprocessor/cf-civicrm-formprocessor.php 85% from 13 tests
Analyzing the main PHP file in "Integration of CiviCRM's Form Processor with Caldera Forms" version 1.0.1
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
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
No dangerous file extensions were detected526 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 82 | 193 | 520 |
Markdown | 1 | 3 | 0 | 6 |
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 code | 0.51 |
Average class complexity | 29.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 7.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 3 | 21.43% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 1 | 7.14% |
▷ Private methods | 1 | 7.14% |
Functions | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin