Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼2.26ms] Passed 4 tests
Analyzing server-side resources used by Wordpress Paybox Payment plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 39.83 ▼6.45 |
Dashboard /wp-admin | 3.60 ▲0.30 | 49.88 ▲1.57 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 50.13 ▼0.99 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 98.09 ▼3.17 |
Media Library /wp-admin/upload.php | 3.47 ▲0.25 | 40.07 ▲6.65 |
Paybox /wp-admin/options-general.php?page=paybox_options | 3.44 | 33.56 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Wordpress Paybox Payment plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.48 ▲0.17 | 1.58 ▼0.38 | 39.72 ▼2.96 |
Dashboard /wp-admin | 2,217 ▲29 | 5.85 ▲0.96 | 104.29 ▼13.54 | 37.82 ▼4.98 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.00 ▼0.04 | 37.82 ▼1.44 | 35.52 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 18.10 ▼5.30 | 644.69 ▲12.53 | 52.69 ▼1.27 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.15 ▼0.09 | 97.70 ▼10.52 | 40.36 ▼3.85 |
Paybox /wp-admin/options-general.php?page=paybox_options | 1,070 | 2.09 | 25.43 | 47.18 |
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 were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=paybox_options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=paybox_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/paybox-by-verifone-integration/config_plugins.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper-payment.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper.php on line 3
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper-payment.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper-payment.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-encrypt.php on line 24
- > PHP Warning
include_once(ABSPATHwp-admin/includes/template.php): failed to open stream: No such file or directory in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper.php on line 4
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/template.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper.php on line 4
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/template.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper-payment.php on line 4
- > PHP Warning
include_once(ABSPATHwp-admin/includes/template.php): failed to open stream: No such file or directory in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper-payment.php on line 4
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paybox-by-verifone-integration/includes/paybox-helper.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: Add images for these screenshots: #1 (The administration panel: payment configuration), #2 (The administration panel: Paybox Account parameters)
paybox-by-verifone-integration/paybox-by-verifone-integration.php Passed 13 tests
The entry point to "Wordpress Paybox Payment plugin" version 1.0.0.1 is a PHP file that has certain tags in its header comment area
41 characters long description:
Paybox gateway payment plugins for Paybox
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin2,770 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 271 | 232 | 2,425 |
PO File | 1 | 138 | 162 | 345 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 23.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 82 | |
▷ Static methods | 11 | 13.41% |
▷ Public methods | 76 | 92.68% |
▷ Protected methods | 1 | 1.22% |
▷ Private methods | 5 | 6.10% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 0.56KB | 0.66KB | 0.00% |
assets/icon-256x256.png | 4.29KB | 2.11KB | ▼ 50.84% |
images/logo-small.png | 2.09KB | 1.59KB | ▼ 24.15% |
assets/icon-128x128.png | 5.44KB | 2.86KB | ▼ 47.43% |
images/logo.png | 5.88KB | 3.40KB | ▼ 42.14% |