Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.69ms] Passed 4 tests
Analyzing server-side resources used by Unlimited Background Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.65 ▲4.63 |
Dashboard /wp-admin | 3.36 ▲0.06 | 52.63 ▲4.75 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 55.11 ▲11.54 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.76 ▲1.58 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.14 ▼0.22 |
Add New Slides /wp-admin/post-new.php?post_type=ed_bg_slider | 3.36 | 49.69 |
All Slides /wp-admin/edit.php?post_type=ed_bg_slider | 3.33 | 41.03 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Unlimited Background Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,122 ▲387 | 15.67 ▲1.27 | 6.40 ▲4.70 | 41.34 ▲2.48 |
Dashboard /wp-admin | 2,442 ▲250 | 6.88 ▲1.97 | 125.78 ▲16.46 | 38.67 ▼4.61 |
Posts /wp-admin/edit.php | 2,351 ▲262 | 3.58 ▲1.58 | 57.85 ▲21.23 | 34.55 ▼3.22 |
Add New Post /wp-admin/post-new.php | 1,566 ▲33 | 23.53 ▲0.41 | 674.21 ▲2.56 | 37.27 ▼18.57 |
Media Library /wp-admin/upload.php | 1,487 ▲99 | 4.57 ▲0.30 | 94.08 ▼21.12 | 44.02 ▼6.94 |
Add New Slides /wp-admin/post-new.php?post_type=ed_bg_slider | 2,430 | 4.40 | 79.14 | 56.67 |
All Slides /wp-admin/edit.php?post_type=ed_bg_slider | 1,315 | 3.79 | 45.83 | 26.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 4× 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/unlimited-background-slider/inc/ed_custom_post_type.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-background-slider/inc/gallery/gallery.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-background-slider/inc/metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-background-slider/inc/side-meta.php:18
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots do not have images: #1 (Initial Setup for New slide), #2 (Preview)
- Tags: You are using too many tags: 26 tag instead of maximum 10
unlimited-background-slider/unlimited-background-slider.php 92% from 13 tests
The entry point to "Unlimited Background Slider" version 1.1.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,941 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 280 | 127 | 998 |
PHP | 8 | 145 | 102 | 744 |
CSS | 4 | 1 | 0 | 93 |
PO File | 1 | 21 | 21 | 67 |
SVG | 1 | 0 | 1 | 33 |
Markdown | 1 | 5 | 0 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 21.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 11.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 2 | 33.33% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.50MB with 0.26MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 466.86KB | 203.58KB | ▼ 56.39% |
screenshot-1.png | 46.99KB | 23.96KB | ▼ 49.02% |