Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/yoel-responsive-slider/cuztom/classes/fields/multi_select.class.php+23
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.60MB] [CPU: ▼48.98ms] Passed 4 tests
An overview of server-side resources used by yoel dead simple responsive image slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.39 ▼1.07 | 6.62 ▼34.78 |
Dashboard /wp-admin | 2.41 ▼0.90 | 8.09 ▼39.37 |
Posts /wp-admin/edit.php | 2.41 ▼0.95 | 8.22 ▼42.39 |
Add New Post /wp-admin/post-new.php | 2.41 ▼3.48 | 8.48 ▼79.39 |
Media Library /wp-admin/upload.php | 2.41 ▼0.82 | 8.70 ▼26.46 |
All Yoel Sliders /wp-admin/edit.php?post_type=yoel_slider | 2.41 | 7.74 |
Add New /wp-admin/post-new.php?post_type=yoel_slider | 2.41 | 7.96 |
how to use /wp-admin/edit.php?post_type=yoel_slider&page=wnm_fund_set | 2.41 | 7.98 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for yoel dead simple responsive image slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,136 ▲401 | 15.81 ▲1.52 | 8.59 ▲6.73 | 39.14 ▼7.79 |
Dashboard /wp-admin | 2,415 ▲230 | 6.87 ▲1.99 | 138.19 ▲21.90 | 40.26 ▼7.22 |
Posts /wp-admin/edit.php | 2,328 ▲236 | 3.79 ▲1.75 | 51.55 ▲9.17 | 30.12 ▼8.55 |
Add New Post /wp-admin/post-new.php | 1,576 ▲34 | 18.25 ▲0.08 | 654.81 ▲36.46 | 35.44 ▼19.58 |
Media Library /wp-admin/upload.php | 1,464 ▲82 | 4.64 ▲0.37 | 81.14 ▼21.80 | 41.31 ▼1.62 |
All Yoel Sliders /wp-admin/edit.php?post_type=yoel_slider | 1,287 | 3.71 | 55.17 | 26.78 |
Add New /wp-admin/post-new.php?post_type=yoel_slider | 1,700 | 4.20 | 64.29 | 39.93 |
how to use /wp-admin/edit.php?post_type=yoel_slider&page=wnm_fund_set | 1,051 | 3.46 | 42.92 | 25.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/yoel-responsive-slider/cuztom/classes/fields/multi_select.class.php+23
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 20 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=yoel_slider&page=wnm_fund_set
- > Deprecated in wp-content/plugins/yoel-responsive-slider/cuztom/classes/fields/term_checkboxes.class.php+37
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
SRP 50% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/yoel-responsive-slider/help_page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (slider table ), #2 (slider edit/new slider page), #3 (example of how the sliders look by default)
yoel-responsive-slider/index.php 92% from 13 tests
The principal PHP file in "yoel dead simple responsive image slider" v. 1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("yoel-responsive-slider.php" instead of "index.php")
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
There were no executable files found in this plugin5,580 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 558 | 1,041 | 2,460 |
JavaScript | 5 | 387 | 411 | 2,288 |
CSS | 5 | 99 | 18 | 549 |
HTML | 2 | 38 | 9 | 169 |
Markdown | 1 | 41 | 0 | 99 |
JSON | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 10 | 7.58% |
▷ Public methods | 129 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.27% |
Functions | 19 | |
▷ Named functions | 16 | 84.21% |
▷ Anonymous functions | 3 | 15.79% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
18 PNG files occupy 0.82MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cuztom/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cuztom/assets/images/mime/file.png | 1.14KB | 0.33KB | ▼ 71.50% |
cuztom/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
screenshot-3.png | 516.44KB | 106.05KB | ▼ 79.47% |
cuztom/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |