Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/vdpetform/includes/class-vdpetform.php+154
Undefined variable: plugin_basename
Server metrics [RAM: ▼1.87MB] [CPU: ▼49.48ms] Passed 4 tests
Server-side resources used by Vergelijkdirect.com - Vergelijk verzekeringen, energie en telecom.
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 4.95 ▼37.59 |
Dashboard /wp-admin | 2.14 ▼1.16 | 6.66 ▼39.87 |
Posts /wp-admin/edit.php | 2.14 ▼1.22 | 8.59 ▼34.72 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 8.62 ▼85.74 |
Media Library /wp-admin/upload.php | 2.14 ▼1.09 | 6.66 ▼28.14 |
Maak vergelijker /wp-admin/admin.php?page=vergelijkdirect_form | 2.14 | 6.77 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vdforms |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Vergelijkdirect.com - Vergelijk verzekeringen, energie en telecom.
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲190 | 15.02 ▲0.63 | 26.04 ▲23.61 | 38.05 ▼7.60 |
Dashboard /wp-admin | 2,262 ▲74 | 5.92 ▲0.06 | 137.70 ▲33.65 | 43.18 ▼1.71 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.75 ▲0.74 | 50.74 ▲13.83 | 34.89 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.74 ▲0.39 | 696.14 ▲11.61 | 36.39 ▼16.54 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 5.25 ▲1.07 | 103.62 ▼37.72 | 44.69 ▼3.12 |
Maak vergelijker /wp-admin/admin.php?page=vergelijkdirect_form | 893 | 2.90 | 35.30 | 31.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/vdpetform/includes/class-vdpetform.php+154
Undefined variable: plugin_basename
- Zombie tables detected upon uninstall: 1 table
- wp_vdforms
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/includes/class-vdpetform.php+154
Undefined variable: plugin_basename
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+132
Undefined index: card_padding
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+133
Undefined index: border_color
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+134
Undefined index: form_style
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+135
Undefined index: border_thickness
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+136
Undefined index: card_color
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+137
Undefined index: text_color
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+138
Undefined index: card_border_radius
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+139
Undefined index: btn_text
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+140
Undefined index: btn_text_color
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+141
Undefined index: btn_color
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+142
Undefined index: btn_color_hover
- > GET request to /wp-admin/admin.php?page=vergelijkdirect_form
- > Notice in wp-content/plugins/vdpetform/admin/class-vdpetform-admin.php+143
Undefined index: btn_border_radius
SRP 0% 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
The following issues need your attention
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/vdpetform/admin/partials/vdpetform-admin-edit.php
- > /wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-motor.php
- > /wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-bike.php
- > /wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-pet.php
- 220× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-bike.php on line 73
- > PHP Notice
Trying to get property 'border_thickness' of non-object in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-motor.php on line 126
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-bike.php on line 73
- > PHP Notice
Trying to get property 'card_border_radius' of non-object in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-pet.php on line 94
- > PHP Notice
Trying to get property 'form_id' of non-object in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-pet.php on line 55
- > PHP Notice
Undefined variable: data in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-bike.php on line 129
- > PHP Notice
Trying to get property 'border_thickness' of non-object in wp-content/plugins/vdpetform/admin/partials/vdpetform-admin-edit.php on line 133
- > PHP Notice
Trying to get property 'card_padding' of non-object in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-bike.php on line 71
- > PHP Notice
Undefined variable: data in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-pet.php on line 91
- > PHP Notice
Undefined variable: data in wp-content/plugins/vdpetform/admin/partials/forms/vdpetform-admin-form-pet.php on line 138
- > PHP Notice
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: "Vergelijkdirect.com"
- Contributors: The plugin contributors field is missing
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== vdpetform ===
)
vdpetform/vdpetform.php 92% from 13 tests
The primary PHP file in "Vergelijkdirect.com - Vergelijk verzekeringen, energie en telecom." version 3.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 235 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,323 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 175 | 535 | 1,318 |
JavaScript | 3 | 0 | 0 | 3 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 4.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 4 | 11.43% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 3 | |
▷ Named functions | 3 | 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 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sucker.png | 0.65KB | 0.74KB | 0.00% |