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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.18ms] Passed 4 tests
A check of server-side resources used by Date Picker For Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.74 ▼4.71 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.21 ▼1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.85 ▼2.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.69 ▼24.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.57 ▼1.45 |
Server storage [IO: ▲2.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 371 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Date Picker For Contact Form 7: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.81 ▲0.44 | 1.79 ▲0.13 | 41.50 ▼0.31 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.04 | 110.59 ▲8.10 | 41.23 ▼4.73 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.04 | 39.07 ▲1.19 | 36.05 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.54 ▼0.56 | 680.57 ▲66.92 | 54.89 ▲4.53 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▼0.02 | 93.47 ▼0.43 | 42.35 ▼3.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Contributors: Contributors not specified
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in date-picker-for-contact-form-7/assets to your readme.txt
date-picker-for-contact-form-7/date-picker-for-contact-from-7.php 92% from 13 tests
The main PHP file in "Date Picker For Contact Form 7" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("date-picker-for-contact-form-7.php" instead of "date-picker-for-contact-from-7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin41,305 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 51 | 1,350 | 1,975 | 40,700 |
PHP | 5 | 77 | 23 | 379 |
JavaScript | 2 | 11 | 3 | 226 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
311 PNG files occupy 0.99MB with 0.57MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assents/jquery-ui-themes/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png | 0.31KB | 0.08KB | ▼ 73.50% |
assents/jquery-ui-themes/themes/vader/images/ui-icons_666666_256x240.png | 7.00KB | 4.18KB | ▼ 40.22% |
assents/jquery-ui-themes/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png | 0.50KB | 0.15KB | ▼ 69.57% |
assents/jquery-ui-themes/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png | 5.82KB | 1.90KB | ▼ 67.41% |
assents/jquery-ui-themes/themes/base/images/ui-icons_ffffff_256x240.png | 6.39KB | 4.18KB | ▼ 34.52% |