Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.92ms] Passed 4 tests
Server-side resources used by DBS-Parspal-JustPay
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 40.07 ▼4.00 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.18 ▼1.57 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 45.26 ▼6.38 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 96.12 ▼11.72 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.80 ▲0.73 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for DBS-Parspal-JustPay
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.25 ▼1.14 | 1.56 ▼0.41 | 39.13 ▼2.42 |
Dashboard /wp-admin | 2,225 ▲37 | 5.89 ▲0.08 | 94.33 ▼7.68 | 43.17 ▲1.80 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.01 ▼0.00 | 37.47 ▼1.83 | 40.59 ▲4.93 |
Add New Post /wp-admin/post-new.php | 1,565 ▲32 | 19.22 ▼3.96 | 595.20 ▼39.83 | 70.46 ▲17.73 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.20 ▲0.01 | 93.79 ▼13.57 | 46.82 ▼1.34 |
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 does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected 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 90% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== dbs-parspal-justpay ===
) - Screenshots: Screenshot #1 (ایمیل حاوی اطلاعات پرداخت ارسال شده به صاحب حساب و فریدار.) image not found
dbs-parspal-justpay/DBS-Parspal-JustPay.php 92% from 13 tests
The principal PHP file in "DBS-Parspal-JustPay" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dbs-parspal-justpay.php" instead of "DBS-Parspal-JustPay.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 plugin364 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 90 | 27 | 364 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin