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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.05ms] Passed 4 tests
Analyzing server-side resources used by Simple Chase E-xact for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.64 ▼2.47 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.50 ▼2.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.81 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.85 ▼4.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.78 ▲1.41 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Chase E-xact for Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.52 ▼0.86 | 2.06 ▲0.18 | 44.35 ▼1.97 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▼0.04 | 111.81 ▲6.87 | 39.36 ▼2.83 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 39.16 ▼7.06 | 35.74 ▼6.15 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.18 ▲5.09 | 682.48 ▲68.29 | 58.81 ▲5.44 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.30 ▲0.02 | 100.97 ▼7.49 | 45.72 ▼1.79 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-chase-exact/gf-chase-exact.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-chase-exact/class-gf-exact.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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: e-xact, gravity form, chase e-xact, gravity forms, chase
gf-chase-exact/gf-chase-exact.php 92% from 13 tests
Analyzing the main PHP file in "Simple Chase E-xact for Gravity Forms" version 1.3
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin766 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 260 | 155 | 766 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 72.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 3 | 8.57% |
▷ Public methods | 32 | 91.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.57% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin