Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.80ms] Passed 4 tests
This is a short check of server-side resources used by Super Simple Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.08 ▼0.90 |
Dashboard /wp-admin | 3.38 ▲0.07 | 51.50 ▼4.61 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 51.06 ▲4.10 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 87.74 ▼12.40 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.65 ▲2.72 |
Our Themes /wp-admin/edit.php?post_type=super-simple-slider&page=themes | 3.30 | 42.12 |
Create New Slider /wp-admin/post-new.php?post_type=super-simple-slider | 3.39 | 58.99 |
View Sliders /wp-admin/edit.php?post_type=super-simple-slider | 3.34 | 36.01 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
otb_new_theme |
can_compress_scripts |
widget_super-simple-slider-widget |
widget_recent-posts |
otb_new_theme_namaha_viewed |
super_simple_slider_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Super Simple Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲215 | 13.73 ▼0.55 | 7.70 ▲5.87 | 39.11 ▼6.25 |
Dashboard /wp-admin | 2,241 ▲53 | 5.81 ▼0.02 | 101.32 ▼16.05 | 42.32 ▲0.72 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 1.99 ▲0.00 | 39.31 ▲2.00 | 33.04 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,567 ▲53 | 23.19 ▲5.52 | 658.59 ▼22.33 | 48.26 ▼8.19 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.11 ▼0.13 | 96.26 ▼17.82 | 46.62 ▼0.85 |
Our Themes /wp-admin/edit.php?post_type=super-simple-slider&page=themes | 904 | 2.02 | 28.18 | 53.44 |
Create New Slider /wp-admin/post-new.php?post_type=super-simple-slider | 2,294 | 3.76 | 78.42 | 47.54 |
View Sliders /wp-admin/edit.php?post_type=super-simple-slider | 1,085 | 1.96 | 31.35 | 29.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- super_simple_slider_version
- widget_theysaidso_widget
- otb_new_theme_namaha_viewed
- otb_new_theme
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_super-simple-slider-widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/super-simple-slider/library/includes/dynamic-css-slider.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/super-simple-slider/library/template-parts/repeatable-panel-slide.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/super-simple-slider/library/templates/single-super-simple-slider.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/super-simple-slider/library/template-parts/content-themes.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/super-simple-slider/library/template-parts/repeatable-panel-button.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_status() in wp-content/plugins/super-simple-slider/library/template-parts/slider.php:2
- > PHP Notice
Undefined variable: has_min_width in wp-content/plugins/super-simple-slider/library/includes/dynamic-css-slider.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/super-simple-slider/library/classes/class-super-simple-slider-widget.php:2
- > PHP Notice
Undefined variable: hidden_panel in wp-content/plugins/super-simple-slider/library/template-parts/repeatable-panel-slide.php on line 1
- > PHP Notice
Undefined variable: button_count in wp-content/plugins/super-simple-slider/library/template-parts/repeatable-panel-button.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/super-simple-slider/library/template-parts/global-settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
4 plugin tags: wordpress slider, slider, image slider, responsive slider
super-simple-slider/super-simple-slider.php 92% from 13 tests
The entry point to "Super Simple Slider" version 1.0.11 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("3.9" instead of "4.0")
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
No dangerous file extensions were detected12,271 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 874 | 1,198 | 4,894 |
CSS | 4 | 168 | 65 | 3,386 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 14 | 386 | 589 | 1,320 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 33.75 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 3 | 6.25% |
▷ Public methods | 45 | 93.75% |
▷ Protected methods | 2 | 4.17% |
▷ Private methods | 1 | 2.08% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected