Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼262.45ms] Passed 4 tests
Analyzing server-side resources used by Easy Bootstrap Shortcode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.23 ▲0.51 | 34.90 ▲9.83 |
Dashboard /wp-admin | 3.52 ▲0.46 | 45.40 ▲4.57 |
Posts /wp-admin/edit.php | 3.57 ▲0.46 | 47.62 ▲3.48 |
Add New Post /wp-admin/post-new.php | 5.83 ▲0.40 | 97.99 ▼1,057.09 |
Media Library /wp-admin/upload.php | 3.40 ▲0.39 | 35.30 ▼0.75 |
osCitas Offers /wp-admin/admin.php?page=ebs-pro-demo | 3.36 | 402.79 |
EBS Settings /wp-admin/admin.php?page=ebs/ebs-settings.php | 3.42 | 29.79 |
Server storage [IO: ▲8.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 257 new files
Database: no new tables, 12 new options
New WordPress options |
---|
EBS_SHORTCODE_PREFIX |
EBS_BOOTSTRAP_JS_CDN_PATH |
EBS_SESSION_CLOSE |
EBS_BOOTSTRAP_RESPOND_CDN_PATH |
EBS_BOOTSTRAP_RESPOND_LOCATION |
recovery_mode_email_last_sent |
EBS_BOOTSTRAP_JS_LOCATION |
EBS_EDITOR_OPT |
EBS_CUSTOM_CSS |
widget_ebsp-widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Bootstrap Shortcode
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 5,430 ▲1,825 | 16.37 ▲0.95 | 14.01 ▲6.27 | 72.11 ▲25.94 |
Dashboard /wp-admin | 4,588 ▲1,742 | 6.32 ▲0.44 | 140.17 ▲9.51 | 118.31 ▲15.02 |
Posts /wp-admin/edit.php | 4,375 ▲1,669 | 2.97 ▲0.26 | 70.06 ▲2.77 | 107.14 ▲11.24 |
Add New Post /wp-admin/post-new.php | 3,333 ▲1,680 | 18.65 ▼0.15 | 384.29 ▲28.36 | 105.40 ▼1.06 |
Media Library /wp-admin/upload.php | 3,381 ▲1,612 | 5.23 ▲0.20 | 135.01 ▼17.35 | 122.46 ▲11.19 |
osCitas Offers /wp-admin/admin.php?page=ebs-pro-demo | 2,539 | 2.22 | 40.10 | 46.92 |
EBS Settings /wp-admin/admin.php?page=ebs/ebs-settings.php | 3,040 | 2.58 | 62.08 | 77.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 4 options in the database
- recovery_mode_email_last_sent
- EBS_CUSTOM_CSS
- EBS_SHORTCODE_PREFIX
- widget_ebsp-widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=ebs-pro-demo
- > Error in wp-content/plugins/easy-bootstrap-shortcodes/lib/ebspro-demo.php+13
Uncaught Error: Cannot use object of type WP_Error as array in /var/www/wordpress/wp-content/plugins/easy-bootstrap-shortcodes/lib/ebspro-demo.php:13Stack trace:#0 /var/www/wordpress/wp-content/plugins/easy-bootstrap-shortcodes/osc_bootstrap_shortcode.php(165): include()#1 /var/www/wordpress/wp-includes/class-wp-hook.php(303): osc_ebs_pro_demo_page()#2 /var/www/wordpress/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()#3 /var/www/wordpress/wp-includes/plugin.php(470): WP_Hook->do_action()#4 /var/www/wordpress/wp-admin/admin.php(259): do_action()#5 {main}thrown
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/easy-bootstrap-shortcodes/styles/ebs-dstyle.php
- 32× 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 ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/panel/plugin_shortcode.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/buttons/plugin_shortcode.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/rule/plugin_shortcode.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/oscpopover/plugin_shortcode.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/image/plugin_shortcode.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/btngrptool/plugin_shortcode.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/badge/plugin_shortcode.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/tooltip/plugin_shortcode.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function ebs_backward_compatibility_callback() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/jumbotron/plugin_shortcode.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-bootstrap-shortcodes/shortcode/functions.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #5, #8, #9 in easy-bootstrap-shortcodes/assets to your readme.txt
easy-bootstrap-shortcodes/osc_bootstrap_shortcode.php 85% from 13 tests
The primary PHP file in "Easy Bootstrap Shortcode" version 4.5.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-bootstrap-shortcodes.php" instead of "osc_bootstrap_shortcode.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin19,686 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 492 | 94 | 10,433 |
JavaScript | 52 | 895 | 491 | 5,939 |
PHP | 34 | 438 | 238 | 2,506 |
SVG | 2 | 0 | 0 | 808 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 1 test
Image compression 0% from 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
73 PNG files occupy 1.04MB with 0.68MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
shortcode/slider/icon.png | 1.16KB | 0.25KB | ▼ 78.59% |
images/line-title.png | 0.12KB | 0.10KB | ▼ 14.05% |
shortcode/oscpopover/icon.png | 1.03KB | 0.17KB | ▼ 83.95% |
images/ebspro-highlights.png | 661.46KB | 234.96KB | ▼ 64.48% |
shortcode/lead/icon.png | 0.98KB | 0.13KB | ▼ 86.95% |