Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.09ms] Passed 4 tests
A check of server-side resources used by Multiple Range Slider For Gravity Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.69 ▲1.86 |
Dashboard /wp-admin | 3.44 ▲0.13 | 56.64 ▲3.01 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 55.18 ▲3.41 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.77 ▼8.65 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 44.94 ▲7.86 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/multiple-range-slider-for-gravity-form/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Multiple Range Slider For Gravity Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲190 | 14.53 ▲0.14 | 14.83 ▲13.06 | 38.71 ▼8.30 |
Dashboard /wp-admin | 2,226 ▲23 | 5.83 ▲0.02 | 100.32 ▼7.17 | 43.18 ▲2.38 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.00 ▲0.00 | 39.96 ▲1.18 | 38.08 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.23 ▲5.53 | 645.81 ▼43.07 | 64.64 ▼2.83 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.17 ▼0.08 | 115.08 ▼4.39 | 47.49 ▼1.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/multiple-range-slider-for-gravity-form/multiple-rangeslider-gf.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-range-slider-for-gravity-form/main/backend/single_rangeslider_backend.php:111
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-range-slider-for-gravity-form/main/resources/multiple-rangeslider-installation-require.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-range-slider-for-gravity-form/main/resources/multiple-rangeslider-load-js-css.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-range-slider-for-gravity-form/main/resources/multiple-rangeslider-language.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-range-slider-for-gravity-form/main/backend/slider_label_backend.php:112
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-range-slider-for-gravity-form/main/backend/multiple_rangeslider_backend.php:111
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is missing
multiple-range-slider-for-gravity-form/multiple-rangeslider-gf.php 92% from 13 tests
The entry point to "Multiple Range Slider For Gravity Form" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("multiple-range-slider-for-gravity-form.php" instead of "multiple-rangeslider-gf.php")
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
Everything looks great! No dangerous files found in this plugin3,540 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 100 | 84 | 1,884 |
JavaScript | 7 | 340 | 111 | 992 |
PHP | 7 | 92 | 57 | 664 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin