Benchmarks
Plugin footprint 65% 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: ▲5.43MB] [CPU: ▲27.48ms] 75% from 4 tests
Server-side resources used by Gutenberg Blocks - ACF Blocks Suite
Please fix the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.43MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.24 ▲5.78 | 73.89 ▲32.73 |
Dashboard /wp-admin | 9.26 ▲5.96 | 84.61 ▲30.74 |
Posts /wp-admin/edit.php | 9.26 ▲5.91 | 76.78 ▲21.06 |
Add New Post /wp-admin/post-new.php | 9.96 ▲4.07 | 130.41 ▲25.39 |
Media Library /wp-admin/upload.php | 9.26 ▲6.03 | 74.28 ▲38.76 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.26 | 62.92 |
Server storage [IO: ▲5.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 376 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
fs_accounts |
fs_debug_mode |
fs_active_plugins |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Gutenberg Blocks - ACF Blocks Suite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.20 ▼1.23 | 4.49 ▲2.67 | 31.52 ▼13.61 |
Dashboard /wp-admin | 2,238 ▲50 | 5.85 ▼0.08 | 101.30 ▼6.48 | 40.20 ▼6.16 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.02 ▼0.04 | 38.69 ▼2.72 | 34.77 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.00 ▼0.41 | 609.29 ▼87.76 | 44.45 ▼10.62 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.26 ▲0.04 | 100.38 ▼9.49 | 42.17 ▼7.58 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,085 | 1.77 | 24.54 | 29.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/acf-blocks/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- fs_debug_mode
- can_compress_scripts
- fs_accounts
- fs_active_plugins
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 31× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-random-image.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function parse_link() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-toggle.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function parse_link() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-accordion.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function parse_link() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-posts.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-fb-like-button.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function parse_link() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-multibuttons.php:2
- > PHP Notice
Undefined variable: block in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-random-image.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function parse_link() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-team.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function parse_link() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-image-slider.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function acfb_margin_name() in wp-content/plugins/acf-blocks/acfblocks-templates/free/acfb-fb-like-button.php:12
- > PHP Notice
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: acf block, gutenberg, editor, gutenberg block, block...
acf-blocks/acf-blocks.php 85% from 13 tests
The main PHP script in "Gutenberg Blocks - ACF Blocks Suite" version 2.6.10 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected65,930 lines of code in 244 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 9,250 | 18,319 | 36,589 |
JSON | 41 | 0 | 0 | 23,076 |
CSS | 19 | 691 | 188 | 4,215 |
JavaScript | 25 | 613 | 343 | 2,038 |
SVG | 12 | 0 | 0 | 12 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 84.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 1,288 | |
▷ Static methods | 197 | 15.30% |
▷ Public methods | 899 | 69.80% |
▷ Protected methods | 17 | 1.32% |
▷ Private methods | 372 | 28.88% |
Functions | 157 | |
▷ Named functions | 133 | 84.71% |
▷ Anonymous functions | 24 | 15.29% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
89 PNG files occupy 1.38MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/is/style26.png | 1.05KB | 1.05KB | 0.00% |
img/is/style42.png | 1.08KB | 1.08KB | 0.00% |
img/is/style3.png | 1.03KB | 1.03KB | 0.00% |
img/is/style14.png | 1.11KB | 1.11KB | 0.00% |
img/gthree-six.png | 0.47KB | 0.10KB | ▼ 77.78% |