Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.82ms] Passed 4 tests
An overview of server-side resources used by Payment Gateway for PayUmoney on Easy Digital Downloads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 32.80 ▼2.42 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.40 ▼2.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.10 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.54 ▼18.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.00 ▲0.34 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Payment Gateway for PayUmoney on Easy Digital Downloads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.24 ▼1.07 | 4.43 ▲2.89 | 37.88 ▼1.59 |
Dashboard /wp-admin | 2,206 ▲14 | 4.98 ▼0.00 | 107.01 ▼1.12 | 42.12 ▲4.68 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.08 | 39.50 ▲0.90 | 35.90 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,533 ▲16 | 23.02 ▲5.22 | 658.34 ▲42.26 | 60.13 ▼1.47 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▼0.11 | 99.37 ▼1.16 | 40.70 ▼4.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: online payments, payment gateway, payuindia, payumoney, easy digital downloads...
edd-payu-gateway/edd-payu-gateway.php 92% from 13 tests
The main file in "Payment Gateway for PayUmoney on Easy Digital Downloads" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin379 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 71 | 325 |
PO File | 1 | 15 | 16 | 54 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected