Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.57ms] Passed 4 tests
A check of server-side resources used by WebwinkelKeur: Webshop keurmerk & reviews for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.98 ▼3.99 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.79 ▼14.75 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 51.33 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 101.10 ▲7.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 39.25 ▲5.69 |
WebwinkelKeur /wp-admin/options-general.php?page=webwinkelkeur | 3.36 | 38.18 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 23 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_webwinkelkeur_invite_error |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
webwinkelkeur_last_notice_version |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WebwinkelKeur: Webshop keurmerk & reviews for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲52 | 14.54 ▲0.19 | 1.59 ▼0.17 | 36.27 ▼7.63 |
Dashboard /wp-admin | 2,204 ▲33 | 5.64 ▲0.10 | 96.28 ▲4.02 | 50.57 ▲6.65 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.95 ▼0.07 | 39.33 ▲0.94 | 34.99 ▲4.48 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.52 ▲0.16 | 680.25 ▲78.78 | 55.92 ▲5.18 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.13 ▼0.06 | 95.87 ▼0.44 | 40.95 ▲0.00 |
WebwinkelKeur /wp-admin/options-general.php?page=webwinkelkeur | 1,104 | 1.86 | 27.34 | 28.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_webwinkelkeur_invite_error
- This plugin does not fully uninstall, leaving 7 options in the database
- webwinkelkeur_last_notice_version
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/webwinkelkeur/common/templates/woocommerce_review_sync_status.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/webwinkelkeur/common/templates/woocommerce_review_sync_status.php on line 2
- > PHP Notice
Undefined variable: details in wp-content/plugins/webwinkelkeur/common/templates/woocommerce_review_sync_status.php on line 1
- > PHP Notice
Undefined variable: details in wp-content/plugins/webwinkelkeur/common/templates/woocommerce_review_sync_status.php on line 2
- > PHP Notice
Undefined variable: plugin in wp-content/plugins/webwinkelkeur/common/templates/options.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function Valued\\WordPress\\register_activation_hook() in wp-content/plugins/webwinkelkeur/common/src/BasePlugin.php:36
- > PHP Fatal error
Uncaught Error: Call to a member function getName() on null in wp-content/plugins/webwinkelkeur/common/templates/options.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/webwinkelkeur/common/templates/woocommerce_review_sync_status.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Valued\\WordPress\\BasePlugin' not found in wp-content/plugins/webwinkelkeur/src/Plugin.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/webwinkelkeur/common/templates/woocommerce_review_sync_status.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function getDashboardDomain() on null in wp-content/plugins/webwinkelkeur/common/templates/sidebar.php:1
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: keurmerk, webwinkelkeur, reviews, woocommerce, webwinkel keurmerk...
webwinkelkeur/webwinkelkeur.php 92% from 13 tests
The principal PHP file in "WebwinkelKeur: Webshop keurmerk & reviews for WordPress" v. 3.31 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 425 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,960 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 222 | 31 | 1,607 |
PO File | 2 | 105 | 220 | 347 |
JavaScript | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 108 | |
▷ Static methods | 2 | 1.85% |
▷ Public methods | 63 | 58.33% |
▷ Protected methods | 3 | 2.78% |
▷ Private methods | 42 | 38.89% |
Functions | 12 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 12 | 100.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 7 | 87.50% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected