Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼309.22ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Bootstrap Elements for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 69.75 ▼11.69 |
Dashboard /wp-admin | 3.42 ▲0.01 | 40.21 ▼6.35 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 42.32 ▼17.25 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 114.20 ▼1,201.60 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 32.39 ▼1.87 |
Server storage [IO: ▲15.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 497 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Bootstrap Elements for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,846 ▲92 | 16.34 ▲0.81 | 7.44 ▼3.77 | 3.25 ▼2.48 |
Dashboard /wp-admin | 2,971 ▲55 | 6.37 ▼0.06 | 188.95 ▼57.09 | 198.07 ▼14.03 |
Posts /wp-admin/edit.php | 2,738 ▲17 | 3.43 ▼0.00 | 83.09 ▼15.67 | 182.20 ▼17.25 |
Add New Post /wp-admin/post-new.php | 1,623 ▼39 | 21.71 ▲4.97 | 667.67 ▲38.22 | 227.53 ▲17.53 |
Media Library /wp-admin/upload.php | 1,747 ▲17 | 5.72 ▼0.01 | 205.55 ▲6.98 | 252.48 ▲23.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
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 | 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
- 35× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/inc/elements/instagram.class.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/business-hours.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/timeline.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/client-logo.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/team-member/social.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/progress.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/inc/elements/advanced-image-box.class.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/image-box.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/button.php
- > /wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements-view/divider.php
- 82× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/post/pagination/pagination.php on line 10
- > PHP Fatal error
Uncaught Error: Call to a member function render_pricing() on null in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/pricing-table/style-4.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/post/post-list/post-list-layout-03.php:9
- > PHP Notice
Undefined variable: element in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/team-member/style-02.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/pricing-table/style-2.php:27
- > PHP Notice
Undefined variable: settings in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/post/post-list/post-metro-layout-01.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get_render_attribute_string() on null in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/testimonial/layout-03.php:18
- > PHP Notice
Undefined variable: element in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/testimonial/layout-01.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/pricing-table/style-3.php:33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-bootstrap-elements-for-elementor/templates/elements/pricing-table/style-3.php on line 32
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: elementor addons, elementor, element, elementor widget
ultimate-bootstrap-elements-for-elementor/ultimate-bootstrap-elements.php 85% from 13 tests
"Ultimate Bootstrap Elements for Elementor" version 1.1.16's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ultimate-bootstrap-elements-for-elementor.php" instead of "ultimate-bootstrap-elements.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 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
There were no executable files found in this plugin162,438 lines of code in 459 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 240 | 7,188 | 1,863 | 65,201 |
JavaScript | 93 | 4,401 | 2,605 | 31,131 |
SVG | 25 | 0 | 16 | 30,177 |
CSS | 33 | 4,352 | 218 | 25,240 |
Sass | 67 | 1,769 | 140 | 10,681 |
Ruby | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 94 | |
▷ Abstract classes | 4 | 4.26% |
▷ Concrete classes | 90 | 95.74% |
▷ Final classes | 1 | 1.11% |
Methods | 1,032 | |
▷ Static methods | 20 | 1.94% |
▷ Public methods | 633 | 61.34% |
▷ Protected methods | 279 | 27.03% |
▷ Private methods | 120 | 11.63% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 7 | 50.00% |
▷ Class constants | 7 | 50.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.27MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ube-preview.png | 244.48KB | 133.79KB | ▼ 45.27% |
assets/images/lustria-logo.png | 4.80KB | 2.40KB | ▼ 49.95% |
assets/images/homeid-logo.png | 7.85KB | 3.43KB | ▼ 56.37% |
assets/images/glowing-logo.png | 3.51KB | 2.16KB | ▼ 38.42% |
assets/images/cupid-logo.png | 7.07KB | 4.23KB | ▼ 40.13% |