Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.31ms] Passed 4 tests
Server-side resources used by Date & Time Picker for Advanced Custom Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.62 ▼3.98 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.27 ▲0.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.08 ▼1.44 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.58 ▼8.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.78 ▲3.12 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Date & Time Picker for Advanced Custom Fields
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.11 | 1.80 ▲0.06 | 40.45 ▼8.32 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲1.07 | 107.22 ▼9.99 | 38.37 ▼9.88 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.01 | 40.44 ▼1.49 | 34.90 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.33 ▲5.86 | 657.94 ▲20.49 | 52.76 ▼5.37 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.30 ▲0.11 | 99.74 ▼8.50 | 44.00 ▼1.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, 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 smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
5 plugin tags: custom field, timepicker, datepicker, advanced custom fields, acf
acf-date-time-picker/acf-date_time_picker.php 92% from 13 tests
This is the main PHP file of "Date & Time Picker for Advanced Custom Fields" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acf-date-time-picker.php" instead of "acf-date_time_picker.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
Success! There were no dangerous files found in this plugin2,460 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 223 | 325 | 1,879 |
PHP | 4 | 68 | 236 | 380 |
PO File | 2 | 56 | 60 | 161 |
CSS | 3 | 6 | 5 | 40 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected