Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.65ms] Passed 4 tests
An overview of server-side resources used by YITH Slider for page builders
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 47.63 ▲8.58 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.11 ▲0.57 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 43.02 ▼6.14 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 82.16 ▼14.41 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.05 ▲5.40 |
Add New Slider /wp-admin/post-new.php?post_type=yith_slider | 3.34 | 51.30 |
All Sliders /wp-admin/edit.php?post_type=yith_slider | 3.32 | 38.02 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by YITH Slider for page builders
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.37 ▼0.79 | 3.59 ▲1.90 | 43.33 ▲3.56 |
Dashboard /wp-admin | 2,227 ▲36 | 5.86 ▼0.04 | 97.80 ▼4.76 | 40.79 ▲0.34 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.04 ▲0.01 | 35.70 ▲0.20 | 33.82 ▼4.26 |
Add New Post /wp-admin/post-new.php | 6,203 ▲4,684 | 19.32 ▼3.74 | 912.58 ▲244.15 | 66.08 ▲13.83 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.23 ▼0.00 | 106.36 ▲5.90 | 46.34 ▼0.32 |
Add New Slider /wp-admin/post-new.php?post_type=yith_slider | 2,306 | 4.20 | 82.60 | 94.86 |
All Sliders /wp-admin/edit.php?post_type=yith_slider | 1,114 | 2.29 | 34.17 | 28.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(YITH_SLIDER_FOR_PAGE_BUILDERS_PATHtemplates/shortcodes/yith-slider.php): failed to open stream: No such file or directory in wp-content/plugins/yith-slider-for-page-builders/include/shortcodes.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/yith-slider-for-page-builders/templates/shortcodes/yith-slider.php:191
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/yith-slider-for-page-builders/yith-slider-for-page-builders.php:22
- > PHP Warning
Use of undefined constant YITH_SLIDER_FOR_PAGE_BUILDERS_PATH - assumed 'YITH_SLIDER_FOR_PAGE_BUILDERS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/yith-slider-for-page-builders/include/shortcodes.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yith-slider-for-page-builders/include/sliders.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yith-slider-for-page-builders/include/class-yith-sliders-metabox.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yith-slider-for-page-builders/include/block/slider-block.php:133
- > PHP Fatal error
require_once(): Failed opening required 'YITH_SLIDER_FOR_PAGE_BUILDERS_PATHtemplates/shortcodes/yith-slider.php' (include_path='.:/usr/share/php') in wp-content/plugins/yith-slider-for-page-builders/include/shortcodes.php on line 11
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=yith_slider
- > Javascript (severe) in unknown
/wp-content/plugins/yith-slider-for-page-builders/assets/slider-admin-js.js?ver=1.0.10 27:13 Uncaught TypeError: slides_list.sortable is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: block, gutenberg, sliders, yith, proteo...
yith-slider-for-page-builders/yith-slider-for-page-builders.php Passed 13 tests
The entry point to "YITH Slider for page builders" version 1.0.10 is a PHP file that has certain tags in its header comment area
90 characters long description:
This plugin will add cool block oriented sliders to your website. Works with Block Editor.
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 plugin2,241 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 184 | 267 | 1,262 |
CSS | 3 | 110 | 26 | 584 |
SVG | 12 | 0 | 12 | 255 |
JavaScript | 4 | 24 | 4 | 140 |
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.28 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/slider-images/placeholder.png | 6.65KB | 2.51KB | ▼ 62.25% |