Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼0.20ms] Passed 4 tests
Server-side resources used by WPBoutik
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.38 | 50.80 ▼0.57 |
Dashboard /wp-admin | 3.69 ▲0.35 | 66.00 ▲2.15 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 67.81 ▲10.74 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 100.68 ▼13.10 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 58.81 ▲21.52 |
Server storage [IO: ▲3.97MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 734 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_widget_nouveaux_produits |
theysaidso_admin_options |
can_compress_scripts |
wpboutik_flush_rewrite_rules_flag |
widget_widget_meilleures_ventes |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPBoutik
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 14.43 ▼0.15 | 1.72 ▲0.11 | 45.66 ▲3.75 |
Dashboard /wp-admin | 2,303 ▲129 | 5.63 ▼0.07 | 87.69 ▼0.25 | 40.87 ▼2.56 |
Posts /wp-admin/edit.php | 2,184 ▲81 | 2.14 ▲0.11 | 40.05 ▼1.23 | 38.37 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,587 ▲61 | 23.26 ▲5.56 | 692.27 ▲0.18 | 67.12 ▲15.67 |
Media Library /wp-admin/upload.php | 1,480 ▲80 | 4.24 ▲0.01 | 113.92 ▼1.12 | 50.59 ▲1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- widget_widget_meilleures_ventes
- theysaidso_admin_options
- wpboutik_flush_rewrite_rules_flag
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_widget_nouveaux_produits
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 56× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/profiles/delete-profile.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/payments/webhook.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/customers/create-customer.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/subscriptions/cancel-subscription.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/customers/create-customer-first-payment.php
- > /wp-content/plugins/wpboutik/vendor/stripe/stripe-php/examples/oauth.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/subscriptions/create-subscription.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/orders/cancel-order.php
- > /wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/mandates/create-mandate.php
- > /wp-content/plugins/wpboutik/vendor/stripe/stripe-php/build.php
- 634× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/wpboutik/vendor/stripe/stripe-php/lib/Reporting/ReportRun.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_is_block_theme() in wp-content/plugins/wpboutik/templates/account/orders.php:2
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/wpboutik/vendor/stripe/stripe-php/lib/Service/ApplePayDomainService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Resources\\BaseResource' not found in wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/src/Resources/Order.php:9
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/wpboutik/vendor/stripe/stripe-php/lib/Card.php:44
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\TestCase' not found in wp-content/plugins/wpboutik/vendor/stripe/stripe-php/tests/Stripe/Radar/ValueListTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Exceptions\\ApiException' not found in wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/src/Exceptions/UnrecognizedClientException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/wpboutik/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\TestCase' not found in wp-content/plugins/wpboutik/vendor/stripe/stripe-php/tests/Stripe/Issuing/AuthorizationTest.php:9
- > PHP Warning
require_once(wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/payments/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpboutik/vendor/mollie/mollie-api-php/examples/payments/create-routed-payment.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
wpboutik/wpboutik.php 77% from 13 tests
The primary PHP file in "WPBoutik" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Git Repository: Please do not include Git repositories in your plugin
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Please make sure to remedy the following
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/wpboutik/vendor/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 671 | 8,026 | 21,308 | 42,353 |
JSON | 9 | 0 | 0 | 17,006 |
PO File | 1 | 2,026 | 2,108 | 4,092 |
CSS | 3 | 562 | 155 | 2,075 |
Markdown | 6 | 891 | 0 | 1,783 |
JavaScript | 12 | 148 | 190 | 1,112 |
XML | 3 | 0 | 0 | 67 |
make | 1 | 10 | 0 | 29 |
Sass | 2 | 3 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 12 | |
Traits | 12 | |
Classes | 557 | |
▷ Abstract classes | 16 | 2.87% |
▷ Concrete classes | 541 | 97.13% |
▷ Final classes | 159 | 29.39% |
Methods | 2,893 | |
▷ Static methods | 259 | 8.95% |
▷ Public methods | 2,593 | 89.63% |
▷ Protected methods | 225 | 7.78% |
▷ Private methods | 75 | 2.59% |
Functions | 150 | |
▷ Named functions | 74 | 49.33% |
▷ Anonymous functions | 76 | 50.67% |
Constants | 1,331 | |
▷ Global constants | 16 | 1.20% |
▷ Class constants | 1,315 | 98.80% |
▷ Public constants | 1,315 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/stripe/stripe-php/tests/data/test.png | 0.09KB | 0.09KB | 0.00% |