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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.10ms] Passed 4 tests
Analyzing server-side resources used by Advanced Custom Fields: Date Selector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.98 ▲0.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.20 ▼2.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.20 ▼7.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.77 ▼18.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.86 ▲3.90 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Custom Fields: Date Selector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.14 | 1.90 ▲0.30 | 44.44 ▲2.90 |
Dashboard /wp-admin | 2,189 ▲12 | 5.60 ▲0.01 | 94.75 ▲8.00 | 37.89 ▼5.44 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.01 | 34.36 ▼3.35 | 34.05 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.00 ▲0.00 | 668.08 ▼19.07 | 51.46 ▼7.49 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.17 ▲0.02 | 104.78 ▼2.69 | 47.04 ▲2.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: age, acf, birthday, famousui, kennykey...
acf-date-selector/acf-field-date-selector.php 92% from 13 tests
The main PHP file in "Advanced Custom Fields: Date Selector" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("acf-date-selector.php" instead of "acf-field-date-selector.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected199 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 205 | 352 | 169 |
JavaScript | 1 | 18 | 32 | 15 |
Markdown | 5 | 10 | 0 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 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
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 22.68KB | 5.50KB | ▼ 75.76% |