Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.96ms] Passed 4 tests
An overview of server-side resources used by WP-e-Commerce Paybox by Verifone Gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.68 ▼6.49 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.35 ▼3.10 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.74 ▲3.61 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.77 ▲3.04 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 33.37 ▲2.69 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP-e-Commerce Paybox by Verifone Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲95 | 14.74 ▲0.36 | 1.79 ▼0.22 | 38.53 ▼6.42 |
Dashboard /wp-admin | 2,225 ▲37 | 5.84 ▲0.97 | 99.41 ▼17.28 | 48.02 ▲2.47 |
Posts /wp-admin/edit.php | 2,111 ▲25 | 2.02 ▲0.01 | 40.05 ▲2.40 | 45.33 ▲15.27 |
Add New Post /wp-admin/post-new.php | 1,376 ▼166 | 20.60 ▲2.32 | 516.31 ▼127.91 | 47.52 ▼8.58 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 4.17 ▼0.04 | 96.13 ▲0.70 | 45.64 ▲4.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WPSC_Paybox_Abstract_Gateway' not found in wp-content/plugins/paybox-by-verifone-for-wp-e-commerce/includes/wpsc-paybox-standard-gateway.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPSC_Paybox_Abstract_Gateway' not found in wp-content/plugins/paybox-by-verifone-for-wp-e-commerce/includes/wpsc-paybox-threetime-gateway.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (The WP-e-Commerce administration panel: payment configuration), #2 (The WP-e-Commerce administration panel: Paybox Account parameters)
- Donate link: Invalid url: "none"
paybox-by-verifone-for-wp-e-commerce/paybox-wp-e-commerce.php 92% from 13 tests
The primary PHP file in "WP-e-Commerce Paybox by Verifone Gateway" version 1.0.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("paybox-by-verifone-for-wp-e-commerce.php" instead of "paybox-wp-e-commerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected469 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 70 | 21 | 469 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 17.65% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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