Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼136.14ms] Passed 4 tests
This is a short check of server-side resources used by Gutenberg Slider Blocks - Candy Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 32.94 ▲11.45 |
Dashboard /wp-admin | 3.07 ▲0.01 | 41.39 ▼0.43 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 46.47 ▲12.14 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 95.57 ▼550.16 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 33.94 ▼5.43 |
Server storage [IO: ▲2.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Gutenberg Slider Blocks - Candy Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲200 | 16.69 ▲1.17 | 13.94 ▲4.82 | 46.25 ▲0.84 |
Dashboard /wp-admin | 2,970 ▲36 | 6.09 ▼0.09 | 148.09 ▲0.64 | 101.34 ▼10.14 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 66.15 ▼3.76 | 89.88 ▲2.97 |
Add New Post /wp-admin/post-new.php | 1,518 ▲10 | 18.69 ▼0.22 | 372.19 ▲14.21 | 129.24 ▲17.03 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.03 ▲0.01 | 149.64 ▼0.00 | 121.23 ▲1.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: carousel, block, slider, gutenberg blocks, gutenberg slider...
candy-slider/candy-slider.php Passed 13 tests
The main PHP script in "Gutenberg Slider Blocks - Candy Slider" version 1.0.2 is automatically included on every request by WordPress
82 characters long description:
Candy Slider allows you to add a Gutenberg slider block to your WordPress content.
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
There were no executable files found in this plugin11,309 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 625 | 360 | 7,055 |
SVG | 3 | 0 | 0 | 3,927 |
Sass | 2 | 13 | 4 | 243 |
PHP | 3 | 11 | 71 | 80 |
CSS | 4 | 0 | 15 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for 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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/swiper-arrow.png | 1.01KB | 0.19KB | ▼ 81.57% |