Benchmarks
Plugin footprint 82% 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: ▲1.39MB] [CPU: ▲490.13ms] 50% from 4 tests
Server-side resources used by Master Blocks - Ultimate Gutenberg Blocks for Marketers
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 826.75ms on /wp-admin/admin.php?page=jlt-master-blocks)
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 490.13ms on /wp-admin/admin.php?page=jlt-master-blocks)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.81 ▲1.35 | 51.68 ▲13.62 |
Dashboard /wp-admin | 4.77 ▲1.43 | 945.54 ▲889.36 |
Posts /wp-admin/edit.php | 4.77 ▲1.41 | 680.09 ▲635.26 |
Add New Post /wp-admin/post-new.php | 7.29 ▲1.40 | 719.82 ▲628.53 |
Media Library /wp-admin/upload.php | 4.61 ▲1.38 | 717.67 ▲683.10 |
Recommended /wp-admin/admin.php?page=ultimate-blocks-for-gutenberg-recommended-plugins | 4.58 | 674.52 |
Master Blocks /wp-admin/admin.php?page=jlt-master-blocks | 4.62 | 826.75 |
Server storage [IO: ▲2.98MB] [DB: ▲0.10MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 125 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_theysaidso_widget |
ultimate_blocks_for_gutenberg_version |
jltmb_sheet_promo_data_hash |
db_upgraded |
widget_recent-posts |
jltmb_sheet_promo_data |
widget_recent-comments |
jltmb_popup_upgrade_notice |
jltmb_activation_time |
jltmb_notice_what_we_collect |
... |
Browser metrics Passed 4 tests
Master Blocks - Ultimate Gutenberg Blocks for Marketers: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,145 ▲384 | 13.61 ▼0.74 | 9.18 ▲7.13 | 34.00 ▼4.53 |
Dashboard /wp-admin | 2,454 ▲280 | 5.79 ▲0.12 | 97.93 ▲11.71 | 74.16 ▲32.76 |
Posts /wp-admin/edit.php | 2,267 ▲167 | 2.19 ▲0.23 | 35.44 ▼2.99 | 32.53 ▼4.67 |
Add New Post /wp-admin/post-new.php | 6,495 ▲4,969 | 20.89 ▼2.65 | 1,011.57 ▲361.62 | 40.59 ▼19.69 |
Media Library /wp-admin/upload.php | 1,555 ▲152 | 4.31 ▲0.11 | 101.63 ▼1.60 | 72.87 ▲27.72 |
Recommended /wp-admin/admin.php?page=ultimate-blocks-for-gutenberg-recommended-plugins | 1,521 | 1.71 | 32.95 | 28.48 |
Master Blocks /wp-admin/admin.php?page=jlt-master-blocks | 1,557 | 4.20 | 69.65 | 79.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 14 options
- widget_theysaidso_widget
- jltmb_notice_what_we_collect
- jltmb_notice_ask_for_rating
- jltmb_notice_subscribe
- jltmb_sheet_promo_data_hash
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- jltmb_sheet_promo_data
- can_compress_scripts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-blocks-for-gutenberg/Libs/Metabox.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function register_block_type() in wp-content/plugins/ultimate-blocks-for-gutenberg/Inc/blocks/render.php:2
- > PHP Fatal error
Uncaught Error: Class 'JLTMB\\Libs\\RowLinks' not found in wp-content/plugins/ultimate-blocks-for-gutenberg/Inc/Classes/Row_Links.php:13
- > PHP Warning
Use of undefined constant JLTMB_PATH - assumed 'JLTMB_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-blocks-for-gutenberg/Libs/Readme_Parser.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-blocks-for-gutenberg/Libs/StyleGenerator.php:9
- > PHP Fatal error
Uncaught Error: Class 'JLTMB\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/ultimate-blocks-for-gutenberg/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTMB\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/ultimate-blocks-for-gutenberg/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-blocks-for-gutenberg/Inc/blocks/social-share.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-blocks-for-gutenberg/Inc/blocks/latest-post.php:263
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/ultimate-blocks-for-gutenberg/ultimate-blocks-for-gutenberg.php:21
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: block, editor, extension, gutenberg, gutenberg blocks...
ultimate-blocks-for-gutenberg/ultimate-blocks-for-gutenberg.php 85% from 13 tests
The principal PHP file in "Master Blocks - Ultimate Gutenberg Blocks for Marketers" v. 1.4.1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis 97% from 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 detected9,811 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 1,490 | 2,337 | 7,067 |
CSS | 32 | 401 | 12 | 2,414 |
SVG | 22 | 0 | 1 | 320 |
JavaScript | 10 | 0 | 2 | 10 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 101)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 101.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 39 | |
▷ Abstract classes | 4 | 10.26% |
▷ Concrete classes | 35 | 89.74% |
▷ Final classes | 1 | 2.86% |
Methods | 363 | |
▷ Static methods | 54 | 14.88% |
▷ Public methods | 353 | 97.25% |
▷ Protected methods | 4 | 1.10% |
▷ Private methods | 6 | 1.65% |
Functions | 45 | |
▷ Named functions | 34 | 75.56% |
▷ Anonymous functions | 11 | 24.44% |
Constants | 24 | |
▷ Global constants | 23 | 95.83% |
▷ Class constants | 1 | 4.17% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.18MB with 0.18MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/upgrade-pro.png | 124.56KB | 0.00KB | ▼ 100.00% |
(invalid) images/promo-image.png | 58.64KB | 0.00KB | ▼ 100.00% |