Benchmarks
Plugin footprint 65% 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.72MB] [CPU: ▼40.45ms] Passed 4 tests
An overview of server-side resources used by Responsive slider / slideshow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.24 ▼0.22 | 18.23 ▼23.67 |
Dashboard /wp-admin | 3.29 ▼0.01 | 19.58 ▼34.07 |
Posts /wp-admin/edit.php | 3.29 ▼0.07 | 20.49 ▼26.35 |
Add New Post /wp-admin/post-new.php | 3.29 ▼2.60 | 19.57 ▼77.69 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 18.23 ▼19.11 |
Add New /wp-admin/post-new.php?post_type=wa_rs_slider | 3.29 | 19.84 |
Slideshow /wp-admin/edit.php?post_type=wa_rs_slider | 3.29 | 23.57 |
Responsive Slideshw /wp-admin/options-general.php?page=responsive-slideshow | 3.29 | 18.99 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
responsive_slideshow_version |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Responsive slider / slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,093 ▲332 | 15.09 ▲0.57 | 7.77 ▲6.12 | 41.95 ▲1.75 |
Dashboard /wp-admin | 2,376 ▲196 | 6.33 ▲0.74 | 107.70 ▲8.73 | 38.97 ▼2.52 |
Posts /wp-admin/edit.php | 2,307 ▲207 | 3.51 ▲1.53 | 55.10 ▲18.59 | 34.45 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,594 ▲66 | 23.23 ▼0.03 | 632.59 ▼19.05 | 34.96 ▼24.89 |
Media Library /wp-admin/upload.php | 1,444 ▲41 | 4.35 ▲0.17 | 83.32 ▼20.88 | 45.15 ▲1.58 |
Add New /wp-admin/post-new.php?post_type=wa_rs_slider | 1,963 | 4.38 | 93.43 | 50.61 |
Slideshow /wp-admin/edit.php?post_type=wa_rs_slider | 1,299 | 3.42 | 45.42 | 27.37 |
Responsive Slideshw /wp-admin/options-general.php?page=responsive-slideshow | 1,360 | 3.26 | 42.21 | 65.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 cannot be uninstalled
- > Warning in wp-content/plugins/responsive-slideshow/inc/metaboxes/init.php+746
count(): Parameter must be an array or an object that implements Countable
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- responsive_slideshow_version
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-slideshow
- > Warning in wp-content/plugins/responsive-slideshow/inc/metaboxes/init.php+746
count(): Parameter must be an array or an object that implements Countable
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-slideshow
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/options-general.php?page=responsive-slideshow
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=responsive-slideshow
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/responsive-slideshow/inc/metaboxes/tests/phpunit/includes/bootstrap.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/responsive-slideshow/inc/metaboxes/init.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/responsive-slideshow/responsive-slideshow.php:39
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/responsive-slideshow/inc/metaboxes/tests/phpunit/tests/CMB_Core_Test.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/responsive-slideshow/inc/metaboxes/example-functions.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=wa_rs_slider
- > Rendering (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1 The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-slideshow
- > Rendering (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1 The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (http://www.backraw.com/plugins/rs/images/screenshot-1.jpg), #2 (http://www.backraw.com/plugins/rs/images/screenshot-2.jpg)
- Tags: You are using too many tags: 97 tag instead of maximum 10
responsive-slideshow/responsive-slideshow.php Passed 13 tests
"Responsive slider / slideshow" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
46 characters long description:
Simple & lightweight responsive slider plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin8,072 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 633 | 657 | 4,054 |
PHP | 11 | 626 | 1,108 | 2,475 |
CSS | 5 | 132 | 57 | 1,150 |
Markdown | 2 | 80 | 0 | 268 |
Bourne Shell | 1 | 15 | 4 | 59 |
JSON | 1 | 0 | 0 | 31 |
YAML | 1 | 5 | 0 | 18 |
XML | 1 | 0 | 1 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 54.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 34 | 21.25% |
▷ Public methods | 158 | 98.75% |
▷ Protected methods | 2 | 1.25% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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
20 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wa_left.png | 3.22KB | 0.14KB | ▼ 95.78% |
assets/images/wa_right.png | 3.22KB | 0.13KB | ▼ 95.93% |
inc/metaboxes/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/metaboxes/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
assets/images/wps-pro.png | 11.33KB | 5.58KB | ▼ 50.75% |