Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▲1.24ms] Passed 4 tests
Server-side resources used by Profiler Integration for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 35.93 ▲0.98 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.69 ▲2.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.76 ▲2.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.75 ▲7.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.22 ▼0.70 |
Server storage [IO: ▲0.46MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Profiler Integration for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.37 | 1.80 ▲0.35 | 40.17 ▲4.55 |
Dashboard /wp-admin | 2,195 ▲28 | 5.58 ▲0.01 | 91.25 ▼2.70 | 38.62 ▲3.22 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.03 | 38.93 ▲3.44 | 35.88 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.33 ▲2.41 | 634.26 ▼464.47 | 63.18 ▼20.96 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.05 | 96.73 ▼18.12 | 40.43 ▼9.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profiler-donations-gravityforms/index.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/profiler-donations-gravityforms/cardprocess.php:15
- > PHP Fatal error
Uncaught Error: Class 'GFFeedAddOn' not found in wp-content/plugins/profiler-donations-gravityforms/class-profilercommon.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profiler-donations-gravityforms/sync_users.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profiler-donations-gravityforms/sync_orgtype.php:29
- > PHP Fatal error
Uncaught Error: Class 'GFProfilerCommon' not found in wp-content/plugins/profiler-donations-gravityforms/class-profilerdonate-gfaddon.php:3
- > PHP Fatal error
Uncaught Error: Class 'GFProfilerDonate' not found in wp-content/plugins/profiler-donations-gravityforms/class-profilermembership-gfaddon.php:3
- > PHP Fatal error
Uncaught Error: Class 'GFProfilerCommon' not found in wp-content/plugins/profiler-donations-gravityforms/class-profilerevents-gfaddon.php:3
- > PHP Fatal error
Uncaught Error: Class 'GFProfilerDonate' not found in wp-content/plugins/profiler-donations-gravityforms/class-profilerupdate-gfaddon.php:3
- > PHP Fatal error
Uncaught Error: Class 'GFProfilerCommon' not found in wp-content/plugins/profiler-donations-gravityforms/class-profilerlistsbasic-gfaddon.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: crm, gravity-forms, fundraising, donation, profiler
profiler-donations-gravityforms/index.php 92% from 13 tests
"Profiler Integration for Gravity Forms" version 2.4.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("profiler-donations-gravityforms.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected4,280 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 984 | 359 | 4,002 |
Markdown | 2 | 77 | 0 | 266 |
JavaScript | 1 | 4 | 0 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 39.46 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 5.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 9 | 8.11% |
▷ Public methods | 85 | 76.58% |
▷ Protected methods | 18 | 16.22% |
▷ Private methods | 8 | 7.21% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin