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.00MB] [CPU: ▼1.09ms] Passed 4 tests
Analyzing server-side resources used by Simpaisa IBFT Payment Services
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.04 ▲0.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 65.08 ▲10.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 63.18 ▲6.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.01 ▼11.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.90 ▲0.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Simpaisa IBFT Payment Services
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,440 ▼1,321 | 11.88 ▼2.50 | 2.20 ▲0.23 | 49.45 ▲0.79 |
Dashboard /wp-admin | 2,209 ▲9 | 4.93 ▲0.06 | 105.67 ▼6.72 | 61.92 ▲16.51 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.01 | 39.52 ▲2.40 | 31.37 ▼5.82 |
Add New Post /wp-admin/post-new.php | 1,532 ▼13 | 23.35 ▲0.04 | 623.07 ▼51.29 | 27.31 ▼36.25 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.06 | 105.11 ▼11.12 | 53.40 ▲6.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simpaisa-ibft-payment-services/simpaisa-ibft-payment-service.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please describe screenshot #1 in simpaisa-ibft-payment-services/assets to your readme.txt
simpaisa-ibft-payment-services/simpaisa-ibft-payment-service.php 92% from 13 tests
Analyzing the main PHP file in "Simpaisa IBFT Payment Services" version 1.0.7
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simpaisa-ibft-payment-services.php" instead of "simpaisa-ibft-payment-service.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected651 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 124 | 22 | 418 |
CSS | 1 | 23 | 5 | 90 |
JavaScript | 1 | 18 | 6 | 74 |
Markdown | 1 | 20 | 0 | 69 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin