Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼175.53ms] Passed 4 tests
Server-side resources used by Gravity Forms Payment Continue
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 34.98 ▲1.17 |
Dashboard /wp-admin | 3.06 ▲0.01 | 34.67 ▼18.47 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 45.80 ▲1.57 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 87.51 ▼686.39 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.68 ▲4.47 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Forms Payment Continue
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲106 | 16.26 ▲0.66 | 11.12 ▲1.55 | 48.95 ▼2.76 |
Dashboard /wp-admin | 2,973 ▲42 | 5.94 ▼0.12 | 137.55 ▼5.27 | 117.77 ▲9.65 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.02 | 64.41 ▼4.00 | 90.36 ▲3.32 |
Add New Post /wp-admin/post-new.php | 1,672 ▲174 | 18.88 ▲0.08 | 365.50 ▼3.49 | 110.48 ▼3.32 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.02 ▼0.04 | 143.16 ▼8.27 | 119.09 ▼5.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
Good news, no errors were detected
SRP 50% 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 items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-payment-continue/payment-continue.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/gf-payment-continue/includes/upgraders/upgrade_1_1_0.php:3
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/gf-payment-continue/gravity-forms-payment-continue.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: paypal, gravity forms
gf-payment-continue/payment-continue.php 77% from 13 tests
The main file in "Gravity Forms Payment Continue" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- 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
- Main file name: The principal plugin file should be the same as the plugin slug ("gf-payment-continue.php" instead of "payment-continue.php")
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,197 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 921 |
PHP | 4 | 83 | 273 | 201 |
JavaScript | 1 | 8 | 1 | 44 |
Markdown | 1 | 15 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There were not PNG files found in your plugin