Benchmarks
Plugin footprint 83% from 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.59MB] [CPU: ▼14.41ms] Passed 4 tests
Server-side resources used by Full Screen (Page) Background Image Slideshow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.95 ▼2.40 |
Dashboard /wp-admin | 3.40 ▲0.10 | 49.63 ▲2.47 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.41 ▲0.55 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.64 | 35.35 ▼57.78 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.46 ▲2.01 |
FullScreen Backgrounds /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds | 3.27 | 32.31 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
fsi_animation_delay |
theysaidso_admin_options |
widget_theysaidso_widget |
fsi_opacity |
fsi_display_on |
fsi_overlay |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Full Screen (Page) Background Image Slideshow: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.38 ▼0.98 | 7.92 ▲6.00 | 41.25 ▼6.37 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▼0.03 | 92.05 ▼7.29 | 41.02 ▼3.81 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▼0.01 | 32.75 ▼4.42 | 38.52 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.97 ▼0.23 | 680.82 ▲56.55 | 53.82 ▼11.46 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.21 ▲0.10 | 103.01 ▼3.84 | 44.97 ▲0.89 |
FullScreen Backgrounds /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds | 1,314 | 5.68 | 149.77 | 39.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 13 options
- can_compress_scripts
- fsi_display_on
- widget_recent-posts
- fsi_opacity
- fsi_animation_delay
- fsi_animation_duration
- widget_recent-comments
- fsi_images
- theysaidso_admin_options
- fsi_random
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 0
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 1
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 2
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 3
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 4
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 5
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 6
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 7
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 8
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Notice in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php+73
Uninitialized string offset: 9
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
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-screen-page-background-image-slideshow/inc/scripts.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-screen-page-background-image-slideshow/admin-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-screen-page-background-image-slideshow/inc/page-metabox.php:15
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/full-screen-page-background-image-slideshow/full-screen-background-image-slideshow.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/full-screen-page-background-image-slideshow/inc/styles.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Network (severe)
https://wpdevsnippets.com/plugin-images/btn_donate.gif - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_person_help.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_doc_find.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_wordpress_blue.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_thumb_up.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=fsi-fullScreen-backgrounds
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
full-screen-page-background-image-slideshow/full-screen-background-image-slideshow.php 92% from 13 tests
"Full Screen (Page) Background Image Slideshow" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("full-screen-page-background-image-slideshow.php" instead of "full-screen-background-image-slideshow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin475 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 99 | 53 | 463 |
JavaScript | 1 | 5 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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/dot_overlay.png | 0.12KB | 0.10KB | ▼ 19.20% |