Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.26ms] Passed 4 tests
Server-side resources used by Integration for CardConnect and Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 33.16 ▼10.54 |
Dashboard /wp-admin | 3.45 ▲0.15 | 43.78 ▼6.23 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.84 ▲0.87 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.93 ▲5.53 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 32.14 ▼1.12 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.52 | 33.40 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Integration for CardConnect and Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▲0.38 | 1.64 ▼0.38 | 41.90 ▼8.25 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.08 | 107.12 ▼5.54 | 40.17 ▼5.73 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.01 ▼0.03 | 39.77 ▲3.53 | 36.86 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,536 ▲7 | 23.30 ▲0.18 | 588.31 ▼85.24 | 45.55 ▼7.08 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.02 | 93.35 ▼4.92 | 40.64 ▼4.62 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 974 | 2.03 | 24.05 | 27.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/pest/examples/intouch_example.php
- 34× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_wpPostStore.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_ListTable' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_ListTable.php:7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_WPCLI_QueueRunner.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_wpCommentLogger.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner_Deprecated' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_Abstract_QueueRunner.php:6
- > PHP Fatal error
Uncaught Pest_Curl_Exec: Failed to connect to localhost port 3000: Connection refused in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/pest/Pest.php:232
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_QueueRunner.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_IntervalSchedule.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/classes/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/integration-for-cardconnect-and-gravity-forms/vendor/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
3 plugin tags: crm, integration, forms
integration-for-cardconnect-and-gravity-forms/gravityforms-cardconnect.php 85% from 13 tests
"Integration for CardConnect and Gravity Forms" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("integration-for-cardconnect-and-gravity-forms.php" instead of "gravityforms-cardconnect.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected4,782 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 1,142 | 3,093 | 4,562 |
Markdown | 3 | 78 | 0 | 186 |
JSON | 2 | 0 | 0 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 8 | 11.43% |
▷ Concrete classes | 62 | 88.57% |
▷ Final classes | 0 | 0.00% |
Methods | 417 | |
▷ Static methods | 38 | 9.11% |
▷ Public methods | 307 | 73.62% |
▷ Protected methods | 102 | 24.46% |
▷ Private methods | 8 | 1.92% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 1 | 5.00% |
▷ Class constants | 19 | 95.00% |
▷ Public constants | 19 | 100.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