Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.69ms] Passed 4 tests
Server-side resources used by Hero Banner Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.09 ▼0.18 |
Dashboard /wp-admin | 3.31 ▼0.04 | 61.64 ▼15.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.47 ▼2.43 |
Add New Post /wp-admin/post-new.php | 5.88 ▼0.00 | 101.43 ▼5.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.14 ▼3.30 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Hero Banner Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲90 | 13.39 ▼1.05 | 8.42 ▲6.28 | 44.51 ▲0.64 |
Dashboard /wp-admin | 2,195 ▲21 | 5.57 ▼0.05 | 98.25 ▲7.66 | 43.30 ▼0.70 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.00 | 33.72 ▼6.07 | 36.98 ▲2.97 |
Add New Post /wp-admin/post-new.php | 6,370 ▲4,961 | 29.03 ▲11.04 | 966.54 ▲353.55 | 39.47 ▼12.56 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.05 | 103.13 ▼7.49 | 46.74 ▼4.43 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add a description for screenshot #6 in hero-banner-slider/assets to your readme.txt
- Screenshots: Screenshot #4 (Change Details Alignment and Overlay options, you can changes bxslider options ( autoplay, speed, etc ) - Screenshot 4) image missing
hero-banner-slider/gutenberg-block-hero-banner.php 85% from 13 tests
"Hero Banner Slider" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 259 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("hero-banner-slider.php" instead of "gutenberg-block-hero-banner.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected30,170 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 6,040 | 4,954 | 25,227 |
JSON | 2 | 0 | 0 | 4,695 |
CSS | 3 | 44 | 13 | 228 |
PHP | 1 | 5 | 19 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/hero-banner-slider-logo.png | 4.31KB | 2.37KB | ▼ 45.04% |
assets/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |