Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.16ms] Passed 4 tests
An overview of server-side resources used by Advanced Custom Fields: Link Picker Field
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.03 ▼3.74 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.68 ▼5.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.26 ▼12.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.64 ▼7.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.11 ▲0.93 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Advanced Custom Fields: Link Picker 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 / | 2,789 ▲43 | 14.36 ▼0.19 | 1.84 ▲0.02 | 44.34 ▲3.08 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▲0.01 | 90.09 ▲1.63 | 41.09 ▼1.52 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.00 | 35.46 ▼3.36 | 35.78 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.03 ▲0.02 | 682.41 ▼7.04 | 53.68 ▲2.76 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.29 ▲0.14 | 99.95 ▼34.16 | 44.48 ▼0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/acf-link-picker-field/acf-link_picker.php:19
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-link-picker-field/acf-link_picker-v5.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-link-picker-field/acf-link_picker-v4.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: acf link picker, advanced custom fields, acf, link chooser, link picker
acf-link-picker-field/acf-link_picker.php 92% from 13 tests
The main PHP file in "Advanced Custom Fields: Link Picker Field" ver. 1.2.8 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 ("acf-link-picker-field.php" instead of "acf-link_picker.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
Everything looks great! No dangerous files found in this plugin531 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 263 | 590 | 237 |
JavaScript | 1 | 54 | 46 | 173 |
PO File | 3 | 35 | 0 | 109 |
Markdown | 4 | 8 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin