Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/pin-dispenser-for-voguepay/VoguePayPins.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; VoguePayPins has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼53.33ms] Passed 4 tests
A check of server-side resources used by Product Dispenser for Voguepay Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.58 ▼34.48 |
Dashboard /wp-admin | 2.10 ▼1.21 | 5.92 ▼44.93 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.35 ▼41.83 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.55 ▼92.08 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.71 ▼28.73 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Dispenser for Voguepay Payment Gateway
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.22 ▼1.15 | 4.93 ▲3.22 | 43.54 ▲4.27 |
Dashboard /wp-admin | 2,213 ▲22 | 4.84 ▼0.04 | 108.93 ▲5.21 | 42.44 ▼0.61 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.01 | 39.25 ▲4.93 | 35.53 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.24 ▲5.64 | 630.17 ▼56.42 | 53.43 ▲0.29 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.23 ▼0.06 | 92.49 ▼9.81 | 43.66 ▼2.11 |
Vogue PIN Dispenser /wp-admin/VoguePayPins.php | 26 | 0.44 | 0.08 | 13.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/pin-dispenser-for-voguepay/VoguePayPins.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; VoguePayPins has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just 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_action() in wp-content/plugins/pin-dispenser-for-voguepay/VoguePayPins.php:133
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/VoguePayPins.php
- > Network (severe)
wp-admin/VoguePayPins.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
10 plugin tags: payment gateway, voguepay, interswitch, payment gateways, pin dispenser...
pin-dispenser-for-voguepay/VoguePayPins.php 85% from 13 tests
The primary PHP file in "Product Dispenser for Voguepay Payment Gateway" version 4.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 171 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("pin-dispenser-for-voguepay.php" instead of "VoguePayPins.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
Success! There were no dangerous files found in this plugin93 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 15 | 93 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin