Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.61ms] Passed 4 tests
A check of server-side resources used by Bridge - Payer par Virement Immédiat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.45 ▼0.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.70 ▼4.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.27 ▼8.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.99 ▼9.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.67 ▼4.28 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 64 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
bridge_key |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bridge - Payer par Virement Immédiat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.03 | 1.62 ▼0.44 | 43.74 ▲2.83 |
Dashboard /wp-admin | 2,192 ▲15 | 5.57 ▲0.04 | 87.47 ▼5.14 | 41.56 ▲2.14 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.96 ▼0.02 | 34.73 ▼3.56 | 34.52 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.25 ▲0.13 | 637.97 ▼73.60 | 47.96 ▼2.22 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.06 | 107.10 ▼2.00 | 42.09 ▼6.37 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- bridge_key
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/OpenSSL.php:5
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/ItExists.php:5
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/ConnectionError.php:5
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/BridgeApi.php:5
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/IO.php:5
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/NotExists.php:5
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/BridgeGateway.php:9
- > PHP Fatal error
Uncaught Error: Class 'BridgeApi\\Exceptions\\Exception' not found in wp-content/plugins/bridge-instant-bank-transfer/includes/Exceptions/DecodeError.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: payment, paiement, virement bancaire, wire transfer
bridge-instant-bank-transfer/bridgeapi-io.php 69% from 13 tests
The principal PHP file in "Bridge - Payer par Virement Immédiat" v. 1.0.12 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.1")
- Main file name: Name the main plugin file the same as the plugin slug ("bridge-instant-bank-transfer.php" instead of "bridgeapi-io.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires PHP: The required version number must match the one declared in readme.txt ("7.2" instead of "7.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,789 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 426 | 803 | 2,066 |
PO File | 1 | 105 | 116 | 263 |
CSS | 1 | 30 | 2 | 232 |
JavaScript | 3 | 26 | 0 | 200 |
JSON | 2 | 0 | 0 | 28 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 47 | 38.21% |
▷ Public methods | 108 | 87.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 12.20% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 17 | |
▷ Global constants | 14 | 82.35% |
▷ Class constants | 3 | 17.65% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.20MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/telephone.png | 7.93KB | 5.35KB | ▼ 32.57% |
assets/images/down-arrow.png | 0.39KB | 0.38KB | ▼ 3.27% |
assets/images/arrow-down-sign-to-navigate.png | 0.46KB | 0.39KB | ▼ 14.23% |
assets/images/magnifying-glass.png | 1.44KB | 1.53KB | 0.00% |
assets/images/checked.png | 1.48KB | 0.60KB | ▼ 59.30% |