Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.30ms] Passed 4 tests
An overview of server-side resources used by ACF Pro JSON Sync
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 50.04 ▲1.85 |
Dashboard /wp-admin | 3.33 ▲0.02 | 52.36 ▼1.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.14 ▼3.64 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.75 ▼10.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.82 ▲2.88 |
Sync ACF /wp-admin/admin.php?page=sync_acf | 3.22 | 34.22 |
Run Sync /wp-admin/admin.php?page=run_acf_sync | 3.21 | 35.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ACF Pro JSON Sync
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.74 ▲0.15 | 1.96 ▼0.06 | 45.18 ▲0.42 |
Dashboard /wp-admin | 2,224 ▲60 | 5.56 ▲0.03 | 87.81 ▼27.86 | 39.98 ▼4.37 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.02 ▲0.00 | 35.82 ▼4.92 | 35.27 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,560 ▲32 | 18.57 ▼4.32 | 650.15 ▼23.42 | 70.54 ▲19.50 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.16 ▲0.05 | 101.14 ▼9.52 | 44.95 ▲0.49 |
Sync ACF /wp-admin/admin.php?page=sync_acf | 720 | 1.12 | 6.73 | 18.22 |
Run Sync /wp-admin/admin.php?page=run_acf_sync | 710 | 1.51 | 7.05 | 20.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- recovery_mode_email_last_sent
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=sync_acf
- > Error in wp-content/plugins/acf-pro-sync/acf-sync.php+15
Uncaught Error: Call to undefined function acf_get_setting() in wp-content/plugins/acf-pro-sync/acf-sync.php:15
Stack trace:
#0 wp-content/plugins/acf-pro-sync/views/sync.php(11): acf_sync_check_json_dirs()
#1 wp-content/plugins/acf-pro-sync/acf-sync.php(195): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): acf_sync_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown- > GET request to /wp-admin/admin.php?page=run_acf_sync
- > Error in wp-content/plugins/acf-pro-sync/acf-sync.php+51
Uncaught Error: Call to undefined function acf_get_setting() in wp-content/plugins/acf-pro-sync/acf-sync.php:51
Stack trace:
#0 wp-content/plugins/acf-pro-sync/acf-sync.php(200): acf_sync_import_json_folder()
#1 wp-includes/class-wp-hook.php(310): run_acf_sync()
#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.php(259): do_action()
#5 {main}
thrown
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/acf-pro-sync/views/sync-complete.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_directory() in wp-content/plugins/acf-pro-sync/views/sync.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-pro-sync/acf-sync.php:178
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (AFC Pro Sync admin screen) image not found
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
acf-pro-sync/acf-sync.php 85% from 13 tests
The main PHP script in "ACF Pro JSON Sync" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("acf-pro-sync.php" instead of "acf-sync.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin163 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 76 | 24 | 142 |
CSS | 1 | 3 | 0 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 54.19KB | 16.83KB | ▼ 68.95% |