Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▲3.55ms] Passed 4 tests
Analyzing server-side resources used by Gutenberg slider block
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.99 ▲3.00 |
Dashboard /wp-admin | 3.33 ▲0.03 | 53.90 ▼3.82 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 60.99 ▲3.72 |
Add New Post /wp-admin/post-new.php | 7.17 ▲1.28 | 121.51 ▲13.90 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 50.30 ▲11.31 |
Server storage [IO: ▲4.91MB] [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: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Gutenberg slider block: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.22 ▼0.04 | 2.84 ▲0.56 | 42.52 ▼5.14 |
Dashboard /wp-admin | 2,195 ▲17 | 5.61 ▼0.10 | 98.11 ▼13.47 | 40.40 ▼4.93 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▲0.00 | 35.66 ▼3.36 | 37.24 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6,370 ▲4,832 | 27.95 ▲4.84 | 1,090.02 ▲449.39 | 43.36 ▼8.94 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▼0.04 | 140.00 ▲26.64 | 54.92 ▲6.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/image-text-slider-block/slider-block.php:87
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (`/assets/screenshot-1.png`), #2 (`/assets/screenshot-2.png`), #3 (`/assets/screenshot-3.png`), #4 (`/assets/screenshot-4.png`), #5 (`/assets/screenshot-5.png`)
image-text-slider-block/slider-block.php 92% from 13 tests
"Gutenberg slider block" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("image-text-slider-block.php" instead of "slider-block.php")
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
No dangerous file extensions were detected43,862 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 43,023 |
JavaScript | 4 | 67 | 93 | 583 |
PHP | 2 | 10 | 12 | 169 |
CSS | 3 | 5 | 12 | 41 |
Markdown | 1 | 9 | 0 | 29 |
Sass | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 3.27MB with 1.90MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screenshot-1.png | 728.02KB | 288.95KB | ▼ 60.31% |
assets/Screenshot-5.png | 591.33KB | 216.71KB | ▼ 63.35% |
assets/Screenshot-3.png | 390.20KB | 209.87KB | ▼ 46.21% |
assets/Screenshot-2.png | 997.22KB | 411.60KB | ▼ 58.72% |
assets/Screenshot-4.png | 643.19KB | 245.23KB | ▼ 61.87% |