Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.27MB] [CPU: ▼154.42ms] Passed 4 tests
Server-side resources used by Thumbnail Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 42.43 ▲18.99 |
Dashboard /wp-admin | 3.14 ▲0.08 | 49.91 ▼2.88 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 50.95 ▼0.52 |
Add New Post /wp-admin/post-new.php | 4.12 ▼1.31 | 53.29 ▼617.69 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 38.68 ▲3.42 |
All Banner /wp-admin/edit.php?post_type=banners | 3.12 | 38.87 |
Add New /wp-admin/post-new.php?post_type=banners | 3.01 | 34.91 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Thumbnail Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲172 | 15.94 ▲0.36 | 13.54 ▲0.01 | 54.80 ▼1.11 |
Dashboard /wp-admin | 3,014 ▲83 | 6.01 ▲0.09 | 152.78 ▼9.23 | 103.59 ▼19.30 |
Posts /wp-admin/edit.php | 2,783 ▲47 | 2.72 ▲0.00 | 68.35 ▼3.63 | 101.03 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,645 ▼38 | 21.38 ▲3.61 | 290.78 ▼158.19 | 117.02 ▼1.43 |
Media Library /wp-admin/upload.php | 1,851 ▲44 | 5.00 ▼0.04 | 169.59 ▲10.36 | 106.55 ▼12.79 |
All Banner /wp-admin/edit.php?post_type=banners | 1,450 | 2.63 | 62.33 | 73.14 |
Add New /wp-admin/post-new.php?post_type=banners | 2,978 | 8.93 | 252.58 | 152.77 |
Slider Settings /wp-admin/thumbnail-slider.php | 26 | 0.90 | 0.09 | 13.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Notice in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+389
Undefined index: ts_slider_noncename_so_1444
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Notice in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+390
Undefined index: post_type
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Notice in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+391
Undefined index: image_url
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Notice in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+392
Undefined index: image_desc
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Warning in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+361
Illegal string offset 'image_url'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Notice in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+370
Uninitialized string offset: 0
- > GET request to /wp-admin/post-new.php?post_type=banners
- > Warning in wp-content/plugins/thumbnail-slider/thumbnail-slider.php+370
Illegal string offset 'image_desc'
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/thumbnail-slider.php
- > Network (severe)
wp-admin/thumbnail-slider.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== thumbnail-slider ===
)
thumbnail-slider/thumbnail-slider.php 92% from 13 tests
The main PHP file in "Thumbnail Slider" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 369 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,348 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 8 | 37 | 472 |
CSS | 4 | 76 | 24 | 455 |
JavaScript | 3 | 88 | 110 | 421 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.45KB | 0.73KB | ▼ 49.63% |