Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.27MB] [CPU: ▼14.92ms] Passed 4 tests
An overview of server-side resources used by WE Blocks - Image, Testimonial And Logo Slider Gutenberg Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.60 ▲0.67 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.41 ▼14.61 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.77 ▼3.36 |
Add New Post /wp-admin/post-new.php | 4.83 ▼1.06 | 48.72 ▼42.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.16 ▲0.94 |
Server storage [IO: ▲2.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WE Blocks - Image, Testimonial And Logo Slider Gutenberg Blocks: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,004 ▲243 | 14.82 ▲0.47 | 33.55 ▲31.77 | 43.70 ▲2.13 |
Dashboard /wp-admin | 2,235 ▲61 | 5.56 ▲0.03 | 84.11 ▼15.10 | 41.01 ▼3.14 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.16 ▲0.18 | 35.17 ▼4.35 | 34.74 ▼1.04 |
Add New Post /wp-admin/post-new.php | 6,403 ▲4,877 | 28.15 ▲4.59 | 943.38 ▲267.34 | 37.18 ▼17.29 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.23 ▼0.12 | 102.36 ▲1.25 | 43.41 ▲1.31 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: gutenberg slider block, posts slider block, gutenberg block, logo slider gutenberg block, testimonial slider gutenberg block...
we-blocks/plugin.php 77% from 13 tests
The main PHP file in "WE Blocks - Image, Testimonial And Logo Slider Gutenberg Blocks" ver. 1.3.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 143 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("we-blocks.php" instead of "plugin.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.1" instead of "5.6.3")
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
There were no executable files found in this plugin11,560 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 2,023 | 55 | 5,219 |
SVG | 4 | 1 | 0 | 3,940 |
JavaScript | 7 | 123 | 73 | 1,720 |
PHP | 3 | 83 | 98 | 373 |
Sass | 3 | 21 | 2 | 308 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.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
PNG files should be compressed to save space and minimize bandwidth usage
20 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/we-start/t-02.png | 5.34KB | 2.98KB | ▼ 44.20% |
dist/we-start/l-01.png | 4.57KB | 2.20KB | ▼ 51.95% |
dist/we-start/logo-slider.png | 1.64KB | 0.80KB | ▼ 51.22% |
dist/we-start/l-02.png | 5.11KB | 2.94KB | ▼ 42.39% |
assets/img/left.png | 0.40KB | 0.57KB | 0.00% |