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 gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼291.88ms] Passed 4 tests
Server-side resources used by Image slider with description
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 55.70 ▲0.65 |
Dashboard /wp-admin | 3.52 ▲0.12 | 35.52 ▲2.09 |
Posts /wp-admin/edit.php | 3.75 ▲0.11 | 55.24 ▲20.26 |
Add New Post /wp-admin/post-new.php | 6.98 ▲0.02 | 96.38 ▼1,169.37 |
Media Library /wp-admin/upload.php | 3.40 ▲0.10 | 24.80 ▼0.87 |
Slider Setting /wp-admin/admin.php?page=ImgSlider | 3.37 | 32.40 |
Image Management /wp-admin/admin.php?page=ImgSlider_image_management | 3.41 | 23.24 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_ImgSlider_plugin |
New WordPress options |
---|
ImgSlider_option_1 |
ImgSlider_option_2 |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Image slider with description
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,927 ▲183 | 16.37 ▲0.60 | 11.28 ▲5.28 | 2.50 ▲0.01 |
Dashboard /wp-admin | 2,926 ▲65 | 6.13 ▼0.04 | 127.08 ▼14.06 | 162.05 ▼73.87 |
Posts /wp-admin/edit.php | 2,722 ▲31 | 3.25 ▲0.00 | 64.58 ▼0.90 | 144.78 ▼38.52 |
Add New Post /wp-admin/post-new.php | 1,741 ▼11 | 23.06 ▲2.18 | 418.57 ▼88.91 | 190.22 ▲34.07 |
Media Library /wp-admin/upload.php | 1,729 ▲28 | 5.47 ▼0.06 | 145.86 ▲1.67 | 245.24 ▲29.03 |
Slider Setting /wp-admin/admin.php?page=ImgSlider | 1,273 | 2.39 | 54.81 | 103.54 |
Image Management /wp-admin/admin.php?page=ImgSlider_image_management | 1,461 | 2.41 | 56.54 | 107.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 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)
Everything seems fine, however this is by no means 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 take a closer look at the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/image-slider-with-description/pages/image-management-add.php
- > /wp-content/plugins/image-slider-with-description/image-slider-with-description.php
- > /wp-content/plugins/image-slider-with-description/pages/image-management-show.php
- > /wp-content/plugins/image-slider-with-description/pages/image-management-edit.php
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: slider, slideshow, image
image-slider-with-description/image-slider-with-description.php 92% from 13 tests
"Image slider with description" version 9.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 229 characters long)
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 detected1,590 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 123 | 47 | 968 |
PO File | 2 | 131 | 244 | 302 |
JavaScript | 4 | 25 | 14 | 259 |
CSS | 1 | 12 | 17 | 60 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/slide-nav-pink.png | 1.24KB | 1.41KB | 0.00% |
images/slide-nav-purple.png | 1.24KB | 1.43KB | 0.00% |
images/slide-nav-white.png | 0.85KB | 0.98KB | 0.00% |
images/slide-nav-brick.png | 1.26KB | 1.46KB | 0.00% |
images/slide-nav-green.png | 1.24KB | 1.41KB | 0.00% |