Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.72MB] [CPU: ▼6.99ms] Passed 4 tests
A check of server-side resources used by Zibal Payment Gateway for Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.73 | 43.73 ▲0.28 |
Dashboard /wp-admin | 4.03 ▲0.69 | 47.63 ▼17.87 |
Posts /wp-admin/edit.php | 4.14 ▲0.79 | 51.47 ▲6.14 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.73 | 80.92 ▼15.89 |
Media Library /wp-admin/upload.php | 3.95 ▲0.73 | 39.32 ▲5.54 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zibal Payment Gateway for Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲36 | 13.20 ▼1.19 | 4.33 ▲2.13 | 41.20 ▼2.40 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼1.03 | 111.87 ▼2.44 | 47.87 ▼0.99 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.03 ▲0.03 | 39.71 ▲2.94 | 41.99 ▲8.85 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 23.00 ▲5.58 | 661.66 ▼18.42 | 58.11 ▼2.07 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.22 ▼0.05 | 101.53 ▼12.28 | 45.95 ▼2.56 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: gravityforms, payment, zibal, gateway
zibal-payment-gateway-for-gravity-forms/index.php 92% from 13 tests
The main PHP script in "Zibal Payment Gateway for Gravity Forms" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zibal-payment-gateway-for-gravity-forms.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,820 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 771 | 54 | 3,813 |
Markdown | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 193.67 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 342.00 |
Average method complexity | 9.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.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 | 69 | |
▷ Static methods | 69 | 100.00% |
▷ Public methods | 51 | 73.91% |
▷ Protected methods | 3 | 4.35% |
▷ Private methods | 15 | 21.74% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected