Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.53ms] Passed 4 tests
Server-side resources used by dynamic Image Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 46.51 ▼0.28 |
Dashboard /wp-admin | 3.36 ▲0.06 | 54.07 ▲7.01 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.35 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 87.85 ▼12.18 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.40 ▲2.62 |
Display Settings /wp-admin/admin.php?page=slider_post_settings | 3.25 | 33.21 |
Add New /wp-admin/post-new.php?post_type=simple-slider-image | 3.41 | 47.24 |
Dynamic Iamge Slider /wp-admin/edit.php?post_type=simple-slider-image | 3.33 | 42.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 1 new table, 6 new options
New tables |
---|
Slider_settings |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for dynamic Image Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲153 | 14.70 ▲0.32 | 2.21 ▲0.19 | 41.03 ▲0.10 |
Dashboard /wp-admin | 2,246 ▲55 | 4.84 ▼0.04 | 105.99 ▲4.37 | 43.45 ▼0.71 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 1.96 ▼0.03 | 36.05 ▼0.77 | 39.16 ▲6.40 |
Add New Post /wp-admin/post-new.php | 1,397 ▼117 | 20.70 ▲3.17 | 578.39 ▼112.63 | 67.90 ▲9.71 |
Media Library /wp-admin/upload.php | 1,428 ▲46 | 4.14 ▼0.02 | 95.91 ▼3.74 | 46.72 ▲1.42 |
Display Settings /wp-admin/admin.php?page=slider_post_settings | 874 | 2.02 | 27.68 | 32.81 |
Add New /wp-admin/post-new.php?post_type=simple-slider-image | 2,185 | 7.73 | 159.95 | 66.44 |
Dynamic Iamge Slider /wp-admin/edit.php?post_type=simple-slider-image | 1,105 | 1.93 | 32.62 | 36.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- Slider_settings
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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)
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slider_post_settings
- > Notice in wp-content/plugins/dynamic-image-slider/include/admin_options_form.php+62
Undefined variable: settingDataUpdate
- > GET request to /wp-admin/admin.php?page=slider_post_settings
- > Notice in wp-content/plugins/dynamic-image-slider/include/admin_options_form.php+55
Trying to get property 'slider_img_per_page' of non-object
- > GET request to /wp-admin/admin.php?page=slider_post_settings
- > Notice in wp-content/plugins/dynamic-image-slider/include/admin_options_form.php+57
Trying to get property 'Slider_Timer' of non-object
- > GET request to /wp-admin/admin.php?page=slider_post_settings
- > Notice in wp-content/plugins/dynamic-image-slider/include/admin_options_form.php+59
Trying to get property 'border_color' of non-object
- > GET request to /wp-admin/admin.php?page=slider_post_settings
- > Notice in wp-content/plugins/dynamic-image-slider/include/admin_options_form.php+62
Trying to get property 'border_width' of non-object
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=slider_post_settings
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=slider_post_settings 187 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #1 in dynamic-image-slider/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
dynamic-image-slider/index.php 85% from 13 tests
"dynamic Image Slider" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 185 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("dynamic-image-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
Success! There were no dangerous files found in this plugin325 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 84 | 59 | 325 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 5 | |
▷ Named functions | 5 | 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