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: ▼1.37MB] [CPU: ▼352.49ms] Passed 4 tests
A check of server-side resources used by Simple Responsive Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.07 ▼0.44 | 17.33 ▼29.95 |
Dashboard /wp-admin | 2.99 ▼0.42 | 16.33 ▼22.62 |
Posts /wp-admin/edit.php | 2.99 ▼0.65 | 13.81 ▼72.82 |
Add New Post /wp-admin/post-new.php | 2.99 ▼3.98 | 14.27 ▼1,284.55 |
Media Library /wp-admin/upload.php | 2.99 ▼0.31 | 13.53 ▼12.98 |
Responsive Sliders /wp-admin/edit.php?post_type=resp_slider | 2.99 | 15.11 |
Add New /wp-admin/post-new.php?post_type=resp_slider | 2.99 | 14.66 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 127 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Simple Responsive Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,175 ▲421 | 18.42 ▲2.68 | 9.23 ▲3.07 | 2.25 ▼0.69 |
Dashboard /wp-admin | 3,186 ▲328 | 7.62 ▲1.50 | 146.38 ▼2.23 | 155.39 ▼8.69 |
Posts /wp-admin/edit.php | 3,015 ▲327 | 4.95 ▲1.73 | 81.95 ▲15.55 | 144.20 ▼4.94 |
Add New Post /wp-admin/post-new.php | 1,752 ▲54 | 16.18 ▼6.11 | 429.22 ▼2.72 | 174.85 ▲8.20 |
Media Library /wp-admin/upload.php | 1,805 ▲107 | 5.76 ▲0.25 | 112.57 ▼36.78 | 188.00 ▼3.20 |
Responsive Sliders /wp-admin/edit.php?post_type=resp_slider | 1,713 | 4.91 | 78.39 | 112.21 |
Add New /wp-admin/post-new.php?post_type=resp_slider | 3,821 | 6.42 | 119.21 | 141.13 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-includes/class-wp-post-type.php+582
Invalid argument supplied for foreach()
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Warning in wp-includes/class-wp-post-type.php+582
Invalid argument supplied for foreach()
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/slider.php+359
Undefined index: ssd_slider_box_nonce
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/methods.php+194
Undefined offset: 0
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/methods.php+194
Undefined offset: 1
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/methods.php+194
Undefined offset: 2
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/methods.php+194
Undefined offset: 3
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/methods.php+194
Undefined offset: 4
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Notice in wp-content/plugins/addi-simple-slider/methods.php+262
Undefined variable: html
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/addi-simple-slider/slider.php:30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Network (severe)
wp-content/plugins/addi-simple-slider/codemirror-3.22/theme/xg-dark.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=resp_slider
- > Network (severe)
wp-content/plugins/addi-simple-slider/codemirror-3.22/theme/xg-light.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: responsiveslides, simple slider, jquery, slider
addi-simple-slider/slider.php 92% from 13 tests
The main PHP file in "Simple Responsive Slider" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("addi-simple-slider.php" instead of "slider.php")
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
There were no executable files found in this plugin14,120 lines of code in 117 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 63 | 1,339 | 746 | 11,313 |
CSS | 40 | 352 | 159 | 1,595 |
HTML | 5 | 88 | 1 | 600 |
PHP | 3 | 142 | 70 | 504 |
Markdown | 2 | 18 | 0 | 65 |
JSON | 2 | 0 | 0 | 35 |
Bourne Shell | 1 | 0 | 1 | 5 |
YAML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin