Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼315.24ms] Passed 4 tests
Server-side resources used by Advanced Bootstrap Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 59.23 ▲3.93 |
Dashboard /wp-admin | 3.43 ▲0.03 | 41.34 ▲8.56 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 40.43 ▼12.12 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.49 ▼1,252.81 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 27.19 ▲0.06 |
Server storage [IO: ▲1.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 59 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Bootstrap Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,810 ▲56 | 15.30 ▼0.33 | 5.89 ▼1.16 | 3.26 ▲0.32 |
Dashboard /wp-admin | 2,903 ▲42 | 6.15 ▼0.01 | 118.72 ▼14.29 | 154.65 ▼6.94 |
Posts /wp-admin/edit.php | 2,706 ▲12 | 3.24 ▲0.01 | 62.09 ▼3.26 | 135.56 ▼6.86 |
Add New Post /wp-admin/post-new.php | 1,795 ▲144 | 17.01 ▼2.50 | 463.46 ▼23.90 | 178.11 ▲18.93 |
Media Library /wp-admin/upload.php | 1,713 ▲27 | 5.54 ▲0.03 | 141.19 ▼138.16 | 180.44 ▼159.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/advanced-bootstrap-blocks/advanced-bootstrap-blocks.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is missing
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots lack descriptions #1, #2, #3 in advanced-bootstrap-blocks/assets to your readme.txt
advanced-bootstrap-blocks/advanced-bootstrap-blocks.php Passed 13 tests
"Advanced Bootstrap Blocks" version 1.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
Flexible Bootstrap 4 blocks for building custom page layouts in the WordPress editor.
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
Success! There were no dangerous files found in this plugin37,496 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 28,628 |
JavaScript | 38 | 244 | 45 | 8,404 |
Sass | 1 | 42 | 45 | 401 |
PHP | 3 | 11 | 73 | 60 |
CSS | 1 | 0 | 0 | 1 |
Markdown | 1 | 1 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin