Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼7.41ms] Passed 4 tests
Server-side resources used by Bootstrap Blocks for WP Editor v2
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 46.63 ▼5.90 |
Dashboard /wp-admin | 3.49 ▲0.14 | 54.61 ▼9.00 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 59.20 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 92.09 ▼13.89 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 40.00 ▲1.90 |
Bootstrap Blocks /wp-admin/admin.php?page=wp-editor-bootstrap-blocks-settings | 3.42 | 36.94 |
Server storage [IO: ▲3.95MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
gtbbootstrap_version |
db_upgraded |
widget_recent-comments |
gtbbootstrap_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Bootstrap Blocks for WP Editor v2
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 14.74 ▲0.31 | 1.99 ▼0.84 | 42.50 ▼18.48 |
Dashboard /wp-admin | 2,250 ▲62 | 5.79 ▲0.86 | 99.54 ▼6.36 | 72.23 ▲31.58 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.00 ▼0.01 | 45.56 ▲1.72 | 42.11 ▲5.01 |
Add New Post /wp-admin/post-new.php | 6,393 ▲4,851 | 28.54 ▲10.12 | 1,011.35 ▲380.81 | 61.79 ▲1.72 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.23 ▲0.04 | 100.47 ▼6.43 | 80.63 ▲35.35 |
Settings /wp-admin/admin.php?page=wp-editor-bootstrap-blocks-settings§ion=settings#settings | 2,092 | 2.71 | 86.17 | 57.91 |
Extra /wp-admin/admin.php?page=wp-editor-bootstrap-blocks-settings§ion=settings#extra | 2,092 | 2.70 | 82.80 | 43.65 |
Bootstrap Blocks /wp-admin/admin.php?page=wp-editor-bootstrap-blocks-settings | 2,092 | 2.73 | 86.30 | 43.74 |
Design Package /wp-admin/admin.php?page=wp-editor-bootstrap-blocks-settings§ion=settings#design | 2,089 | 2.71 | 76.01 | 44.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- gtbbootstrap_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wp-editor-bootstrap-blocks/modules/page-template/bootstrap-template.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-editor-bootstrap-blocks/modules/settings-page/views/get-pro-box.php:4
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
wp-editor-bootstrap-blocks/wp-editor-bootstrap-blocks.php 92% from 13 tests
The principal PHP file in "Bootstrap Blocks for WP Editor v2" v. 2.2.0 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,447 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 402 | 448 | 1,426 |
JavaScript | 9 | 2 | 32 | 9 |
CSS | 6 | 0 | 21 | 6 |
SVG | 2 | 0 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.40 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 13 | 20.97% |
▷ Public methods | 52 | 83.87% |
▷ Protected methods | 6 | 9.68% |
▷ Private methods | 4 | 6.45% |
Functions | 35 | |
▷ Named functions | 32 | 91.43% |
▷ Anonymous functions | 3 | 8.57% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 1.09MB with 0.72MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/settings-page/assets/design-package-banner.png | 98.62KB | 32.38KB | ▼ 67.17% |
modules/settings-page/assets/Banner WP-Plugins@0,5x.png | 195.50KB | 73.55KB | ▼ 62.38% |
modules/settings-page/assets/gtb-dashboard-text.png | 76.94KB | 23.94KB | ▼ 68.88% |
modules/settings-page/assets/gtb-group-image-v2.png | 746.49KB | 248.96KB | ▼ 66.65% |