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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.98ms] Passed 4 tests
Analyzing server-side resources used by ACF YouTube Picker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.22 ▼1.36 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.57 ▼4.82 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.22 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 98.07 ▼5.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.50 ▼1.90 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for ACF YouTube Picker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.64 ▲0.06 | 1.61 ▼0.41 | 40.36 ▼2.30 |
Dashboard /wp-admin | 2,206 ▲18 | 5.92 ▲0.05 | 111.35 ▼19.22 | 40.04 ▼6.01 |
Posts /wp-admin/edit.php | 2,089 ▼6 | 1.98 ▼0.02 | 38.10 ▼13.17 | 31.34 ▼6.60 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.62 ▼5.54 | 647.60 ▲15.19 | 64.82 ▼35.14 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.25 ▲0.07 | 108.04 ▼13.02 | 42.57 ▼2.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 96% from 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
8 plugin tags: custom field, search, acf, simple, field...
acf-youtube-picker/acf-youtubepicker.php 92% from 13 tests
The main PHP file in "ACF YouTube Picker" ver. 3.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("acf-youtube-picker.php" instead of "acf-youtubepicker.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
Good job! No executable or dangerous file extensions detected1,902 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 141 | 342 | 892 |
PHP | 3 | 104 | 11 | 606 |
CSS | 4 | 45 | 0 | 265 |
Markdown | 2 | 27 | 0 | 139 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 19 | |
▷ Static methods | 7 | 36.84% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 3 | 15.79% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin