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
Install script ran successfully
Server metrics [RAM: ▼0.15MB] [CPU: ▼9.93ms] Passed 4 tests
Analyzing server-side resources used by ACF Post Object Field Type Add-on
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 35.41 ▼9.21 |
Dashboard /wp-admin | 3.21 ▼0.09 | 36.27 ▼12.22 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 39.13 ▼8.10 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.42 | 77.83 ▼10.20 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 32.83 ▼1.26 |
ACF Post Object Add-On /wp-admin/options-general.php?page=de_acfpoftao | 3.08 | 23.95 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
recovery_mode_email_last_sent |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ACF Post Object Field Type Add-on
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.66 ▼0.92 | 4.26 ▲1.96 | 39.80 ▼11.57 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▼0.02 | 111.80 ▼0.37 | 43.21 ▲0.87 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.06 ▲0.06 | 35.30 ▼1.69 | 30.24 ▼4.76 |
Add New Post /wp-admin/post-new.php | 1,531 ▼3 | 23.17 ▼0.17 | 667.45 ▲4.78 | 52.64 ▼6.77 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.21 ▼0.08 | 98.84 ▼18.59 | 43.81 ▲0.94 |
ACF Post Object Add-On /wp-admin/options-general.php?page=de_acfpoftao | 60 | 0.44 | 0.12 | 9.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- recovery_mode_email_last_sent
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=de_acfpoftao
- > Error in wp-content/plugins/acf-post-object-field-type-add-on/de-acf-post-object-addon.php+182
Uncaught Error: Call to undefined function acf_get_field_groups() in wp-content/plugins/acf-post-object-field-type-add-on/de-acf-post-object-addon.php:182
Stack trace:
#0 wp-content/plugins/acf-post-object-field-type-add-on/de-acf-post-object-addon.php(107): DE_ACF_Post_Object_Addon_Plugin->get_acf_append_field_options()
#1 wp-includes/class-wp-hook.php(310): DE_ACF_Post_Object_Addon_Plugin->option_page_assets()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin-header.php(139): do_action()
#5 wp-admin/admin.php(239): require_once('/var/www/wordpr...')
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {main}
thrown
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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=de_acfpoftao
- > Network (severe)
wp-admin/options-general.php?page=de_acfpoftao - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: acf, post object field type, acf post object, acf post title
acf-post-object-field-type-add-on/de-acf-post-object-addon.php 85% from 13 tests
This is the main PHP file of "ACF Post Object Field Type Add-on" version 2.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-post-object-field-type-add-on.php" instead of "de-acf-post-object-addon.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
No dangerous file extensions were detected490 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 10 | 238 |
CSS | 1 | 8 | 0 | 114 |
PO File | 1 | 21 | 23 | 75 |
JavaScript | 1 | 10 | 49 | 63 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 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 | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin