Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▲1.98ms] Passed 4 tests
Server-side resources used by Thumbnail carousel slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 43.24 ▲2.81 |
Dashboard /wp-admin | 3.71 ▲0.41 | 52.85 ▲1.93 |
Posts /wp-admin/edit.php | 3.82 ▲0.47 | 47.91 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 101.49 ▲1.07 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 38.20 ▲4.10 |
Preview Slider /wp-admin/admin.php?page=responsive_thumbnail_slider_preview | 3.60 | 36.65 |
Slider Setting /wp-admin/admin.php?page=responsive_thumbnail_slider | 3.58 | 40.52 |
Manage Images /wp-admin/admin.php?page=responsive_thumbnail_slider_image_management | 3.64 | 39.69 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 24 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_responsive_thumbnail_slider |
New WordPress options |
---|
responsive_thumbnail_slider_messages |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
responsive_thumbnail_slider_settings |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Thumbnail carousel slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 14.81 ▲0.44 | 1.92 ▲0.07 | 42.73 ▼1.30 |
Dashboard /wp-admin | 2,240 ▲52 | 5.86 ▲0.96 | 101.44 ▼4.78 | 42.98 ▼1.08 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▼0.02 | 37.72 ▼0.97 | 37.86 ▲5.53 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 23.37 ▲5.80 | 599.77 ▼82.15 | 64.41 ▲7.06 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.18 ▼0.02 | 97.79 ▼6.14 | 42.54 ▼7.30 |
Preview Slider /wp-admin/admin.php?page=responsive_thumbnail_slider_preview | 927 | 2.33 | 35.85 | 27.80 |
Slider Setting /wp-admin/admin.php?page=responsive_thumbnail_slider | 1,554 | 3.75 | 82.66 | 35.37 |
Manage Images /wp-admin/admin.php?page=responsive_thumbnail_slider_image_management | 1,289 | 4.37 | 90.86 | 87.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_responsive_thumbnail_slider
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- responsive_thumbnail_slider_settings
- widget_recent-comments
- responsive_thumbnail_slider_messages
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-responsive-thumbnail-slider/wp-responsive-images-thumbnail-slider.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: responsive thumbnail gallery, wordpress responsive slideshow, wordpress responsive slider carousel, wordpress responsive image slider, wordpress gallery responsive...
wp-responsive-thumbnail-slider/wp-responsive-images-thumbnail-slider.php 92% from 13 tests
"Thumbnail carousel slider" version 1.1.12's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-responsive-thumbnail-slider.php" instead of "wp-responsive-images-thumbnail-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected4,721 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 818 | 77 | 2,341 |
JavaScript | 3 | 288 | 638 | 2,146 |
CSS | 2 | 44 | 29 | 234 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
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
7 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/asc.png | 0.14KB | 0.12KB | ▼ 13.79% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
images/300x250.png | 42.63KB | 15.16KB | ▼ 64.44% |
images/300x250-wp-eng.png | 34.77KB | 13.75KB | ▼ 60.46% |
images/SEO-247x180.png | 29.41KB | 14.71KB | ▼ 49.98% |