Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼6.66ms] Passed 4 tests
Server-side resources used by Transition Slider - Responsive Image Slider and Gallery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.13 | 36.58 ▼5.45 |
Dashboard /wp-admin | 3.45 ▲0.15 | 46.85 ▼3.66 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 51.77 ▲4.52 |
Add New Post /wp-admin/post-new.php | 5.34 ▼0.54 | 69.54 ▼22.05 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.28 ▲4.75 |
Sliders /wp-admin/admin.php?page=transition_slider_admin | 3.35 | 35.09 |
Go Pro /wp-admin/admin.php?page=transitionslider_go_pro | 3.35 | 38.56 |
Add new Slider /wp-admin/admin.php?page=transitionslider_add_new | 3.58 | 38.76 |
Server storage [IO: ▲17.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 155 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
transitionslider_ids |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Transition Slider - Responsive Image Slider and Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.66 ▼0.72 | 1.79 ▼0.70 | 29.35 ▼17.28 |
Dashboard /wp-admin | 2,243 ▲69 | 5.80 ▲0.91 | 99.31 ▼15.37 | 44.82 ▼3.84 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.05 ▲0.04 | 39.57 ▲2.16 | 42.12 ▲9.60 |
Add New Post /wp-admin/post-new.php | 6,667 ▲5,153 | 23.33 ▲5.85 | 931.08 ▲277.17 | 78.95 ▲23.23 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.22 ▼0.08 | 93.13 ▼8.88 | 45.45 ▲3.25 |
Sliders /wp-admin/admin.php?page=transition_slider_admin | 1,425 | 9.35 | 315.66 | 100.64 |
Go Pro /wp-admin/admin.php?page=transitionslider_go_pro | 1,126 | 2.02 | 27.80 | 45.45 |
Add new Slider /wp-admin/admin.php?page=transitionslider_add_new | 10,967 | 7.45 | 363.83 | 191.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- transitionslider_ids
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/transition-slider-lite/includes/go-pro.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/transition-slider-lite/includes/sliders.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/transition-slider-lite/includes/admin-actions.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/transition-slider-lite/includes/edit-slider.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/transition-slider-lite/includes/getting-started.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/transition-slider-lite/transition-slider-lite.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/transition-slider-lite/includes/go-pro.php:103
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #10, #11, #12, #13, #14, #15, #16, #17, #2, #3, #4, #5, #6, #7, #8, #9 in transition-slider-lite/assets to your readme.txt
- Tags: You are using too many tags: 38 tag instead of maximum 10
transition-slider-lite/transition-slider-lite.php Passed 13 tests
This is the main PHP file of "Transition Slider - Responsive Image Slider and Gallery" version 2.20.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
114 characters long description:
Responsive HTML5 WebGL Slider with beautiful seamless transitions and animated layers. Supports images and videos.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin11,978 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 848 | 36 | 5,419 |
JSON | 11 | 0 | 0 | 4,482 |
PHP | 8 | 526 | 9 | 2,070 |
CSS | 7 | 0 | 6 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 5 | 17.24% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/pagination3.png | 4.16KB | 0.45KB | ▼ 89.24% |
assets/img/pagination2.png | 3.84KB | 0.22KB | ▼ 94.33% |
assets/img/pagination4.png | 3.83KB | 0.33KB | ▼ 91.25% |
assets/img/pagination5.png | 3.91KB | 0.42KB | ▼ 89.24% |
assets/img/pagination1.png | 3.99KB | 0.21KB | ▼ 94.62% |