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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.17MB] [CPU: ▼17.45ms] Passed 4 tests
An overview of server-side resources used by All in One Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.40 ▼0.95 |
Dashboard /wp-admin | 3.13 ▼0.18 | 28.15 ▼21.48 |
Posts /wp-admin/edit.php | 3.26 ▼0.09 | 32.99 ▼13.55 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 65.93 ▼33.81 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 37.03 ▲1.45 |
Add New /wp-admin/post-new.php?post_type=slide | 3.30 | 34.88 |
All Slides /wp-admin/edit.php?post_type=slide | 3.24 | 32.63 |
Sliders /wp-admin/edit.php?post_type=slide&page=sliders | 3.29 | 33.06 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for All in One Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.80 ▼0.21 | 8.26 ▲6.65 | 42.79 ▲4.63 |
Dashboard /wp-admin | 2,228 ▲51 | 5.64 ▲0.02 | 82.25 ▼11.09 | 61.31 ▲14.27 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.10 | 36.45 ▼1.59 | 29.42 ▼9.76 |
Add New Post /wp-admin/post-new.php | 1,714 ▲188 | 24.28 ▲1.28 | 688.76 ▲7.38 | 59.00 ▼30.35 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.10 ▼0.30 | 104.75 ▲6.22 | 74.29 ▲28.09 |
Add New /wp-admin/post-new.php?post_type=slide | 2,235 | 7.77 | 166.83 | 128.41 |
All Slides /wp-admin/edit.php?post_type=slide | 1,103 | 1.95 | 35.83 | 31.19 |
Sliders /wp-admin/edit.php?post_type=slide&page=sliders | 1,087 | 2.60 | 56.52 | 33.03 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=slide
- > Notice in wp-content/plugins/all-in-one-slider/all-in-one-slider.php+60
Undefined index: page
SRP 50% from 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
Please fix the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/all-in-one-slider/sliders/bootstrap-carousel/slider.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/all-in-one-slider/sliders/camera/slider.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/all-in-one-slider/tpls/mce-button.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/all-in-one-slider/tpls/manage-sliders.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/all-in-one-slider/tpls/mce-button.php:2
- > PHP Fatal error
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
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Please add images for these screenshots: #1 (Slider list), #2 (Create new slider options)
all-in-one-slider/all-in-one-slider.php Passed 13 tests
The entry point to "All in One Slider" version 1.1 is a PHP file that has certain tags in its header comment area
17 characters long description:
All in One Slider
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected11,605 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 951 | 218 | 7,424 |
JavaScript | 6 | 795 | 415 | 3,554 |
PHP | 6 | 247 | 1,170 | 627 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 206.00 |
▷ Minimum class complexity | 206.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 6.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.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 | 35 | |
▷ Static methods | 3 | 8.57% |
▷ Public methods | 5 | 14.29% |
▷ Protected methods | 30 | 85.71% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 46 | |
▷ Global constants | 46 | 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
40 compressed PNG files occupy 0.16MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
sliders/bootstrap-carousel/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
css/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
sliders/bootstrap-carousel/img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |