Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼431.91ms] Passed 4 tests
Server-side resources used by ACF Multi Dates Field
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 32.55 ▲13.17 |
Dashboard /wp-admin | 3.06 ▲0.01 | 43.65 ▲6.20 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 41.63 ▼2.34 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 90.82 ▼1,726.06 |
Media Library /wp-admin/upload.php | 3.00 ▼0.00 | 32.34 ▼5.44 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
ACF Multi Dates Field: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,692 ▲181 | 15.92 ▲1.56 | 7.82 ▲0.12 | 45.00 ▼3.22 |
Dashboard /wp-admin | 2,949 ▲84 | 6.01 ▲0.20 | 135.31 ▼18.33 | 108.30 ▼1.24 |
Posts /wp-admin/edit.php | 2,706 ▲3 | 2.69 ▼0.01 | 66.07 ▲2.93 | 94.99 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,653 ▲174 | 18.76 ▲1.66 | 365.49 ▲1.93 | 108.29 ▼4.37 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 4.99 ▼0.01 | 153.36 ▲1.97 | 115.25 ▼1.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No plugin tags provided
acf-multi-dates-picker/acf-multi-dates-picker.php Passed 13 tests
The entry point to "ACF Multi Dates Field" version 1.1.0 is a PHP file that has certain tags in its header comment area
41 characters long description:
Advanced Custom Fields Multi Dates Picker
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
Success! There were no dangerous files found in this plugin834 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 66 | 65 | 444 |
PHP | 4 | 250 | 558 | 202 |
CSS | 2 | 33 | 2 | 169 |
Markdown | 2 | 14 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.33MB with 0.15MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/screenshot-3.png | 213.33KB | 78.50KB | ▼ 63.20% |
screenshots/screenshot-2.png | 73.99KB | 28.82KB | ▼ 61.05% |
screenshots/screenshot-1.png | 41.71KB | 16.78KB | ▼ 59.78% |
assets/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |