Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼297.06ms] Passed 4 tests
Analyzing server-side resources used by Advanced Custom Fields: Link Picker Field
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.40 | 51.68 ▲32.40 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.77 ▼1.35 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.66 ▲1.45 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 92.95 ▼1,184.81 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.00 ▼3.53 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Custom Fields: Link Picker Field
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,775 ▲20 | 15.78 ▼0.16 | 6.20 ▲0.37 | 1.91 ▼0.76 |
Dashboard /wp-admin | 2,878 ▲17 | 6.13 ▼0.01 | 120.31 ▼15.38 | 153.04 ▼14.85 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▼0.00 | 62.01 ▼0.93 | 142.06 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,668 ▼43 | 18.14 ▼2.42 | 384.92 ▼52.86 | 160.96 ▼1.84 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.54 ▲0.06 | 148.56 ▼10.77 | 187.74 ▲0.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/advanced-custom-fields-link-picker-field/acf-link_picker-v4.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/advanced-custom-fields-link-picker-field/acf-link_picker-v5.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/advanced-custom-fields-link-picker-field/acf-link_picker.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues 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: advanced custom fields, acf, link picker, acf link picker, link chooser
advanced-custom-fields-link-picker-field/acf-link_picker.php 92% from 13 tests
The main file in "Advanced Custom Fields: Link Picker Field" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("advanced-custom-fields-link-picker-field.php" instead of "acf-link_picker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin478 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 258 | 579 | 221 |
JavaScript | 1 | 40 | 38 | 136 |
PO File | 3 | 35 | 0 | 109 |
Markdown | 4 | 8 | 0 | 12 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.24 |
▷ 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin