Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼143.03ms] Passed 4 tests
An overview of server-side resources used by Donate With Robokassa
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.10 | 33.26 ▲0.66 |
Dashboard /wp-admin | 3.16 ▲0.11 | 44.30 ▲1.10 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 44.23 ▼0.69 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.09 | 84.41 ▼573.18 |
Media Library /wp-admin/upload.php | 3.11 ▲0.10 | 33.10 ▲2.60 |
Donate With Robokassa (DWR) /wp-admin/options-general.php?page=donate-with-robokassa | 3.07 | 27.24 |
DWR Statistics /wp-admin/options-general.php?page=donate-with-robokassa-statistics | 3.08 | 31.29 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_dwr_donations |
New WordPress options |
---|
dwr_default_donation_amount |
dwr_merchant_pass_one |
dwr_force_delete_tables |
dwr_operation_description |
dwr_merchant_pass_two |
dwr_merchant_login |
dwr_result_url_method |
dwr_result_url |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Donate With Robokassa
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲121 | 15.89 ▲0.18 | 10.51 ▼0.97 | 48.50 ▼4.04 |
Dashboard /wp-admin | 2,979 ▲45 | 6.05 ▲0.08 | 151.42 ▲11.18 | 109.85 ▼6.59 |
Posts /wp-admin/edit.php | 2,751 ▲12 | 2.71 ▼0.01 | 65.41 ▲2.94 | 90.91 ▲4.30 |
Add New Post /wp-admin/post-new.php | 3,644 ▲2,146 | 15.23 ▼3.66 | 409.47 ▲40.29 | 106.74 ▼9.66 |
Media Library /wp-admin/upload.php | 1,837 ▲27 | 5.05 ▲0.04 | 142.22 ▼1.33 | 125.69 ▲6.98 |
Donate With Robokassa (DWR) /wp-admin/options-general.php?page=donate-with-robokassa | 1,160 | 2.18 | 60.43 | 74.69 |
DWR Statistics /wp-admin/options-general.php?page=donate-with-robokassa-statistics | 1,003 | 2.23 | 53.98 | 71.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_dwr_donations
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/donate-with-robokassa/donate-with-robokassa.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were 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
2 plugin tags: robokassa, donation
donate-with-robokassa/donate-with-robokassa.php 92% from 13 tests
This is the main PHP file of "Donate With Robokassa" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The plugin description must be longer than 10 characters (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin709 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 100 | 125 | 352 |
PO File | 2 | 110 | 167 | 166 |
Markdown | 1 | 57 | 0 | 135 |
CSS | 2 | 13 | 0 | 56 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin