Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.89MB] [CPU: ▲35.65ms] 75% from 4 tests
A check of server-side resources used by Stackable - Page Builder Gutenberg Blocks
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.89MB on /wp-admin/options-general.php?page=stackable)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.30 ▲5.83 | 83.65 ▲37.58 |
Dashboard /wp-admin | 9.32 ▲6.01 | 82.17 ▲35.31 |
Posts /wp-admin/edit.php | 9.32 ▲5.96 | 81.18 ▲32.06 |
Add New Post /wp-admin/post-new.php | 11.66 ▲5.77 | 127.05 ▲37.64 |
Media Library /wp-admin/upload.php | 9.32 ▲6.09 | 77.43 ▲43.66 |
Get Started /wp-admin/admin.php?page=stackable-getting-started | 9.32 | 78.78 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.32 | 87.10 |
Stackable /wp-admin/options-general.php?page=stackable | 9.32 | 76.62 |
Server storage [IO: ▲7.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 634 new files
Database: no new tables, 14 new options
New WordPress options |
---|
fs_debug_mode |
stackable_current_version_installed |
db_upgraded |
fs_active_plugins |
widget_recent-posts |
theysaidso_admin_options |
stackable_redirect_to_welcome |
can_compress_scripts |
stackable_v2_frontend_detector_counter |
stackable_pro_notice_start_date |
... |
Browser metrics Passed 4 tests
Stackable - Page Builder Gutenberg Blocks: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲91 | 14.34 ▲0.07 | 2.09 ▲0.42 | 29.56 ▼12.95 |
Dashboard /wp-admin | 2,213 ▲36 | 5.53 ▼0.05 | 91.84 ▼10.20 | 43.20 ▼0.82 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.00 ▼0.02 | 35.74 ▼3.98 | 33.16 ▼1.12 |
Add New Post /wp-admin/post-new.php | 6,391 ▲4,865 | 36.51 ▲13.33 | 1,761.39 ▲1,080.00 | 37.57 ▼25.70 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.10 ▼0.11 | 113.83 ▲10.93 | 50.59 ▲8.01 |
Get Started /wp-admin/admin.php?page=stackable-getting-started | 5,338 | 48.05 | 1,292.12 | 102.98 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,076 | 1.67 | 29.86 | 34.96 |
Stackable /wp-admin/options-general.php?page=stackable | 1,129 | 10.32 | 97.10 | 59.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/stackable-ultimate-gutenberg-blocks/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 14 options in the database
- db_upgraded
- theysaidso_admin_options
- stackable_activation_date
- stackable_current_version_installed
- fs_debug_mode
- stackable_pro_notice_start_date
- fs_accounts
- stackable_v2_frontend_detector_counter
- widget_theysaidso_widget
- widget_recent-comments
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: blocks, gutenberg, page builder, gutenberg blocks, wordpress blocks
stackable-ultimate-gutenberg-blocks/plugin.php 92% from 13 tests
The main file in "Stackable - Page Builder Gutenberg Blocks" v. 3.12.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("stackable-ultimate-gutenberg-blocks.php" instead of "plugin.php")
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin44,170 lines of code in 314 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 176 | 9,086 | 19,385 | 42,142 |
JSON | 74 | 0 | 0 | 1,025 |
JavaScript | 25 | 36 | 73 | 786 |
SVG | 18 | 0 | 0 | 181 |
CSS | 20 | 0 | 0 | 20 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 69.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 2 | 2.86% |
▷ Concrete classes | 68 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 1,426 | |
▷ Static methods | 228 | 15.99% |
▷ Public methods | 1,025 | 71.88% |
▷ Protected methods | 17 | 1.19% |
▷ Private methods | 384 | 26.93% |
Functions | 233 | |
▷ Named functions | 211 | 90.56% |
▷ Anonymous functions | 22 | 9.44% |
Constants | 158 | |
▷ Global constants | 105 | 66.46% |
▷ Class constants | 53 | 33.54% |
▷ Public constants | 53 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
199 compressed PNG files occupy 0.25MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/block-image-box-fade.e47d3e8.png | 1.46KB | 1.43KB | ▼ 1.81% |
dist/images/block-accordion-line-colored.4a7ec49.png | 0.36KB | 0.36KB | 0.00% |
dist/images/block-testimonial-vertical-inverse.9972470.png | 1.91KB | 1.91KB | 0.05% |
dist/images/block-team-member-half.124d11f.png | 1.13KB | 1.11KB | ▼ 2.15% |
dist/images/block-blockquote-plain.7ee3a2a.png | 0.77KB | 0.69KB | ▼ 10.01% |