Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/webshop-keurmerk/Webshop-keurmerk.php+101
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼56.66ms] Passed 4 tests
An overview of server-side resources used by Webshop Keurmerk
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.40 | 4.56 ▼36.75 |
Dashboard /wp-admin | 2.09 ▼1.22 | 5.61 ▼42.30 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.43 ▼45.60 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.10 ▼101.98 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.42 ▼32.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_keurmerk_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Webshop Keurmerk
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.39 | 1.67 ▼0.10 | 41.13 ▼4.57 |
Dashboard /wp-admin | 2,206 ▲15 | 5.95 ▲1.08 | 105.60 ▲2.53 | 41.37 ▼1.51 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.08 | 35.10 ▼4.36 | 34.05 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.34 ▲5.78 | 587.97 ▼92.14 | 51.60 ▲0.04 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.30 ▲0.17 | 102.40 ▼3.47 | 45.65 ▼9.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/webshop-keurmerk/Webshop-keurmerk.php+101
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_keurmerk_widget
- can_compress_scripts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/webshop-keurmerk/Webshop-keurmerk.php
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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: widgets, dutch, netherlands, webshop keurmerk, keurmerk...
webshop-keurmerk/Webshop-keurmerk.php 92% from 13 tests
Analyzing the main PHP file in "Webshop Keurmerk" version 1.0
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("webshop-keurmerk.php" instead of "Webshop-keurmerk.php")
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 plugin63 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 15 | 63 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Webshop-Keurmerk-Groot.png | 14.75KB | 6.73KB | ▼ 54.36% |
images/Webshop-Keurmerk-Klein.png | 4.90KB | 3.04KB | ▼ 37.92% |
images/Webshop-Keurmerk-Normaal.png | 5.43KB | 3.31KB | ▼ 39.00% |