Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.23MB] [CPU: ▼303.16ms] Passed 4 tests
A check of server-side resources used by Ultimate Bootstrap Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 54.39 ▲0.68 |
Dashboard /wp-admin | 3.44 ▲0.03 | 38.08 ▲4.62 |
Posts /wp-admin/edit.php | 3.67 ▲0.02 | 39.94 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.99 ▼0.99 | 63.07 ▼1,209.92 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 26.42 ▼5.57 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Bootstrap Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 16.20 ▲0.38 | 5.90 ▼0.13 | 2.72 ▼0.44 |
Dashboard /wp-admin | 2,895 ▲37 | 6.13 ▼0.05 | 121.90 ▼14.23 | 161.69 ▼2.15 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.23 ▲0.00 | 64.13 ▼0.45 | 142.46 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,720 ▲30 | 21.86 ▲1.31 | 447.02 ▲20.37 | 176.19 ▲18.65 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▼0.04 | 142.17 ▼7.24 | 186.28 ▼7.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
ultimate-bootstrap-blocks/plugin.php 92% from 13 tests
The primary PHP file in "Ultimate Bootstrap Blocks" version 1.2.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-bootstrap-blocks.php" instead of "plugin.php")
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 plugin160 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 25 | 0 | 62 |
PHP | 2 | 11 | 61 | 58 |
JavaScript | 3 | 3 | 3 | 26 |
Sass | 1 | 1 | 1 | 11 |
CSS | 2 | 0 | 0 | 3 |
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.27 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/img/720.png | 2.87KB | 2.73KB | ▼ 4.80% |