Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.71ms] Passed 4 tests
A check of server-side resources used by ValuePay for Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.01 ▼8.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.15 ▼0.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.44 ▲1.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.85 ▲5.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.82 ▲0.35 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ValuePay for Gravity Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.63 ▼1.12 | 1.53 ▼0.65 | 39.67 ▼2.07 |
Dashboard /wp-admin | 2,215 ▲24 | 4.84 ▼0.00 | 106.79 ▲1.51 | 39.77 ▼2.32 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.02 | 39.92 ▲0.35 | 37.60 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 18.18 ▼4.85 | 588.39 ▼17.22 | 51.31 ▼8.18 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▲0.05 | 95.86 ▼7.37 | 42.36 ▼1.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
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 96% 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: valuepay, payment, gravity forms
valuepay-for-gravity-forms/valuepay-gf.php 92% from 13 tests
The main PHP file in "ValuePay for Gravity Forms" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("valuepay-for-gravity-forms.php" instead of "valuepay-gf.php")
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
Success! There were no dangerous files found in this plugin932 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 353 | 107 | 932 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 22.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 1 | 1.92% |
▷ Public methods | 32 | 61.54% |
▷ Protected methods | 3 | 5.77% |
▷ Private methods | 17 | 32.69% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ 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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/valuepay-icon.png | 0.81KB | 0.91KB | 0.00% |