Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.50ms] Passed 4 tests
Server-side resources used by PayFlexi Installment Payment Plans for Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.81 ▲3.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.94 ▲1.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.94 ▼3.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.29 ▼6.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.30 ▼0.64 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
PayFlexi Installment Payment Plans for Gravity Forms: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.09 | 1.74 ▼0.23 | 44.20 ▲1.91 |
Dashboard /wp-admin | 2,198 ▲24 | 5.56 ▼0.11 | 81.27 ▼4.43 | 38.75 ▼3.87 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.03 ▲0.08 | 35.49 ▼11.04 | 33.67 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.41 ▲0.28 | 655.88 ▼25.12 | 60.65 ▲0.37 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.17 ▼0.07 | 94.29 ▼7.83 | 41.94 ▼2.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/payflexi-instalment-payment-gateway-for-gravity-forms/class-gf-payflexi-api.php
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 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires php: Invalid version format
- Screenshots: These screenshots lack descriptions #1, #2 in payflexi-instalment-payment-gateway-for-gravity-forms/assets to your readme.txt
payflexi-instalment-payment-gateway-for-gravity-forms/payflexi.php 69% from 13 tests
The primary PHP file in "PayFlexi Installment Payment Plans for Gravity Forms" version 1.3.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("payflexi-instalment-payment-gateway-for-gravity-forms.php" instead of "payflexi.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected791 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 230 | 592 | 791 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 30.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 38 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-payflexi-settings.png | 190.36KB | 80.94KB | ▼ 57.48% |