Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.56MB] [CPU: ▲0.02ms] Passed 4 tests
A check of server-side resources used by Social Slider Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 40.82 ▲5.36 |
Dashboard /wp-admin | 3.99 ▲0.69 | 48.32 ▼3.27 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 50.70 ▲3.49 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.64 | 95.27 ▼4.25 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 38.03 ▲4.09 |
Logs /wp-admin/admin.php?page=wis_logger-wisw | 4.05 | 33.25 |
Profiles /wp-admin/admin.php?page=settings-wisw | 4.08 | 315.78 |
About /wp-admin/admin.php?page=about-wisw | 3.67 | 25.30 |
License /wp-admin/admin.php?page=license-wisw | 3.67 | 33.75 |
Feeds /wp-admin/admin.php?page=feeds-wisw | 3.85 | 34.58 |
Server storage [IO: ▲5.58MB] [DB: ▲0.07MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification found: 2 files (0.01KB) outside of "wp-content/plugins/instagram-slider-widget/" and "wp-content/uploads/"
- (new file) wp-content/logs/wisw/.htaccess
- (new file) wp-content/logs/wisw/index.html
Filesystem: 499 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-posts |
widget_wyoutube_feed |
can_compress_scripts |
widget_wfacebook_feed |
wis_plugin_version |
widget_theysaidso_widget |
widget_jr_insta_slider |
db_upgraded |
wis_plugin_activated |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Slider Feed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲192 | 13.48 ▼1.13 | 8.20 ▲6.61 | 42.04 ▲1.24 |
Dashboard /wp-admin | 2,277 ▲103 | 5.62 ▲0.11 | 82.09 ▼7.14 | 40.21 ▼3.88 |
Posts /wp-admin/edit.php | 2,186 ▲89 | 2.05 ▲0.08 | 40.73 ▲4.27 | 36.33 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,581 ▲55 | 23.11 ▼0.55 | 681.12 ▲10.20 | 60.38 ▲5.16 |
Media Library /wp-admin/upload.php | 1,462 ▲59 | 4.21 ▼0.04 | 103.66 ▲6.21 | 44.15 ▲0.50 |
Logs /wp-admin/admin.php?page=wis_logger-wisw | 1,039 | 1.88 | 35.66 | 43.98 |
Profiles /wp-admin/admin.php?page=settings-wisw | 1,225 | 1.92 | 36.86 | 45.07 |
About /wp-admin/admin.php?page=about-wisw | 1,818 | 9.02 | 269.39 | 89.59 |
License /wp-admin/admin.php?page=license-wisw | 1,122 | 1.92 | 28.07 | 48.75 |
Feeds /wp-admin/admin.php?page=feeds-wisw | 1,201 | 1.87 | 34.23 | 38.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- widget_wfacebook_feed
- widget_jr_insta_slider
- theysaidso_admin_options
- widget_theysaidso_widget
- wis_plugin_activated
- widget_recent-comments
- widget_recent-posts
- wis_plugin_version
- can_compress_scripts
- db_upgraded
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=about-wisw
- > Notice in wp-content/plugins/instagram-slider-widget/admin/class-page.php+116
Undefined property: WIS_AboutPage::$show_right_sidebar
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=license-wisw
- > Notice in wp-content/plugins/instagram-slider-widget/admin/class-page.php+116
Undefined property: WIS_LicensePage::$show_right_sidebar
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 10× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/instagram-slider-widget/components/instagram/html_templates/templates/thumbs-no-border.php
- > /wp-content/plugins/instagram-slider-widget/admin/views/page-profiles.php
- > /wp-content/plugins/instagram-slider-widget/components/instagram/html_templates/templates/slider.php
- > /wp-content/plugins/instagram-slider-widget/admin/views/page-feeds.php
- > /wp-content/plugins/instagram-slider-widget/components/facebook/html_templates/masonry.php
- > /wp-content/plugins/instagram-slider-widget/components/youtube/html_templates/default.php
- > /wp-content/plugins/instagram-slider-widget/components/facebook/html_templates/popup.php
- > /wp-content/plugins/instagram-slider-widget/components/instagram/html_templates/templates/slider-overlay.php
- > /wp-content/plugins/instagram-slider-widget/admin/views/page-manual.php
- > /wp-content/plugins/instagram-slider-widget/components/instagram/html_templates/templates/thumbs.php
- 196× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_plugin_version() on null in wp-content/plugins/instagram-slider-widget/components/instagram/load.php:4
- > PHP Notice
Undefined variable: args in wp-content/plugins/instagram-slider-widget/components/facebook/html_templates/popup.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WIS_Feed' not found in wp-content/plugins/instagram-slider-widget/components/youtube/includes/class-youtube-feed.php:31
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_110\\Pages\\Step' not found in wp-content/plugins/instagram-slider-widget/libs/factory/templates/pages/setup-parts/class-step-form.php:11
- > PHP Fatal error
Uncaught Error: Call to a member function get_plugin_version() on null in wp-content/plugins/instagram-slider-widget/components/facebook/load.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/instagram-slider-widget/components/facebook/html_templates/form-feed.php on line 6
- > PHP Notice
Undefined variable: args in wp-content/plugins/instagram-slider-widget/components/instagram/html_templates/templates/slider.php on line 6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/instagram-slider-widget/components/facebook/html_templates/popup.php on line 11
- > PHP Notice
Undefined variable: args in wp-content/plugins/instagram-slider-widget/components/youtube/html_templates/widget_settings.php on line 9
- > PHP Notice
Undefined variable: args in wp-content/plugins/instagram-slider-widget/components/instagram/html_templates/templates/feed_header.php on line 11
- > PHP Fatal error
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 user-side errors
- > GET request to /wp-admin/admin.php?page=feeds-wisw
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #11, #12, #13 in instagram-slider-widget/assets to your readme.txt
instagram-slider-widget/instaram_slider.php 92% from 13 tests
The principal PHP file in "Social Slider Feed" v. 2.1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("instagram-slider-widget.php" instead of "instaram_slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin37,322 lines of code in 368 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 213 | 4,877 | 10,634 | 19,208 |
CSS | 64 | 1,638 | 598 | 10,577 |
JavaScript | 67 | 630 | 1,298 | 2,478 |
LESS | 6 | 409 | 91 | 1,973 |
JSON | 1 | 0 | 0 | 1,810 |
PO File | 8 | 353 | 582 | 1,011 |
SVG | 8 | 6 | 0 | 263 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 157 | |
▷ Abstract classes | 19 | 12.10% |
▷ Concrete classes | 138 | 87.90% |
▷ Final classes | 2 | 1.45% |
Methods | 1,062 | |
▷ Static methods | 69 | 6.50% |
▷ Public methods | 841 | 79.19% |
▷ Protected methods | 156 | 14.69% |
▷ Private methods | 65 | 6.12% |
Functions | 37 | |
▷ Named functions | 20 | 54.05% |
▷ Anonymous functions | 17 | 45.95% |
Constants | 114 | |
▷ Global constants | 82 | 71.93% |
▷ Class constants | 32 | 28.07% |
▷ Public constants | 32 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
49 PNG files occupy 1.98MB with 1.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
components/youtube/admin/assets/img/manual/1.png | 98.22KB | 37.99KB | ▼ 61.32% |
components/youtube/admin/assets/img/manual/10.png | 33.43KB | 13.69KB | ▼ 59.04% |
admin/assets/img/instagram.png | 15.80KB | 10.50KB | ▼ 33.57% |
admin/assets/img/demo/5.png | 3.99KB | 1.35KB | ▼ 66.23% |
components/youtube/admin/assets/img/about/2019-12-09_12-34-33.png | 790.18KB | 205.08KB | ▼ 74.05% |