Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.48MB] [CPU: ▼7.04ms] Passed 4 tests
Analyzing server-side resources used by Doppler Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 44.59 ▲2.92 |
Dashboard /wp-admin | 3.79 ▲0.44 | 51.22 ▼7.43 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 47.02 ▼4.32 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 85.10 ▼19.34 |
Media Library /wp-admin/upload.php | 3.72 ▲0.48 | 38.84 ▲3.54 |
Server storage [IO: ▲2.75MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 139 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_dplr_field |
wp_dplr_form |
wp_dplr_form_settings |
wp_dplr_field_settings |
New WordPress options |
---|
widget_theysaidso_widget |
dplr_version |
widget_recent-posts |
dplr_hub_script |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_dplr_form_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Doppler Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲219 | 14.28 ▼0.25 | 20.28 ▲18.68 | 42.11 ▲1.65 |
Dashboard /wp-admin | 2,246 ▲69 | 5.12 ▼0.51 | 85.87 ▼0.66 | 81.43 ▲39.06 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.57 ▲0.62 | 42.11 ▼1.97 | 35.28 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,570 ▲34 | 23.59 ▲5.50 | 669.63 ▲53.48 | 34.82 ▼35.47 |
Media Library /wp-admin/upload.php | 1,442 ▲39 | 4.65 ▲0.46 | 102.18 ▲5.25 | 80.53 ▲38.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% 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
- > Notice in wp-content/plugins/doppler-form/uninstall.php+8
Undefined index: slug
- Zombie tables detected upon uninstall: 4 tables
- wp_dplr_form
- wp_dplr_field_settings
- wp_dplr_field
- wp_dplr_form_settings
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-comments
- dplr_hub_script
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_dplr_form_widget
- dplr_version
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/doppler-form/test/test-script-post-subscriber.php
- > /wp-content/plugins/doppler-form/test/test-curl.php
- > /wp-content/plugins/doppler-form/public/partials/doppler-forms-public-display.php
- > /wp-content/plugins/doppler-form/test/test-get-list.php
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/doppler-form/admin/partials/forms-list.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/doppler-form/admin/partials/forms-create.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/doppler-form/includes/class-doppler-form-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/doppler-form/admin/partials/lists-crud.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/doppler-form/admin/partials/api-connection.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/doppler-form/admin/partials/data-hub.php:2
- > PHP Fatal error
Uncaught Error: Class 'DPLR_Base_Model' not found in wp-content/plugins/doppler-form/includes/models/Field_Model.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/doppler-form/admin/partials/extensions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/doppler-form/admin/partials/forms-edit.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/doppler-form/admin/partials/doppler-forms-display.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: "--"
doppler-form/doppler-form.php 92% from 13 tests
The main PHP file in "Doppler Forms" ver. 2.3.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 191 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected14,129 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,171 | 1,504 | 6,405 |
PHP | 33 | 774 | 620 | 3,284 |
Sass | 18 | 292 | 13 | 2,363 |
PO File | 2 | 413 | 553 | 886 |
JavaScript | 5 | 150 | 44 | 762 |
SVG | 9 | 0 | 7 | 409 |
JSON | 1 | 0 | 0 | 11 |
Markdown | 1 | 7 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 2 | 8.70% |
Methods | 122 | |
▷ Static methods | 23 | 18.85% |
▷ Public methods | 107 | 87.70% |
▷ Protected methods | 1 | 0.82% |
▷ Private methods | 14 | 11.48% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.32MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/screenshot-1-esp.png | 4.79KB | 2.70KB | ▼ 43.56% |
admin/img/screenshot-2-esp.png | 19.22KB | 6.96KB | ▼ 63.79% |
admin/img/icon-doppler-menu.png | 0.95KB | 0.60KB | ▼ 36.58% |
admin/img/screenshot-3.png | 6.68KB | 3.06KB | ▼ 54.27% |
admin/img/MS.png | 79.64KB | 1.28KB | ▼ 98.39% |