Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.90ms] Passed 4 tests
An overview of server-side resources used by Smooth Dynamic Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.14 ▼5.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.85 ▼4.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.73 ▲1.89 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.87 ▼19.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.08 ▲1.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.08MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_sds_slider |
wp_sds_slider_cat |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
sds_slider_whi |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Smooth Dynamic Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲190 | 13.55 ▼0.88 | 7.90 ▲5.62 | 38.72 ▼15.05 |
Dashboard /wp-admin | 2,237 ▲55 | 5.87 ▲0.01 | 116.80 ▲11.66 | 38.94 ▼3.07 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.02 | 35.53 ▲0.91 | 31.83 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,562 ▲20 | 23.21 ▲5.25 | 662.95 ▲33.39 | 57.97 ▲8.62 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.22 ▼0.09 | 99.30 ▲5.74 | 40.82 ▼0.41 |
Manage Slider /wp-admin/add-sds_slider.php | 26 | 0.44 | 0.06 | 12.93 |
Manage Category /wp-admin/add-sds_slider.php?page=add-slidercategory | 26 | 0.44 | 0.06 | 7.46 |
Settings /wp-admin/add-sds_slider.php?page=slider-setting | 26 | 0.44 | 0.07 | 6.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_sds_slider_cat
- wp_sds_slider
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- sds_slider_whi
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smooth-dynamic-slider/sdsslider.php:394
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/smooth-dynamic-slider/sds_slider_setting.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/smooth-dynamic-slider/add-sds_slider.php:139
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/smooth-dynamic-slider/add-sds_slider_cat.php:96
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/add-sds_slider.php
- > Network (severe)
wp-admin/add-sds_slider.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/add-sds_slider.php?page=add-slidercategory
- > Network (severe)
wp-admin/add-sds_slider.php?page=add-slidercategory - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/add-sds_slider.php?page=slider-setting
- > Network (severe)
wp-admin/add-sds_slider.php?page=slider-setting - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
smooth-dynamic-slider/sdsslider.php 92% from 13 tests
The primary PHP file in "Smooth Dynamic Slider" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("smooth-dynamic-slider.php" instead of "sdsslider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,039 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 173 | 31 | 940 |
JavaScript | 1 | 15 | 8 | 84 |
CSS | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin