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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.65ms] Passed 4 tests
Server-side resources used by Gravity Forms Paystation (3 Party Hosted)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 42.67 ▼6.21 |
Dashboard /wp-admin | 3.45 ▲0.14 | 52.70 ▲1.65 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 52.21 ▲4.78 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 97.50 ▼2.83 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 42.90 ▲4.88 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
gfpaystation_plugin |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Gravity Forms Paystation (3 Party Hosted)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.34 ▼0.07 | 1.96 ▲0.26 | 38.68 ▼3.91 |
Dashboard /wp-admin | 2,207 ▲33 | 5.64 ▲0.04 | 93.08 ▲1.93 | 40.34 ▼0.16 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.00 ▼0.02 | 41.94 ▲4.66 | 36.18 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 22.98 ▼0.17 | 682.27 ▼3.13 | 66.31 ▲3.41 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.19 ▼0.12 | 114.13 ▲13.99 | 48.29 ▲2.06 |
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 7 options in the database
- theysaidso_admin_options
- gfpaystation_plugin
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gravity-forms-paystation-3-party-hosted/class.GFPaystationPlugin.php:76
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
gravity-forms-paystation-3-party-hosted/gravityforms-paystation.php 85% from 13 tests
The main file in "Gravity Forms Paystation (3 Party Hosted)" v. 1.5.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 157 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gravity-forms-paystation-3-party-hosted.php" instead of "gravityforms-paystation.php")
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
Good job! No executable or dangerous file extensions detected1,579 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 396 | 829 | 1,517 |
JavaScript | 1 | 11 | 19 | 39 |
CSS | 1 | 7 | 1 | 23 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 77 | |
▷ Static methods | 12 | 15.58% |
▷ Public methods | 62 | 80.52% |
▷ Protected methods | 11 | 14.29% |
▷ Private methods | 4 | 5.19% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 9 | 90.00% |
▷ Class constants | 1 | 10.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/paystation-32.png | 4.31KB | 1.57KB | ▼ 63.45% |