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.16MB] [CPU: ▼5.96ms] Passed 4 tests
An overview of server-side resources used by WG Responsive Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 43.58 ▲2.17 |
Dashboard /wp-admin | 3.48 ▲0.13 | 49.56 ▼16.34 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.12 ▲0.83 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 83.00 ▼9.97 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 38.57 ▲1.66 |
WG Sliders /wp-admin/admin.php?page=wgrs-slides | 3.34 | 35.22 |
Slider Settings /wp-admin/admin.php?page=wgrs-settings | 3.43 | 34.05 |
Add New Slide /wp-admin/admin.php?page=wgrs-uploads | 3.37 | 32.27 |
Server storage [IO: ▲0.21MB] [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: 17 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_slider_list |
wp_sliders |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WG Responsive Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲163 | 13.50 ▼0.66 | 8.46 ▲6.39 | 42.77 ▲0.66 |
Dashboard /wp-admin | 2,225 ▲48 | 5.65 ▲0.07 | 82.62 ▼11.92 | 75.38 ▲33.08 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.95 ▼0.03 | 35.93 ▼1.98 | 32.04 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,570 ▲42 | 23.02 ▼0.32 | 661.86 ▼34.62 | 155.57 ▲103.67 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.35 ▲0.14 | 99.96 ▼8.02 | 79.71 ▲33.67 |
WG Sliders /wp-admin/admin.php?page=wgrs-slides | 831 | 2.01 | 25.38 | 26.96 |
Slider Settings /wp-admin/admin.php?page=wgrs-settings | 1,346 | 2.03 | 24.95 | 30.67 |
Add New Slide /wp-admin/admin.php?page=wgrs-uploads | 914 | 2.02 | 28.18 | 29.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
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
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
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
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wg-responsive-slider/wgrs-slider-template.php
- > /wp-content/plugins/wg-responsive-slider/uninstall.php
- > /wp-content/plugins/wg-responsive-slider/wgrs-slides.php
- > /wp-content/plugins/wg-responsive-slider/wgrs-settings.php
- > /wp-content/plugins/wg-responsive-slider/wgrs-upload.php
- > /wp-content/plugins/wg-responsive-slider/index.php
- > /wp-content/plugins/wg-responsive-slider/wg-responsive-slider.php
- > /wp-content/plugins/wg-responsive-slider/class.wgrs.slider.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wg-responsive-slider/wg-responsive-slider.php 92% from 13 tests
The entry point to "WG Responsive Slider" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 412 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin4,241 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 557 | 21 | 3,075 |
PHP | 8 | 74 | 42 | 1,164 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.76 |
Average class complexity | 122.00 |
▷ Minimum class complexity | 122.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 10.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 0.95KB | 0.85KB | ▼ 10.50% |