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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.23ms] Passed 4 tests
This is a short check of server-side resources used by WP jQuery Persian Datepicker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 36.36 ▼6.85 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.70 ▲0.13 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.19 ▲3.73 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.96 ▼2.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.91 ▲0.37 |
WP jQuery Persian Datepicker /wp-admin/options-general.php?page=wp_jqpdp | 3.29 | 29.92 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP jQuery Persian Datepicker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,053 ▲318 | 15.67 ▲1.51 | 5.34 ▲3.43 | 38.11 ▼5.13 |
Dashboard /wp-admin | 2,354 ▲166 | 6.40 ▲1.53 | 131.88 ▲30.49 | 38.01 ▼5.21 |
Posts /wp-admin/edit.php | 2,263 ▲174 | 3.35 ▲1.37 | 53.95 ▲12.70 | 34.89 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 23.39 ▲5.00 | 618.72 ▼19.02 | 33.96 ▼24.78 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.15 ▼0.08 | 81.17 ▼26.42 | 40.08 ▼9.21 |
WP jQuery Persian Datepicker /wp-admin/options-general.php?page=wp_jqpdp | 1,001 | 3.11 | 38.26 | 38.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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/options-general.php?page=wp_jqpdp
- > Notice in wp-content/plugins/wpjqp-datepicker/inc/wpjqpdp_settings.php+160
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/wpjqp-datepicker/inc/wpjqpdp_settings.php
- > /wp-content/plugins/wpjqp-datepicker/src/inc/functions.php
- > /wp-content/plugins/wpjqp-datepicker/src/index.php
- > /wp-content/plugins/wpjqp-datepicker/inc/functions.php
- > /wp-content/plugins/wpjqp-datepicker/index.php
- > /wp-content/plugins/wpjqp-datepicker/src/inc/wpjqpdp_settings.php
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, 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 require attention:
- Screenshots: Screenshot #1 (WP jQuery Persian Datepicker > Default Settings Page - 1) image not found
wpjqp-datepicker/index.php 92% from 13 tests
Analyzing the main PHP file in "WP jQuery Persian Datepicker" version 0.1.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpjqp-datepicker.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,344 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 134 | 6 | 996 |
PHP | 3 | 101 | 23 | 278 |
Markdown | 1 | 53 | 0 | 69 |
JavaScript | 1 | 0 | 12 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 16 | |
▷ Named functions | 16 | 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
There are no PNG files in this plugin