Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.35ms] Passed 4 tests
An overview of server-side resources used by Banner Display Thumbnail
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.66 ▼0.21 |
Dashboard /wp-admin | 3.40 ▲0.05 | 49.33 ▼10.81 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 49.53 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.00 ▼18.11 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.52 ▲0.40 |
Gallery showcases /wp-admin/edit.php?post_type=bdt_gallery_slider&page=responsive_gallery-vss-bar-submenu-page | 3.29 | 33.65 |
Add New /wp-admin/post-new.php?post_type=bdt_gallery_slider | 3.44 | 52.23 |
All Images /wp-admin/edit.php?post_type=bdt_gallery_slider | 3.36 | 39.40 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_bdt_slider-category&post_type=bdt_gallery_slider | 3.31 | 36.69 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Banner Display Thumbnail
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲165 | 13.89 ▼0.24 | 13.86 ▲11.88 | 46.00 ▲6.21 |
Dashboard /wp-admin | 2,230 ▲53 | 5.51 ▼0.14 | 89.09 ▼6.49 | 40.05 ▲2.14 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 1.97 ▲0.01 | 35.40 ▼1.70 | 36.51 ▲3.06 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 23.20 ▲0.05 | 675.15 ▼2.13 | 55.76 ▲7.25 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.20 ▲0.10 | 98.98 ▼19.08 | 47.63 ▲0.78 |
Gallery showcases /wp-admin/edit.php?post_type=bdt_gallery_slider&page=responsive_gallery-vss-bar-submenu-page | 813 | 2.15 | 27.16 | 30.11 |
Add New /wp-admin/post-new.php?post_type=bdt_gallery_slider | 2,343 | 7.66 | 168.73 | 67.37 |
All Images /wp-admin/edit.php?post_type=bdt_gallery_slider | 1,119 | 1.97 | 31.21 | 32.59 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_bdt_slider-category&post_type=bdt_gallery_slider | 1,292 | 2.12 | 28.25 | 34.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just 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 get_post_meta() in wp-content/plugins/banner-display-thumbnail/designs/template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/banner-display-thumbnail/banner-display-thumbnail.php:327
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/banner-display-thumbnail/bdt_gallery_admin_settings_center.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=bdt_gallery_slider&page=responsive_gallery-vss-bar-submenu-page
- > Network (severe)
wp-content/plugins/banner-display-thumbnail/images/design-1.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
banner-display-thumbnail/banner-display-thumbnail.php Passed 13 tests
The entry point to "Banner Display Thumbnail" version 1.0 is a PHP file that has certain tags in its header comment area
44 characters long description:
A simple Responsive Banner Display Thumbnail
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 detected3,854 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 549 | 376 | 2,266 |
CSS | 10 | 254 | 129 | 1,299 |
PHP | 3 | 59 | 25 | 289 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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
24 PNG files occupy 0.31MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/light-big/images/left-arrow.png | 23.34KB | 0.58KB | ▼ 97.53% |
themes/light/images/up-arrow.png | 3.31KB | 0.45KB | ▼ 86.45% |
themes/default-big/images/up-arrow.png | 3.36KB | 0.40KB | ▼ 87.99% |
themes/dark-big/images/up-arrow.png | 3.82KB | 0.61KB | ▼ 83.92% |
themes/default-big/images/down-arrow.png | 3.41KB | 0.43KB | ▼ 87.40% |