Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.64ms] Passed 4 tests
An overview of server-side resources used by Best Images slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 48.56 ▲5.41 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.17 ▼2.91 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.84 ▼6.57 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.22 ▼19.87 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.73 ▲2.79 |
Add New /wp-admin/post-new.php?post_type=best_images_slider | 3.43 | 48.17 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_best_slider-category&post_type=best_images_slider | 3.30 | 36.70 |
Gallery showcases /wp-admin/edit.php?post_type=best_images_slider&page=responsive_gallery-submenu-page | 3.28 | 33.55 |
All Image /wp-admin/edit.php?post_type=best_images_slider | 3.35 | 36.27 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Best Images slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲220 | 13.85 ▼0.46 | 8.48 ▲6.66 | 40.48 ▼16.16 |
Dashboard /wp-admin | 2,244 ▲56 | 4.83 ▼0.26 | 98.36 ▼12.73 | 42.54 ▲1.91 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 1.99 ▼0.04 | 36.91 ▲1.03 | 32.21 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,574 ▲41 | 18.22 ▼4.91 | 625.51 ▲17.66 | 73.29 ▼1.19 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.24 ▲0.04 | 98.89 ▼10.10 | 41.76 ▼2.93 |
Add New /wp-admin/post-new.php?post_type=best_images_slider | 2,329 | 7.62 | 169.75 | 65.40 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_best_slider-category&post_type=best_images_slider | 1,277 | 2.13 | 31.85 | 29.55 |
Gallery showcases /wp-admin/edit.php?post_type=best_images_slider&page=responsive_gallery-submenu-page | 797 | 2.03 | 23.54 | 24.81 |
All Image /wp-admin/edit.php?post_type=best_images_slider | 1,108 | 1.93 | 30.90 | 26.52 |
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 detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-images-slider/bis_gallery_admin_settings_center.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-images-slider/best-images-slider.php:352
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/best-images-slider/designs/design-1.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
best-images-slider/best-images-slider.php Passed 13 tests
Analyzing the main PHP file in "Best Images slider" version 1.0
38 characters long description:
A simple Responsive Best Images 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 detected1,658 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 369 | 938 | 1,098 |
PHP | 3 | 58 | 25 | 314 |
CSS | 3 | 46 | 1 | 246 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in 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 |
images/icons/prev.png | 3.09KB | 0.45KB | ▼ 85.34% |
images/prev.png | 1.06KB | 0.17KB | ▼ 84.01% |
images/next.png | 1.06KB | 0.17KB | ▼ 84.36% |
images/icons/pattern.png | 6.63KB | 3.32KB | ▼ 49.95% |
images/icons/pattern2.png | 10.06KB | 4.14KB | ▼ 58.88% |