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.04MB] [CPU: ▲0.25ms] Passed 4 tests
This is a short check of server-side resources used by Ultra Responsive Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.73 ▼1.44 |
Dashboard /wp-admin | 3.34 ▲0.04 | 57.59 ▲3.86 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.41 ▼0.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 98.68 ▼1.17 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.01 ▲4.10 |
Docs /wp-admin/edit.php?post_type=clktusg_ultra_slider&page=wkmpallery-doc-page | 3.26 | 30.08 |
All Sliders /wp-admin/edit.php?post_type=clktusg_ultra_slider | 3.28 | 36.29 |
Add Slider /wp-admin/post-new.php?post_type=clktusg_ultra_slider | 3.51 | 47.84 |
Server storage [IO: ▲1.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultra Responsive Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.15 ▼1.23 | 2.18 ▲0.27 | 42.41 ▼0.81 |
Dashboard /wp-admin | 2,249 ▲46 | 5.87 ▲0.99 | 111.55 ▲6.44 | 44.35 ▲1.85 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.06 ▲0.09 | 39.09 ▼0.68 | 36.99 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,571 ▲12 | 23.13 ▲4.99 | 604.12 ▼31.53 | 57.86 ▲3.91 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.27 ▲0.05 | 101.38 ▼3.78 | 48.86 ▲6.71 |
Docs /wp-admin/edit.php?post_type=clktusg_ultra_slider&page=wkmpallery-doc-page | 897 | 2.01 | 24.74 | 33.03 |
All Sliders /wp-admin/edit.php?post_type=clktusg_ultra_slider | 1,037 | 1.99 | 30.44 | 31.00 |
Add Slider /wp-admin/post-new.php?post_type=clktusg_ultra_slider | 2,303 | 3.99 | 73.76 | 139.48 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 25% 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)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=clktusg_ultra_slider
- > Warning in wp-admin/includes/class-wp-list-table.php+1338
array_keys() expects parameter 1 to be array, null given
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=clktusg_ultra_slider
- > Warning in wp-admin/includes/class-wp-list-table.php+1383
Invalid argument supplied for foreach()
- > GET request to /wp-admin/edit.php?post_type=clktusg_ultra_slider
- > Warning in wp-admin/includes/class-wp-list-table.php+1338
array_intersect(): Expected parameter 1 to be an array, null given
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=clktusg_ultra_slider
- > Warning in wp-admin/includes/class-wp-list-table.php+1339
count(): Parameter must be an array or an object that implements Countable
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultra-responsive-slider/includes/Clkt-docs.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/ultra-responsive-slider/includes/Clkt-slider-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ultra-responsive-slider/includes/Clkt-shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultra-responsive-slider/Clkt-Main.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ultra-responsive-slider/template/single-clkt-ultra-slider.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultra-responsive-slider/includes/Clkt-ultra-slider.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (All Sliders), #2 (Slide Adding Page), #3 (Slider Setting Page), #4 (Full Width Slider Demo), #5 (Slider With Thumbnail), #6 (Slider Without Thumbnail)
ultra-responsive-slider/Clkt-Main.php 85% from 13 tests
The main PHP file in "Ultra Responsive Slider" ver. 0.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: The principal plugin file should be the same as the plugin slug ("ultra-responsive-slider.php" instead of "Clkt-Main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin21,444 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 51 | 113 | 16,968 |
JavaScript | 6 | 732 | 219 | 3,399 |
PHP | 6 | 175 | 202 | 789 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/new-slide.png | 2.54KB | 1.19KB | ▼ 53.21% |
css/fotorama.png | 3.15KB | 3.22KB | 0.00% |
css/fotorama@2x.png | 7.15KB | 7.53KB | 0.00% |