Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.79ms] Passed 4 tests
Analyzing server-side resources used by Surbma | Datepicker localization for Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.19 ▼1.25 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.24 ▼3.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.67 ▼6.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.68 ▼19.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.29 ▲2.91 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Surbma | Datepicker localization for Gravity Forms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.12 | 4.48 ▲2.67 | 45.35 ▲1.69 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▼0.03 | 95.70 ▼3.55 | 39.53 ▼8.50 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.03 | 34.20 ▼7.62 | 34.47 ▼5.54 |
Add New Post /wp-admin/post-new.php | 1,528 ▼6 | 23.08 ▼0.17 | 674.03 ▲1.31 | 57.70 ▼10.42 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.08 | 98.53 ▼2.39 | 44.02 ▼7.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/surbma-datepicker-localization-for-gravity-forms/surbma-datepicker-localization-for-gravity-forms.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: datepicker, localization, gravityforms, gravity forms
surbma-datepicker-localization-for-gravity-forms/surbma-datepicker-localization-for-gravity-forms.php Passed 13 tests
The main PHP file in "Surbma | Datepicker localization for Gravity Forms" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
72 characters long description:
Localize the Datepicker field with this plugin's automatic localization.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,841 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 63 | 317 | 258 | 1,793 |
PO File | 1 | 7 | 18 | 33 |
PHP | 1 | 8 | 15 | 12 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin