Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼7.90ms] Passed 4 tests
Analyzing server-side resources used by Wuunder Dynamic Checkout
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 42.56 ▲4.49 |
Dashboard /wp-admin | 3.57 ▲0.26 | 45.38 ▼3.79 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 44.51 ▼12.06 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 86.09 ▼19.27 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.84 ▲3.52 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 10 new options
New WordPress options |
---|
wuunder_plugin_environment |
wuunder_plugin_status |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
wuunder_plugin_version |
db_upgraded |
wuunder_checkout_status |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Wuunder Dynamic Checkout
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 13.96 ▼0.27 | 5.59 ▲3.92 | 39.02 ▼6.99 |
Dashboard /wp-admin | 2,210 ▲19 | 4.82 ▼0.07 | 115.20 ▲4.99 | 43.29 ▼4.70 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.02 | 36.09 ▼3.59 | 35.73 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,518 ▼15 | 17.72 ▼5.49 | 735.29 ▲88.23 | 58.46 ▼3.93 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.12 | 100.95 ▼5.60 | 42.79 ▼4.21 |
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
- > Notice in wp-content/plugins/wuunder-dynamic-checkout/includes/class-wuunder-deactivator.php+54
Trying to access array offset on value of type null
- Zombie WordPress options detected upon uninstall: 8 options
- wuunder_plugin_version
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- wuunder_checkout_status
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wuunder-dynamic-checkout/public/partials/wuunder-public-display.php
- > /wp-content/plugins/wuunder-dynamic-checkout/admin/partials/wuunder-admin-display.php
- 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/wuunder-dynamic-checkout/includes/wuunder-setup.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Wuunder ontzorgt), #2 (Wuunder vervoert), #3 (Verzenden en ontvangen), #4 (Pick-up of zelf brengen), #5 (Meerdere boekingen in 1x), #6 (Volg zendingen en retouren), #7 (Eenvoudig labels printen)
wuunder-dynamic-checkout/wuunder.php 85% from 13 tests
This is the main PHP file of "Wuunder Dynamic Checkout" version 3.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wuunder-dynamic-checkout.php" instead of "wuunder.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
Everything looks great! No dangerous files found in this plugin1,642 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 314 | 665 | 1,545 |
CSS | 2 | 10 | 9 | 65 |
PO File | 1 | 7 | 6 | 21 |
JavaScript | 2 | 2 | 27 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 11 | 21.57% |
▷ Public methods | 44 | 86.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 13.73% |
Functions | 38 | |
▷ Named functions | 35 | 92.11% |
▷ Anonymous functions | 3 | 7.89% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/images/.!35200!wuunder_logo.png | 0.00KB | 0.00KB | 0.00% |
assets/images/wuunder_logo.png | 7.62KB | 3.92KB | ▼ 48.64% |
(invalid) assets/images/.!53149!wuunder_logo.png | 0.00KB | 0.00KB | 0.00% |
(invalid) assets/images/.!43778!wuunder_logo.png | 0.00KB | 0.00KB | 0.00% |