Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.93ms] 75% from 4 tests
An overview of server-side resources used by Universal Slider
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 650.13ms on /wp-admin/edit.php?post_type=fsl_slider&page=fsl_recommend_page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.18 ▼2.49 |
Dashboard /wp-admin | 3.51 ▲0.20 | 46.41 ▼3.95 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 46.93 ▼2.53 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 87.50 ▼6.75 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.09 ▲2.25 |
All Sliders /wp-admin/edit.php?post_type=fsl_slider | 3.48 | 37.78 |
Add New Slider /wp-admin/post-new.php?post_type=fsl_slider | 3.67 | 49.51 |
Need Help? /wp-admin/edit.php?post_type=fsl_slider&page=fsl_help_page | 3.41 | 31.55 |
Recommendation /wp-admin/edit.php?post_type=fsl_slider&page=fsl_recommend_page | 3.64 | 650.13 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Universal Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲208 | 13.58 ▼0.43 | 8.99 ▲7.07 | 43.53 ▼1.48 |
Dashboard /wp-admin | 2,245 ▲54 | 5.87 ▼0.01 | 98.01 ▼9.52 | 83.56 ▲35.60 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.00 ▲0.01 | 37.43 ▲1.87 | 33.46 ▼4.66 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 23.34 ▲0.22 | 728.39 ▲50.44 | 54.49 ▼9.78 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.23 ▲0.04 | 99.59 ▼9.03 | 74.43 ▲26.06 |
All Sliders /wp-admin/edit.php?post_type=fsl_slider | 1,112 | 1.96 | 32.19 | 29.44 |
Add New Slider /wp-admin/post-new.php?post_type=fsl_slider | 3,831 | 4.27 | 87.66 | 282.97 |
Need Help? /wp-admin/edit.php?post_type=fsl_slider&page=fsl_help_page | 1,452 | 10.05 | 267.43 | 63.28 |
Recommendation /wp-admin/edit.php?post_type=fsl_slider&page=fsl_recommend_page | 1,276 | 1.68 | 24.56 | 28.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 items
- 46× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: fsl_tfontsize in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 30
- > PHP Notice
Undefined variable: fsl_dfontsize in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 41
- > PHP Notice
Undefined variable: fsl_dfontfamily in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 40
- > PHP Notice
Undefined variable: FSL_Id in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 16
- > PHP Notice
Undefined variable: fsl_dbgcolor in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 22
- > PHP Notice
Undefined variable: FSL_Id in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 64
- > PHP Notice
Undefined variable: fsl_tspacetop in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 33
- > PHP Notice
Undefined variable: fsl_dfontcolor in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 20
- > PHP Notice
Undefined variable: fsl_tfontcolor in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 31
- > PHP Notice
Undefined variable: fsl_dlineheight in wp-content/plugins/fusion-slider/inc/responsive-slider.php on line 21
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #4 (Add Images into Slider)
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
fusion-slider/fusion-slider.php Passed 13 tests
"Universal Slider" version 1.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
135 characters long description:
Universal Slider is an awesome WordPress Slider Plugin with many nice features. Just need to install and build slider in a few minutes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin6,282 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 643 | 39 | 3,784 |
PHP | 6 | 141 | 68 | 1,733 |
PO File | 1 | 198 | 206 | 425 |
JavaScript | 2 | 65 | 66 | 340 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin-scripts/img/slider_icon.png | 0.54KB | 0.58KB | 0.00% |
assets/admin-scripts/img/media-button.png | 0.32KB | 0.34KB | 0.00% |
assets/admin-scripts/img/image-close-icon.png | 1.77KB | 1.19KB | ▼ 32.64% |