Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.87ms] Passed 4 tests
This is a short check of server-side resources used by Your Simple Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.95 ▼6.25 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.94 ▲1.27 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 50.93 ▲3.29 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.75 ▼2.23 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 32.05 ▼0.28 |
Add New /wp-admin/post-new.php?post_type=your_simple_slider | 3.33 | 43.39 |
Your Simple Slider /wp-admin/edit.php?post_type=your_simple_slider | 3.38 | 40.14 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Your Simple Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,087 ▲341 | 15.42 ▲1.18 | 7.24 ▲5.47 | 42.45 ▼3.23 |
Dashboard /wp-admin | 2,374 ▲186 | 6.52 ▲1.65 | 125.31 ▲11.90 | 42.42 ▼3.80 |
Posts /wp-admin/edit.php | 2,277 ▲188 | 3.32 ▲1.27 | 48.24 ▲11.02 | 33.59 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,554 ▲33 | 23.37 ▲0.38 | 562.20 ▼67.86 | 32.31 ▼19.71 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.14 ▼0.08 | 77.27 ▼29.24 | 40.29 ▼0.22 |
Add New /wp-admin/post-new.php?post_type=your_simple_slider | 1,774 | 3.63 | 58.45 | 33.26 |
Your Simple Slider /wp-admin/edit.php?post_type=your_simple_slider | 1,253 | 3.37 | 43.12 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=your_simple_slider
- > Notice in wp-content/plugins/your-simple-slider/your-simple-slider.php+110
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/your-simple-slider/your-simple-slider.php:229
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: wordpress slider, photo slider, horizontal slider, slider, responsive slider...
your-simple-slider/your-simple-slider.php Passed 13 tests
"Your Simple Slider" version 2.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
39 characters long description:
Its very simple plugin for image slider
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
Success! There were no dangerous files found in this plugin3,655 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 910 | 99 | 2,426 |
CSS | 4 | 49 | 5 | 312 |
Sass | 2 | 27 | 5 | 262 |
PO File | 5 | 80 | 95 | 242 |
PHP | 1 | 78 | 23 | 240 |
LESS | 1 | 11 | 5 | 152 |
SVG | 1 | 1 | 0 | 13 |
Ruby | 1 | 2 | 0 | 8 |
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.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 | 12 | |
▷ Named functions | 12 | 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
There are no PNG files in this plugin