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.02MB] [CPU: ▼3.79ms] Passed 4 tests
This is a short check of server-side resources used by BubiBlock Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.68 ▲5.16 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.41 ▼3.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.02 ▲0.04 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 84.82 ▼14.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.86 ▲2.96 |
Server storage [IO: ▲2.24MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BubiBlock Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲156 | 13.82 ▼0.55 | 9.82 ▲7.90 | 90.76 ▲47.79 |
Dashboard /wp-admin | 2,208 ▲28 | 5.56 ▼0.09 | 83.15 ▼11.29 | 38.97 ▼5.52 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.00 ▼0.01 | 34.80 ▼5.68 | 32.82 ▼4.46 |
Add New Post /wp-admin/post-new.php | 6,399 ▲4,862 | 29.12 ▲10.78 | 913.59 ▲274.81 | 48.33 ▼16.09 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.21 ▲0.02 | 101.94 ▲2.92 | 44.15 ▲3.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/bubiblock-slider/src/assets/admin/admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: gutenberg slider, content slider, image slider, slider block, carousel...
bubiblock-slider/plugin.php 92% from 13 tests
The main PHP file in "BubiBlock Slider" ver. 2.4.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("bubiblock-slider.php" instead of "plugin.php")
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
Everything looks great! No dangerous files found in this plugin11,327 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 304 | 19 | 5,734 |
JavaScript | 6 | 195 | 247 | 5,128 |
PHP | 2 | 28 | 33 | 309 |
Markdown | 1 | 63 | 0 | 156 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/assets/admin/images/bubiblock-setting-4.png | 21.88KB | 23.25KB | 0.00% |
src/assets/admin/images/bubiblock-logo.png | 2.84KB | 2.98KB | 0.00% |
src/assets/admin/images/bubiblock-slider-w.png | 5.78KB | 5.51KB | ▼ 4.68% |
src/assets/admin/images/bubiblock-setting-3.png | 7.78KB | 8.11KB | 0.00% |
src/assets/admin/images/bubiblock-header-admin.png | 14.08KB | 13.00KB | ▼ 7.66% |