acaprojects/skype-native

View on GitHub
src/bindings/AppController.cs

Summary

Maintainability
A
3 hrs
Test Coverage

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

    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

      There are no issues that match your filters.

      Category
      Status