Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.78ms] Passed 4 tests
This is a short check of server-side resources used by SecurePay For GravityForms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.52 ▼4.19 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.34 ▼1.68 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.99 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 87.76 ▼15.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.09 ▼1.56 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SecurePay For GravityForms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.19 ▼0.54 | 1.92 ▲0.33 | 39.35 ▼0.07 |
Dashboard /wp-admin | 2,209 ▲31 | 5.58 ▼0.07 | 89.60 ▼17.04 | 37.49 ▼4.15 |
Posts /wp-admin/edit.php | 2,114 ▲35 | 2.02 ▲0.04 | 44.16 ▲5.42 | 37.32 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.40 ▼0.11 | 619.89 ▲12.68 | 82.41 ▲32.94 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.22 ▲0.03 | 98.55 ▼2.67 | 41.90 ▼3.84 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: payment platform, fpx, payment gateway, online banking, malaysia
securepay-for-gravityforms/securepay-for-gravityforms.php 92% from 13 tests
"SecurePay For GravityForms" version 1.0.12's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,332 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 228 | 53 | 1,255 |
CSS | 2 | 5 | 0 | 39 |
JavaScript | 2 | 5 | 1 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 116.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 226.00 |
Average method complexity | 5.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 50 | |
▷ Static methods | 11 | 22.00% |
▷ Public methods | 39 | 78.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 22.00% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
29 PNG files occupy 0.15MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/bnk/rhb0218.png | 2.56KB | 1.38KB | ▼ 46.13% |
includes/admin/bnk/scb0216.png | 4.63KB | 2.54KB | ▼ 45.01% |
includes/admin/bnk/test0022.png | 2.88KB | 1.52KB | ▼ 47.23% |
includes/admin/bnk/bimb0340.png | 2.05KB | 1.33KB | ▼ 35.39% |
includes/admin/bnk/hlb0224.png | 4.09KB | 2.13KB | ▼ 48.01% |