raflop/ToastNotifications

View on GitHub

Showing 2 of 39 total issues

Method OnMouseEnter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        protected override void OnMouseEnter(MouseEventArgs e)
        {
            var options = Notification.Options;
            if (options != null && options.FreezeOnMouseEnter)
            {
Severity: Minor
Found in Src/ToastNotifications/Core/NotificationDisplayPart.cs - About 1 hr to fix

    Avoid deeply nested control flow statements.
    Open

                                if (btn != null)
                                {
                                    btn.Visibility = Visibility.Visible;
                                }
    Severity: Major
    Found in Src/ToastNotifications/Core/NotificationDisplayPart.cs - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language