acaprojects/skype-native

View on GitHub

Showing 5 of 5 total issues

File AppController.cs has 281 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Extensibility;
using System;
Severity: Minor
Found in src/bindings/AppController.cs - About 2 hrs to fix

    Function attachClientEvents has 52 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private attachClientEvents() {
            // Event subscriptions that are passed to CLR components provide
            // a single object payload when they are activated. The below creates
            // a bit of middleware that ingests this, optionally applying a
            // transform so we can emit a Node event with a common signature.
    Severity: Major
    Found in src/live-client.ts - About 2 hrs to fix

      Method OnConnect has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              public void OnConnect(Proxy callback)
              {
                  ExecuteAction.InState<AVModality>(client, ModalityTypes.AudioVideo, ModalityState.Connected, (conversation, modality) =>
                  {
                      var participants = conversation.Participants.Where(p => !p.IsSelf).Select(p => new UserDetails(p.Contact));
      Severity: Minor
      Found in src/bindings/AppController.cs - About 1 hr to fix

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

                static void SubscribeToEvents()
                {
                    try
                    {
                        var client = LyncClient.GetClient();
        Severity: Minor
        Found in EventMonitor/Program.cs - About 1 hr to fix

          Method SetWindowPos has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  private static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags);
          Severity: Major
          Found in src/bindings/CallWindow.cs - About 50 mins to fix
            Severity
            Category
            Status
            Source
            Language