Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.80ms] Passed 4 tests
A check of server-side resources used by B Carousel Block - Responsive slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.08 ▼3.94 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.52 ▼2.73 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.46 ▲6.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.60 ▲4.27 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.51 ▲5.60 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by B Carousel Block - Responsive slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲60 | 13.79 ▼0.51 | 7.23 ▲4.98 | 37.98 ▼6.45 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.03 | 108.16 ▼4.18 | 43.44 ▲3.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.06 | 39.33 ▼0.44 | 34.90 ▼2.51 |
Add New Post /wp-admin/post-new.php | 6,600 ▲5,081 | 24.43 ▲1.04 | 832.09 ▲149.60 | 34.42 ▼21.15 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.19 ▼0.05 | 97.58 ▲1.45 | 41.80 ▼1.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant BICB_PLUGIN_VERSION - assumed 'BICB_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/b-carousel-block/dist/editor.asset.php on line 3
- > PHP Warning
Use of undefined constant BICB_PLUGIN_VERSION - assumed 'BICB_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/b-carousel-block/dist/script.asset.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 need to be fixed:
- Requires at least: Invalid plugin version format
b-carousel-block/index.php 85% from 13 tests
The main PHP script in "B Carousel Block - Responsive slider" version 1.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("b-carousel-block.php" instead of "index.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin265 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 124 |
PO File | 1 | 39 | 71 | 96 |
PHP | 3 | 11 | 13 | 40 |
JavaScript | 3 | 1 | 13 | 3 |
CSS | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin