Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.20ms] Passed 4 tests
Server-side resources used by Image Slider - Gutenberg Slider Block
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.19 ▲3.73 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.97 ▼0.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.60 ▲3.04 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.89 ▼10.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.09 ▲4.13 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Image Slider - Gutenberg Slider Block
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.42 ▲0.06 | 1.69 ▲0.08 | 45.93 ▲2.23 |
Dashboard /wp-admin | 2,195 ▲20 | 5.63 ▼0.29 | 93.28 ▼6.16 | 41.62 ▲2.31 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.01 | 32.96 ▼3.25 | 35.36 ▼0.87 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,840 | 27.73 ▲4.83 | 921.81 ▲216.85 | 62.75 ▲1.65 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▲0.06 | 105.96 ▲11.61 | 41.35 ▼5.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-image-slider/simple-image-slider.php:18
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: image slider, block, gutenberg slider, gutenberg, slider...
simple-image-slider/simple-image-slider.php Passed 13 tests
The main file in "Image Slider - Gutenberg Slider Block" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
113 characters long description:
Simple Image slider is a powerful and convenient block. It allows you to display multiple images on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin7,834 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 34 | 33 | 7,292 |
Sass | 2 | 3 | 0 | 448 |
JSON | 2 | 0 | 0 | 78 |
PHP | 2 | 3 | 14 | 12 |
CSS | 2 | 1 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin