Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.41ms] Passed 4 tests
Analyzing server-side resources used by Dual Size Responsive Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.17 ▲0.21 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.51 ▼1.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 44.38 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.96 ▼13.69 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.72 ▲2.93 |
Responsive Slider /wp-admin/options-general.php?page=dual-size-responsive-slider | 3.31 | 31.32 |
Add New Slide /wp-admin/post-new.php?post_type=responsive-slider | 3.38 | 44.94 |
Add New Set /wp-admin/edit.php?post_type=responsive-slider&page=/wp-admin/post-new.php?post_type=responsive-slider&parent=top | 3.04 | 23.38 |
All Slider /wp-admin/edit.php?post_type=responsive-slider | 3.31 | 29.95 |
Server storage [IO: ▲0.17MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 18 new options
New WordPress options |
---|
small-slider-width |
widget_recent-comments |
widget_recent-posts |
responsive-slider-change-width |
can_compress_scripts |
slider-animationSpeed |
slider-controlNav |
slider-direction |
large-slider-height |
small-slider-height |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Dual Size Responsive Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲153 | 14.03 ▼0.33 | 6.01 ▲4.09 | 37.56 ▼3.70 |
Dashboard /wp-admin | 2,244 ▲53 | 4.88 ▼0.02 | 97.76 ▼5.50 | 38.52 ▼6.80 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.02 ▲0.01 | 33.76 ▼2.99 | 33.52 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 17.59 ▼0.04 | 684.70 ▲71.21 | 54.18 ▲1.05 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.18 ▼0.03 | 99.09 ▲4.21 | 41.48 ▼1.42 |
Responsive Slider /wp-admin/options-general.php?page=dual-size-responsive-slider | 1,171 | 2.06 | 23.79 | 34.74 |
Add New Slide /wp-admin/post-new.php?post_type=responsive-slider | 1,761 | 3.61 | 64.74 | 34.23 |
Add New Set /wp-admin/edit.php?post_type=responsive-slider&page=/wp-admin/post-new.php?post_type=responsive-slider&parent=top | 28 | 0.44 | 0.11 | 3.91 |
All Slider /wp-admin/edit.php?post_type=responsive-slider | 1,096 | 2.00 | 29.44 | 25.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/dual-size-responsive-slider/admin/parent-box.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_responsive_slider_option() in wp-content/plugins/dual-size-responsive-slider/admin/parent-option-meta-box.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/dual-size-responsive-slider/dual-size-responsive-slider.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dual-size-responsive-slider/admin/option-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_media() in wp-content/plugins/dual-size-responsive-slider/admin/slide-metabox.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=responsive-slider&page=/wp-admin/post-new.php?post_type=responsive-slider&parent=top
- > Network (severe)
wp-admin/edit.php?post_type=responsive-slider&page=/wp-admin/post-new.php?post_type=responsive-slider&parent=top - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3 in dual-size-responsive-slider/assets to your readme.txt
dual-size-responsive-slider/dual-size-responsive-slider.php Passed 13 tests
The main PHP script in "Dual Size Responsive Slider" version 1.2.0 is automatically included on every request by WordPress
138 characters long description:
This plugin displays slide show for responsive using FlexSlider2. You can set 2 images its size is different, size for PC and smart phone.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,652 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 133 | 68 | 1,095 |
JavaScript | 3 | 134 | 128 | 991 |
CSS | 2 | 7 | 26 | 374 |
PO File | 1 | 78 | 121 | 173 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin