Benchmarks
Plugin footprint 83% 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: ▼0.15MB] [CPU: ▼9.21ms] Passed 4 tests
Server-side resources used by Rad Bootstrap 3 Blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.62 ▲6.16 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.83 ▼0.54 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 48.85 ▲6.27 |
Add New Post /wp-admin/post-new.php | 4.92 ▼0.96 | 51.48 ▼48.25 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 38.70 ▲5.79 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
radBBlocks_load_bootstrap_styles_frontend |
db_upgraded |
widget_theysaidso_widget |
radBBlocks_load_bootstrap_styles_editor |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rad Bootstrap 3 Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.51 ▼0.80 | 1.77 ▲0.21 | 42.83 ▲4.83 |
Dashboard /wp-admin | 2,219 ▲27 | 5.82 ▲0.93 | 103.88 ▼18.43 | 40.06 ▼2.73 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.99 ▼0.03 | 36.46 ▼0.41 | 31.70 ▲1.40 |
Add New Post /wp-admin/post-new.php | 1,691 ▲168 | 22.32 ▼1.04 | 713.64 ▲79.62 | 62.02 ▲10.00 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.14 ▼0.09 | 104.21 ▲8.02 | 43.43 ▼0.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- radBBlocks_load_bootstrap_styles_editor
- theysaidso_admin_options
- radBBlocks_load_bootstrap_styles_frontend
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/rad-bootstrap-3-blocks/rad-bootstrap-3-blocks.php
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: gutenberg, bootstrap 3, block editor
rad-bootstrap-3-blocks/rad-bootstrap-3-blocks.php Passed 13 tests
"Rad Bootstrap 3 Blocks" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
67 characters long description:
Simple blocks that add Bootstrap 3 features to the gutenberg editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected12,881 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 8,286 |
JavaScript | 14 | 249 | 280 | 1,734 |
Sass | 2 | 18 | 6 | 1,251 |
CSS | 2 | 147 | 20 | 919 |
PHP | 10 | 161 | 409 | 678 |
Markdown | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 8 | 14.81% |
▷ Public methods | 41 | 75.93% |
▷ Protected methods | 11 | 20.37% |
▷ Private methods | 2 | 3.70% |
Functions | 12 | |
▷ Named functions | 6 | 50.00% |
▷ Anonymous functions | 6 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin