liannoi/wlodzimierz

View on GitHub

Showing 11 of 159 total issues

Method BuildTargetModel has 200 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .UseIdentityColumns()

    Method BuildTargetModel has 197 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            protected override void BuildTargetModel(ModelBuilder modelBuilder)
            {
    #pragma warning disable 612, 618
                modelBuilder
                    .UseIdentityColumns()

      Method BuildTargetModel has 197 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              protected override void BuildTargetModel(ModelBuilder modelBuilder)
              {
      #pragma warning disable 612, 618
                  modelBuilder
                      .UseIdentityColumns()

        Method BuildModel has 197 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                protected override void BuildModel(ModelBuilder modelBuilder)
                {
        #pragma warning disable 612, 618
                    modelBuilder
                        .UseIdentityColumns()

          Method BuildTargetModel has 191 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  protected override void BuildTargetModel(ModelBuilder modelBuilder)
                  {
          #pragma warning disable 612, 618
                      modelBuilder
                          .UseIdentityColumns()

            Method Up has 166 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    protected override void Up(MigrationBuilder migrationBuilder)
                    {
                        migrationBuilder.CreateTable(
                            "AspNetRoles",
                            table => new

              Class IdentityService has 26 methods (exceeds 20 allowed). Consider refactoring.
              Open

                  public class IdentityService : AbstractIdentityServer, IIdentityService
                  {
                      private readonly SignInManager<ApplicationUser> _signInManager;
                      private readonly UrlEncoder _urlEncoder;
                      private readonly UserManager<ApplicationUser> _userManager;

                Class IIdentityService has 23 methods (exceeds 20 allowed). Consider refactoring.
                Open

                    public interface IIdentityService : IIdentityServer<ApplicationUser>
                    {
                        #region 2FA
                
                        public Task<RecoveryCodesList> GenerateRecoveryCodes(string userId);

                  Method Configure has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
                          {
                              if (env.IsDevelopment())
                              {
                                  app.UseDeveloperExceptionPage();
                  Severity: Minor
                  Found in src/Layers/Presentation/Presentation.API/Startup.cs - About 1 hr to fix

                    Method ConfigureServices has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            public void ConfigureServices(IServiceCollection services)
                            {
                                #region System
                    
                                services.AddIdentityPersistence(Configuration);
                    Severity: Minor
                    Found in src/Layers/Presentation/Presentation.API/Startup.cs - About 1 hr to fix

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

                              protected override void Down(MigrationBuilder migrationBuilder)
                              {
                                  migrationBuilder.AlterColumn<string>(
                                      "Photo",
                                      "AspNetUsers",
                        Severity
                        Category
                        Status
                        Source
                        Language