Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲3.40MB] [CPU: ▲27.34ms] 75% from 4 tests
Server-side resources used by Brizy - Page Builder
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,513.63ms on /wp-admin/admin.php?page=starter-templates)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.73 ▲3.27 | 66.87 ▲26.35 |
Dashboard /wp-admin | 6.77 ▲3.46 | 76.95 ▲27.65 |
Posts /wp-admin/edit.php | 6.79 ▲3.44 | 83.43 ▲37.97 |
Add New Post /wp-admin/post-new.php | 9.36 ▲3.47 | 117.83 ▲27.07 |
Media Library /wp-admin/upload.php | 6.65 ▲3.42 | 63.96 ▲28.30 |
Templates /wp-admin/edit.php?post_type=editor-template | 6.70 | 64.17 |
Starter Templates /wp-admin/admin.php?page=starter-templates | 6.99 | 1,513.63 |
Settings /wp-admin/admin.php?page=brizy-settings | 6.64 | 56.40 |
Leads /wp-admin/edit.php?post_type=editor-form-entry | 6.71 | 62.41 |
Stories /wp-admin/edit.php?post_type=editor-story | 6.70 | 60.86 |
Tools /wp-admin/admin.php?page=brizy-tools | 6.62 | 52.38 |
Getting Started /wp-admin/admin.php?page=getting-started | 6.64 | 55.09 |
Server storage [IO: ▲32.09MB] [DB: ▲0.23MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- The filesystem usage should be lower than 25MB (currently using 32.09MB)
Filesystem: 3,094 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_brizy_logs |
New WordPress options |
---|
brizy |
theysaidso_admin_options |
brizy-migrations |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Brizy - Page Builder: 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,229 ▲467 | 13.42 ▼0.86 | 7.94 ▲6.09 | 16.44 ▼29.27 |
Dashboard /wp-admin | 2,546 ▲369 | 5.68 ▲0.15 | 98.66 ▼0.80 | 97.22 ▲52.15 |
Posts /wp-admin/edit.php | 2,314 ▲214 | 2.40 ▲0.45 | 42.60 ▲2.85 | 38.95 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,781 ▲255 | 24.02 ▲0.90 | 638.44 ▼37.07 | 51.84 ▼2.71 |
Media Library /wp-admin/upload.php | 1,619 ▲219 | 4.26 ▲0.04 | 99.30 ▼8.87 | 76.06 ▲29.71 |
Templates /wp-admin/edit.php?post_type=editor-template | 1,227 | 2.21 | 38.89 | 31.55 |
Starter Templates /wp-admin/admin.php?page=starter-templates | 6,014 | 2.45 | 45.83 | 48.15 |
Settings /wp-admin/admin.php?page=brizy-settings | 1,033 | 2.30 | 28.03 | 26.27 |
Leads /wp-admin/edit.php?post_type=editor-form-entry | 1,209 | 2.24 | 39.67 | 28.57 |
Stories /wp-admin/edit.php?post_type=editor-story | 1,227 | 2.20 | 38.80 | 29.73 |
Tools /wp-admin/admin.php?page=brizy-tools | 999 | 2.30 | 30.35 | 30.54 |
Getting Started /wp-admin/admin.php?page=getting-started | 1,696 | 9.04 | 291.34 | 93.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.23MB] 50% 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 tables were found after uninstall: 1 table
- wp_brizy_logs
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- brizy-regenerate-permalinks
- theysaidso_admin_options
- widget_recent-posts
- brizy
- brizy-migrations
- db_upgraded
- widget_recent-comments
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 34× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/brizy/editor/storage/common.php
- > /wp-content/plugins/brizy/admin/views/settings/roles.php
- > /wp-content/plugins/brizy/public/views/compiled-page.php
- > /wp-content/plugins/brizy/admin/flash.php
- > /wp-content/plugins/brizy/editor/compiled-html.php
- > /wp-content/plugins/brizy/editor/user.php
- > /wp-content/plugins/brizy/admin/main.php
- > /wp-content/plugins/brizy/editor/storage/post.php
- > /wp-content/plugins/brizy/admin/views/settings/view.php
- > /wp-content/plugins/brizy/public/views/page.php
- 321× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Brizy_Admin_Migrations_AbstractStorage' not found in wp-content/plugins/brizy/admin/migrations/post-storage.php:4
- > PHP Fatal error
Uncaught Error: Class 'PhpSpec\\ObjectBehavior' not found in wp-content/plugins/brizy/vendor/knplabs/gaufrette/spec/Gaufrette/Adapter/LazyOpenCloudSpec.php:14
- > PHP Fatal error
Uncaught Error: Class 'PhpSpec\\ObjectBehavior' not found in wp-content/plugins/brizy/vendor/knplabs/gaufrette/spec/Gaufrette/Adapter/DropboxSpec.php:8
- > PHP Notice
Undefined variable: terms in wp-content/plugins/brizy/import/views/starter-templates.php on line 14
- > PHP Fatal error
Uncaught Error: Interface 'Brizy_Editor_Editor_ModuleGroups_ProviderInterface' not found in wp-content/plugins/brizy/editor/editor/module-groups/woo-archive-provider.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Brizy_Editor_Editor_ModuleGroups_ProviderInterface' not found in wp-content/plugins/brizy/editor/editor/module-groups/media-provider.php:3
- > PHP Notice
Undefined variable: thumbnailId in wp-content/plugins/brizy/admin/views/featured-image.php on line 13
- > PHP Notice
Undefined variable: posts in wp-content/plugins/brizy/admin/views/dashboard-posts.php on line 1
- > PHP Fatal error
Uncaught Error: Interface 'Gaufrette\\Exception' not found in wp-content/plugins/brizy/vendor/knplabs/gaufrette/src/Gaufrette/Exception/FileNotFound.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/brizy/import/views/starter-templates.php on line 112
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=getting-started
- > Other (warning) in unknown
/wp-admin/admin.php?page=getting-started 196 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
brizy/brizy.php Passed 13 tests
The entry point to "Brizy - Page Builder" version 2.4.33 is a PHP file that has certain tags in its header comment area
114 characters long description:
A free drag & drop front-end page builder to help you create WordPress pages lightning fast. It's easy with Brizy.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin106,859 lines of code in 688 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 479 | 11,693 | 15,108 | 44,223 |
JSON | 10 | 1 | 0 | 41,251 |
JavaScript | 106 | 3,144 | 1,045 | 14,374 |
TypeScript | 62 | 507 | 92 | 3,328 |
Markdown | 2 | 531 | 0 | 1,845 |
CSS | 13 | 259 | 62 | 1,549 |
INI | 3 | 333 | 1,472 | 144 |
YAML | 2 | 6 | 0 | 64 |
SVG | 5 | 0 | 0 | 31 |
Bourne Shell | 4 | 12 | 3 | 30 |
XML | 1 | 3 | 0 | 19 |
Twig | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 155)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 312.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 155.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 40 | |
Traits | 10 | |
Classes | 415 | |
▷ Abstract classes | 21 | 5.06% |
▷ Concrete classes | 394 | 94.94% |
▷ Final classes | 8 | 2.03% |
Methods | 3,443 | |
▷ Static methods | 245 | 7.12% |
▷ Public methods | 2,888 | 83.88% |
▷ Protected methods | 274 | 7.96% |
▷ Private methods | 281 | 8.16% |
Functions | 166 | |
▷ Named functions | 37 | 22.29% |
▷ Anonymous functions | 129 | 77.71% |
Constants | 457 | |
▷ Global constants | 111 | 24.29% |
▷ Class constants | 346 | 75.71% |
▷ Public constants | 346 | 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
13 PNG files occupy 0.74MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/editor-build/272-wp/editor/img/screenshot-placeholder-bg-map.png | 147.19KB | 148.69KB | 0.00% |
public/editor-build/272-wp/editor/img/pc-keyboard2x.png | 85.88KB | 26.92KB | ▼ 68.65% |
public/editor-build/272-wp/editor/img/global_toolbar.png | 16.60KB | 5.36KB | ▼ 67.69% |
admin/static/img/brizy.png | 0.49KB | 0.63KB | 0.00% |
public/editor-build/272-wp/editor/img/pc-keyboard1x.png | 36.38KB | 12.60KB | ▼ 65.38% |