Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.32ms] Passed 4 tests
Analyzing server-side resources used by Open RDW kenteken voertuiginformatie
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.02 ▲5.42 |
Dashboard /wp-admin | 3.44 ▲0.10 | 49.28 ▼10.49 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 45.96 ▲1.82 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 86.69 ▼13.33 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.41 ▲0.73 |
Server storage [IO: ▲4.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 72 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_open_rdw_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Open RDW kenteken voertuiginformatie: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,056 ▲310 | 13.64 ▼0.79 | 5.84 ▲4.02 | 42.89 ▲1.48 |
Dashboard /wp-admin | 2,364 ▲173 | 4.96 ▼0.94 | 107.35 ▲1.61 | 80.91 ▲36.02 |
Posts /wp-admin/edit.php | 2,271 ▲182 | 2.05 ▲0.06 | 34.72 ▼3.48 | 32.96 ▼4.28 |
Add New Post /wp-admin/post-new.php | 1,699 ▲175 | 23.20 ▼0.07 | 792.08 ▲149.24 | 59.65 ▲5.47 |
Media Library /wp-admin/upload.php | 1,561 ▲170 | 4.24 ▲0.03 | 101.21 ▲3.26 | 81.94 ▲37.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_open_rdw_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/open-rdw-kenteken-voertuiginformatie/admin/partials/open-rdw-kenteken-voertuiginformatie-admin-getting-started.php
- 31× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ORK_PLUGIN_PATH - assumed 'ORK_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/admin/partials/open-rdw-kenteken-voertuiginformatie-admin-getting-started.php on line 58
- > PHP Notice
Undefined variable: args in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/public/partials/open-rdw-kenteken-voertuiginformatie-public-display.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/includes/open-rdw-kenteken-voertuiginformatie-fields.php:9
- > PHP Warning
Use of undefined constant ORK_PLUGIN_PATH - assumed 'ORK_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/admin/partials/open-rdw-kenteken-voertuiginformatie-admin-getting-started.php on line 73
- > PHP Notice
Undefined variable: args in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/public/partials/open-rdw-kenteken-voertuiginformatie-public-display.php on line 19
- > PHP Notice
Undefined variable: after_title in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/views/frontend/widget.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/views/admin/about.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/public/partials/open-rdw-kenteken-voertuiginformatie-public-display.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/includes/class-open-rdw-kenteken-voertuiginformatie-widget.php:8
- > PHP Warning
Use of undefined constant ORK_PLUGIN_PATH - assumed 'ORK_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/open-rdw-kenteken-voertuiginformatie/admin/partials/open-rdw-kenteken-voertuiginformatie-admin-getting-started.php on line 76
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Standaard instellingen scherm Open RDW - Informatie over integraties), #2 (Instellingen scherm met optie op API key aan te vragen voor Open RDW), #3 (Voorbeeldscherm Contact Form 7 integratie bij Open RDW plugin), #4 (Voorbeelscherm Widgets voor het integreren van kentekeninformatie via een widget / sidebar), #5 (Voorbeeldscherm (stap 1) voor de shortcode invoer binnen de WYSIWYG editor), #6 (Voorbeeldscherm (stap 2) voor de shortcode invoer binnen de WYSIWYG editor)
open-rdw-kenteken-voertuiginformatie/open-rdw-kenteken-voertuiginformatie.php 92% from 13 tests
Analyzing the main PHP file in "Open RDW kenteken voertuiginformatie" version 2.1.0
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
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
Good job! No executable or dangerous file extensions detected2,840 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 297 | 514 | 1,546 |
CSS | 4 | 123 | 2 | 652 |
PO File | 1 | 172 | 284 | 391 |
JavaScript | 7 | 63 | 27 | 251 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 43 | 87.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 12.24% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
26 PNG files occupy 4.53MB with 2.40MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/warning-icon.png | 0.62KB | 0.62KB | 0.00% |
resources/background.png | 0.50KB | 0.26KB | ▼ 48.14% |
admin/images/widget_nl.png | 1,081.24KB | 18.53KB | ▼ 98.29% |
public/images/stap1-installation.png | 114.34KB | 34.75KB | ▼ 69.61% |
resources/uitleg-cf.png | 23.35KB | 11.78KB | ▼ 49.54% |