Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.84ms] Passed 4 tests
A check of server-side resources used by PayU India - Official Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.07 ▼4.36 |
Dashboard /wp-admin | 3.43 ▲0.08 | 47.12 ▼17.08 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.70 ▼0.09 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.63 ▼1.83 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.44 ▲0.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by PayU India - Official Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.15 | 4.52 ▲2.76 | 41.77 ▼2.21 |
Dashboard /wp-admin | 2,203 ▲12 | 6.06 ▲1.14 | 106.02 ▲0.92 | 39.86 ▼1.23 |
Posts /wp-admin/edit.php | 2,071 ▼21 | 2.01 ▲0.04 | 34.39 ▼2.76 | 34.79 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.68 ▼5.47 | 699.08 ▲90.43 | 52.21 ▲0.75 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.02 | 95.38 ▼7.72 | 44.91 ▲2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Congratulations! This plugin passed the SRP test
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 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
- Contributors: The plugin contributors field is missing
- Contributors: No tags were detected
payu-india/index.php 92% from 13 tests
Analyzing the main PHP file in "PayU India - Official Plugin" version 3.8.2
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("payu-india.php" instead of "index.php")
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
There were no executable files found in this plugin660 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 91 | 67 | 660 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 7.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
There are no PNG files in this plugin