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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼14.58ms] Passed 4 tests
An overview of server-side resources used by Gutenstrap Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 42.66 ▼0.72 |
Dashboard /wp-admin | 3.40 ▲0.09 | 49.64 ▼5.43 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.08 ▼5.71 |
Add New Post /wp-admin/post-new.php | 4.91 ▼0.98 | 53.31 ▼46.46 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.03 ▲1.08 |
Gutenstrap Blocks /wp-admin/options-general.php?page=gutenstrap_blocks | 3.29 | 33.19 |
Server storage [IO: ▲3.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
gutenstrap_blocks_settings |
can_compress_scripts |
Browser metrics Passed 4 tests
Gutenstrap Blocks: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.21 ▼0.14 | 2.31 ▲0.42 | 44.68 ▼1.85 |
Dashboard /wp-admin | 2,201 ▲24 | 5.64 ▲0.05 | 90.48 ▼12.93 | 39.51 ▼6.34 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.02 ▼0.01 | 37.79 ▼0.83 | 35.63 ▼1.99 |
Add New Post /wp-admin/post-new.php | 6,197 ▲4,671 | 19.28 ▼3.67 | 951.04 ▲271.09 | 72.50 ▲8.59 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.21 ▼0.01 | 100.15 ▼5.97 | 42.61 ▼5.30 |
Gutenstrap Blocks /wp-admin/options-general.php?page=gutenstrap_blocks | 840 | 2.01 | 30.30 | 27.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: grid, blocks, gutenberg bootstrap, gutenberg, gutenstrap...
gutenstrap-blocks/gutenstrap-blocks.php Passed 13 tests
This is the main PHP file of "Gutenstrap Blocks" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
64 characters long description:
Collection of Bootstrap 4 blocks for Gutenberg WordPress editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected20,722 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,462 | 46 | 12,655 |
JavaScript | 5 | 2,002 | 1,703 | 7,758 |
PHP | 8 | 76 | 436 | 309 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin