Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.22MB] [CPU: ▼41.68ms] Passed 4 tests
Analyzing server-side resources used by Simple Responsive Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 14.21 ▼24.87 |
Dashboard /wp-admin | 2.79 ▼0.51 | 16.68 ▼31.87 |
Posts /wp-admin/edit.php | 2.79 ▼0.57 | 16.19 ▼29.66 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.10 | 15.24 ▼80.31 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 17.93 ▼17.87 |
Add New /wp-admin/post-new.php?post_type=resp_slider | 2.79 | 15.54 |
Responsive Sliders /wp-admin/edit.php?post_type=resp_slider | 2.79 | 16.17 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 127 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_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 / | 3,122 ▲387 | 15.90 ▲1.60 | 5.18 ▲3.58 | 43.54 ▲5.39 |
Dashboard /wp-admin | 2,440 ▲255 | 6.90 ▲2.04 | 141.66 ▲37.53 | 42.94 ▲1.98 |
Posts /wp-admin/edit.php | 2,343 ▲251 | 3.67 ▲1.67 | 51.17 ▲13.52 | 30.15 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,605 ▲81 | 23.56 ▲0.42 | 658.32 ▲15.62 | 37.01 ▼23.31 |
Media Library /wp-admin/upload.php | 1,485 ▲97 | 4.50 ▲0.32 | 83.74 ▼34.01 | 42.95 ▼6.22 |
Add New /wp-admin/post-new.php?post_type=resp_slider | 2,886 | 4.55 | 91.27 | 42.30 |
Responsive Sliders /wp-admin/edit.php?post_type=resp_slider | 1,327 | 3.67 | 47.61 | 26.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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+613
Invalid argument supplied for foreach()
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=resp_slider
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-includes/class-wp-post-type.php+613
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 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 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=resp_slider
- > Network (severe)
wp-content/plugins/addi-simple-slider/codemirror-3.22/theme/xg-dark.css?ver=6.3.1 - 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/edit.php?post_type=resp_slider
- > Network (severe)
wp-content/plugins/addi-simple-slider/codemirror-3.22/theme/xg-light.css?ver=6.3.1 - 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: responsiveslides, slider, jquery, simple slider
addi-simple-slider/slider.php 92% from 13 tests
The entry point to "Simple Responsive Slider" version 2.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file 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 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous 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 is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin