Yuriy-Pelekh/GitTank

View on GitHub

Showing 6 of 27 total issues

File Annotations.cs has 508 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
// ReSharper disable InheritdocConsiderUsage
 
#pragma warning disable 1591
// ReSharper disable UnusedMember.Global
Severity: Major
Found in GitTank/Annotations.cs - About 1 day to fix

    File SettingsViewModel.cs has 329 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    using GitTank.Loggers;
    using GitTank.Models;
    using Microsoft.Toolkit.Mvvm.Input;
    using Newtonsoft.Json;
    using Newtonsoft.Json.Converters;
    Severity: Minor
    Found in GitTank/ViewModels/SettingsViewModel.cs - About 3 hrs to fix

      File MainViewModel.cs has 319 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      using Microsoft.Toolkit.Mvvm.Input;
      using System;
      using System.Collections.ObjectModel;
      using System.Linq;
      using System.Threading.Tasks;
      Severity: Minor
      Found in GitTank/ViewModels/MainViewModel.cs - About 3 hrs to fix

        File GitProcessor.cs has 258 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        using GitTank.Models;
        using System;
        using System.Collections.Generic;
        using System.IO;
        using System.Linq;
        Severity: Minor
        Found in GitTank/GitProcessor.cs - About 2 hrs to fix

          Method Execute has 34 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          public async Task<string> Execute(string command, string arguments)
          {
          _output.Clear();
          _jsonOutput.Clear();
          _result.Clear();
          Severity: Minor
          Found in GitTank/ProcessHelper.cs - About 1 hr to fix

            Method UpdateAllRepositories has 26 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            private void UpdateAllRepositories(List<Sources> sources)
            {
            var defaultRepository = _settings.DefaultRepository;
            var defaultGitBranch = _settings.DefaultBranch;
            foreach (var item in sources)
            Severity: Minor
            Found in GitTank/ViewModels/SettingsViewModel.cs - About 1 hr to fix
              Severity
              Category
              Status
              Source
              Language