Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.66MB] [CPU: ▼1.34ms] Passed 4 tests
A check of server-side resources used by Bootstrap 4 Shortcodes for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.70 | 43.35 ▲3.92 |
Dashboard /wp-admin | 4.01 ▲0.71 | 50.76 ▲3.20 |
Posts /wp-admin/edit.php | 4.06 ▲0.71 | 50.13 ▼5.92 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 94.08 ▼2.99 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 38.43 ▲0.37 |
Server storage [IO: ▲3.80MB] [DB: ▲0.06MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Bootstrap 4 Shortcodes for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 13.21 ▼1.16 | 1.67 ▼0.26 | 40.32 ▼8.73 |
Dashboard /wp-admin | 2,208 ▲32 | 4.85 ▼1.00 | 109.44 ▲10.19 | 38.05 ▼8.73 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.02 ▲0.01 | 39.25 ▼1.23 | 34.71 ▼1.78 |
Add New Post /wp-admin/post-new.php | 11,426 ▲9,893 | 18.42 ▼4.83 | 740.33 ▲71.89 | 38.34 ▼14.40 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.22 ▲0.09 | 96.53 ▼6.37 | 41.57 ▼1.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/complete-bootstrap-4-shortcodes/includes/bootstrap-shortcodes-help.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/complete-bootstrap-4-shortcodes/includes/defaults.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/complete-bootstrap-4-shortcodes/includes/actions-filters.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/complete-bootstrap-4-shortcodes/includes/defaults.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Donate link: Invalid url: "paypal.me/ujsoftware"
complete-bootstrap-4-shortcodes/bootstrap-shortcodes.php 92% from 13 tests
The main file in "Bootstrap 4 Shortcodes for WordPress" v. 4.6.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("complete-bootstrap-4-shortcodes.php" instead of "bootstrap-shortcodes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin24,526 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,445 |
HTML | 2 | 122 | 8 | 5,851 |
CSS | 4 | 7 | 15 | 5,119 |
PHP | 5 | 763 | 942 | 2,511 |
Markdown | 2 | 455 | 5 | 1,524 |
JavaScript | 6 | 7 | 8 | 76 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 190.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 362.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 7 | 6.14% |
▷ Public methods | 110 | 96.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 3.51% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin