Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.70MB] [CPU: ▲51.51ms] Passed 4 tests
Server-side resources used by Builderius Site Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.15 ▲2.69 | 103.35 ▲64.79 |
Dashboard /wp-admin | 6.03 ▲2.72 | 123.62 ▲72.60 |
Posts /wp-admin/edit.php | 6.09 ▲2.73 | 112.65 ▲63.06 |
Add New Post /wp-admin/post-new.php | 8.60 ▲2.72 | 154.58 ▲50.17 |
Media Library /wp-admin/upload.php | 5.89 ▲2.66 | 62.46 ▲28.01 |
Server storage [IO: ▲26.38MB] [DB: ▲0.20MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Try to limit filesystem usage to 25MB (currently using 26.38MB)
Filesystem: 3,096 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
test_cron |
widget_theysaidso_widget |
widget_recent-posts |
builderiuscached-plugin-versions |
can_compress_scripts |
builderius_loaded_migrations_version |
Browser metrics Passed 4 tests
A check of browser resources used by Builderius Site Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲135 | 14.33 ▼0.02 | 3.09 ▲1.47 | 37.60 ▼3.96 |
Dashboard /wp-admin | 2,274 ▲97 | 5.62 ▲0.09 | 91.64 ▼0.36 | 92.23 ▲51.55 |
Posts /wp-admin/edit.php | 2,185 ▲82 | 2.05 ▲0.06 | 34.56 ▼3.90 | 36.62 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,762 ▲213 | 23.50 ▲5.28 | 757.21 ▲122.63 | 62.23 ▼15.23 |
Media Library /wp-admin/upload.php | 1,470 ▲67 | 4.19 ▼0.06 | 102.18 ▼4.25 | 78.39 ▲33.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.20MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- builderius_loaded_migrations_version
- test_cron
- can_compress_scripts
- builderiuscached-plugin-versions
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/builderius/vendor-prefixed/symfony/expression-language/Resources/bin/generate_operator_regex.php
- 2011× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Builderius\\MooMoo\\Platform\\Bundle\\MigrationBundle\\Migration\\Migration' not found in wp-content/plugins/builderius/src/Bundle/TemplateBundle/Migrations/v0_11_2/BuilderiusTemplateBundleMigration.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Builderius\\Mustache\\Loader' not found in wp-content/plugins/builderius/vendor-prefixed/builderius/mustache/src/Loader/CascadingLoader.php:11
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\GraphQL\\Validator\\Rules\\ValidationRule' not found in wp-content/plugins/builderius/vendor-prefixed/webonyx/graphql-php/src/Validator/Rules/UniqueVariableNames.php:12
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\Zend\\Code\\Scanner\\ClassScanner' not found in wp-content/plugins/builderius/vendor-prefixed/zendframework/zend-code/src/Scanner/DerivedClassScanner.php:17
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\MooMoo\\Platform\\Bundle\\TaxonomyBundle\\Model\\AbstractTaxonomy' not found in wp-content/plugins/builderius/src/Bundle/SavedFragmentBundle/Registration/BuilderiusSavedFragmentTagTaxonomy.php:7
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\ProxyManager\\Factory\\RemoteObject\\Adapter\\BaseAdapter' not found in wp-content/plugins/builderius/vendor-prefixed/ocramius/proxy-manager/src/ProxyManager/Factory/RemoteObject/Adapter/XmlRpc.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Builderius\\MooMoo\\Platform\\Bundle\\PostBundle\\PostType\\PostTypeInterface' not found in wp-content/plugins/builderius/src/Bundle/TemplateBundle/Registration/BuilderiusTemplatePostType.php:7
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\Symfony\\Contracts\\EventDispatcher\\Event' not found in wp-content/plugins/builderius/src/Bundle/TemplateBundle/Event/ObjectContainingEvent.php:7
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\Bundle\\SettingBundle\\Model\\BuilderiusSettingValue' not found in wp-content/plugins/builderius/src/Bundle/SettingBundle/Model/BuilderiusSettingCssValue.php:5
- > PHP Fatal error
Uncaught Error: Class 'Builderius\\Respect\\Validation\\Rules\\AbstractComparison' not found in wp-content/plugins/builderius/vendor-prefixed/respect/validation/library/Rules/Min.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots need descriptions #6, #7 in builderius/assets to your readme.txt
builderius/builderius.php Passed 13 tests
The principal PHP file in "Builderius Site Builder" v. 0.14.2 is loaded by WordPress automatically on each request
109 characters long description:
Professional site builder for WordPress. Create astonishing designs with easy to use drag and drop interface.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin186,923 lines of code in 3,067 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,719 | 12,323 | 64,542 | 135,381 |
YAML | 151 | 1,988 | 65 | 38,799 |
JSON | 3 | 0 | 0 | 4,093 |
Twig | 52 | 198 | 40 | 2,059 |
PO File | 4 | 783 | 915 | 1,804 |
SVG | 12 | 0 | 11 | 1,600 |
CSS | 12 | 231 | 10 | 1,460 |
Markdown | 6 | 115 | 0 | 1,345 |
XSD | 1 | 27 | 1 | 278 |
JavaScript | 107 | 0 | 3 | 104 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 8.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 531.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 574 | |
Interfaces | 393 | |
Traits | 45 | |
Classes | 2,270 | |
▷ Abstract classes | 114 | 5.02% |
▷ Concrete classes | 2,156 | 94.98% |
▷ Final classes | 465 | 21.57% |
Methods | 10,981 | |
▷ Static methods | 823 | 7.49% |
▷ Public methods | 9,310 | 84.78% |
▷ Protected methods | 619 | 5.64% |
▷ Private methods | 1,052 | 9.58% |
Functions | 906 | |
▷ Named functions | 135 | 14.90% |
▷ Anonymous functions | 771 | 85.10% |
Constants | 1,260 | |
▷ Global constants | 9 | 0.71% |
▷ Class constants | 1,251 | 99.29% |
▷ Public constants | 1,179 | 94.24% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/transparent-dark.png | 0.94KB | 0.09KB | ▼ 90.21% |
assets/img/line.png | 1.00KB | 0.11KB | ▼ 88.88% |
assets/img/line-dark.png | 1.00KB | 0.11KB | ▼ 88.87% |
assets/img/transparent.png | 0.94KB | 0.09KB | ▼ 90.22% |