Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼6.17ms] Passed 4 tests
A check of server-side resources used by Slide Banners
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 44.02 ▲1.23 |
Dashboard /wp-admin | 3.68 ▲0.33 | 51.82 ▼11.43 |
Posts /wp-admin/edit.php | 3.79 ▲0.44 | 54.96 ▲5.63 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 88.15 ▼13.59 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 36.84 ▼0.90 |
/wp-admin/admin.php?page=slide_preview_banner | 3.55 | 36.76 |
Add New Slidebanner /wp-admin/admin.php?page=new_slide_banner | 3.59 | 35.31 |
Daily Stats /wp-admin/admin.php?page=slide_daily_stat | 3.55 | 32.39 |
Slide Banners /wp-admin/admin.php?page=slide_top | 3.57 | 36.42 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 58 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_daily_stats |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Slide Banners
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲46 | 14.26 ▲0.04 | 2.72 ▲0.89 | 40.67 ▼0.84 |
Dashboard /wp-admin | 2,221 ▲44 | 5.55 ▼0.24 | 89.46 ▼3.54 | 81.13 ▲38.37 |
Posts /wp-admin/edit.php | 2,145 ▲39 | 2.00 ▼0.00 | 37.07 ▼0.04 | 34.03 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.31 ▲0.06 | 662.91 ▲21.65 | 66.63 ▲12.73 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.07 ▼0.10 | 102.28 ▼4.85 | 77.01 ▲31.39 |
/wp-admin/admin.php?page=slide_preview_banner | 818 | 2.03 | 24.84 | 25.06 |
Add New Slidebanner /wp-admin/admin.php?page=new_slide_banner | 1,791 | 3.21 | 43.70 | 66.81 |
Daily Stats /wp-admin/admin.php?page=slide_daily_stat | 870 | 2.00 | 26.96 | 28.03 |
Slide Banners /wp-admin/admin.php?page=slide_top | 867 | 2.00 | 24.34 | 32.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_daily_stats
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+501
Undefined index: bannername
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+502
Undefined index: bannertype
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+503
Undefined index: useclosebutton
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+504
Undefined index: closebuttonposition
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+518
Undefined index: mainbackup
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+506
Undefined index: slideposition
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+507
Undefined index: slidedirection
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+508
Undefined index: bannerdisappear
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+509
Undefined index: useopenbutton
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+510
Undefined index: addextra
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+511
Undefined index: extracode
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+512
Undefined index: openbannerfirst
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+513
Undefined index: pagescroll
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+514
Undefined index: firstnewwindow
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+515
Undefined index: secondposition
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+516
Undefined index: slidedirect
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+517
Undefined index: mainnewwindow
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+519
Undefined index: htmbannertype
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+520
Undefined index: mainhtmfile
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+522
Undefined index: mainhtml
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+524
Undefined index: mainhtmlwidth
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+525
Undefined index: mainhtmlheight
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+526
Undefined index: mainflashname
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+527
Undefined index: bannerid
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+528
Undefined index: mainname
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+529
Undefined index: mainurl
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+530
Undefined index: autoopen
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+531
Undefined index: autoclose
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+532
Undefined index: autoopentime
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+533
Undefined index: autoclosetime
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+534
Undefined index: onceperday
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+535
Undefined index: firstname
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+536
Undefined index: firsturl
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+537
Undefined index: closename
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+562
Undefined variable: first
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+574
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+574
Undefined variable: close
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+575
Undefined index: closecss
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+576
Undefined index: opencss
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+648
Undefined variable: objectwidth
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+647
Undefined variable: objectheight
- > GET request to /wp-admin/admin.php?page=new_slide_banner
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=new_slide_banner
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=slide_daily_stat
- > Notice in wp-content/plugins/slide-banners/slideoptions.php+712
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=slide_preview_banner
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=slide_preview_banner 160:13 Uncaught SyntaxError: Unexpected token ','
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slide_top
- > Network (severe)
wp-content/plugins/slide-banners/images/wp_slide_buy_em.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: slider ads, slider banners, slide ads, slider banner, slider...
slide-banners/slidebanner.php 92% from 13 tests
Analyzing the main PHP file in "Slide Banners" version 1.3
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("slide-banners.php" instead of "slidebanner.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
Good job! No executable or dangerous file extensions detected5,131 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 9 | 2,249 | 4,066 | 2,783 |
PHP | 2 | 288 | 35 | 1,525 |
JavaScript | 3 | 450 | 22 | 823 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 38 | |
▷ Named functions | 38 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
25 PNG files occupy 0.21MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/open_bottom_left.png | 1.20KB | 0.68KB | ▼ 43.11% |
images/close4.png | 1.33KB | 1.27KB | ▼ 4.63% |
images/html.png | 5.29KB | 2.74KB | ▼ 48.23% |
images/open_top.png | 1.17KB | 0.67KB | ▼ 42.76% |
images/logo.png | 5.67KB | 3.53KB | ▼ 37.63% |