id: 1 unit: protected override void OnModelCreating() file: App/src/Events-TenantUserApp.EF/TenantsDB/TenantDbContext.cs start line: 44 end line: 268 size: 171 LOC McCabe index: 1 number of parameters: 1 id: 2 unit: protected override void OnModelCreating() file: App/src/Events-TenantUserApp.EF/CatalogDB/CatalogDbContext.cs start line: 18 end line: 118 size: 85 LOC McCabe index: 1 number of parameters: 1 id: 3 unit: public async Task Index() file: App/src/Events-TenantUserApp/Controllers/EventsController.cs start line: 41 end line: 126 size: 75 LOC McCabe index: 11 number of parameters: 1 id: 4 unit: public void Configure() file: App/src/Events-TenantUserApp/Startup.cs start line: 110 end line: 190 size: 62 LOC McCabe index: 4 number of parameters: 3 id: 5 unit: public async Task Login() file: App/src/Events-TenantUserApp/Controllers/AccountController.cs start line: 43 end line: 99 size: 53 LOC McCabe index: 6 number of parameters: 2 id: 6 unit: public async Task Register() file: App/src/Events-TenantUserApp/Controllers/AccountController.cs start line: 123 end line: 178 size: 51 LOC McCabe index: 6 number of parameters: 2 id: 7 unit: public async Task Index() file: App/src/Events-TenantUserApp/Controllers/HomeController.cs start line: 46 end line: 104 size: 51 LOC McCabe index: 10 number of parameters: 0 id: 8 unit: private TenantConfig PopulateTenantConfigs() file: App/src/Events-TenantUserApp/Controllers/BaseController.cs start line: 128 end line: 182 size: 47 LOC McCabe index: 4 number of parameters: 3 id: 9 unit: public async void RegisterTenantShard() file: App/src/Events-Tenant.Common/Utilities/Utilities.cs start line: 29 end line: 85 size: 46 LOC McCabe index: 7 number of parameters: 4 id: 10 unit: public async Task FindSeats() file: App/src/Events-TenantUserApp/Controllers/FindSeatsController.cs start line: 42 end line: 88 size: 42 LOC McCabe index: 6 number of parameters: 2 id: 11 unit: protected void SetTenantConfig() file: App/src/Events-TenantUserApp/Controllers/BaseController.cs start line: 48 end line: 92 size: 40 LOC McCabe index: 6 number of parameters: 2 id: 12 unit: public static async Task RegisterNewShard() file: App/src/Events-Tenant.Common/Utilities/Sharding.cs start line: 87 end line: 133 size: 34 LOC McCabe index: 4 number of parameters: 5 id: 13 unit: public async Task PurchaseTickets() file: App/src/Events-TenantUserApp/Controllers/FindSeatsController.cs start line: 121 end line: 160 size: 34 LOC McCabe index: 4 number of parameters: 6 id: 14 unit: private void ReadAppConfig() file: App/src/Events-TenantUserApp/Startup.cs start line: 211 end line: 241 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 15 unit: public async Task GetVenueDetails() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 195 end line: 223 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: public async Task GetAvailableSeats() file: App/src/Events-TenantUserApp/Controllers/FindSeatsController.cs start line: 91 end line: 117 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 17 unit: public Sharding() file: App/src/Events-Tenant.Common/Utilities/Sharding.cs start line: 42 end line: 71 size: 24 LOC McCabe index: 4 number of parameters: 5 id: 18 unit: public void ConfigureServices() file: App/src/Events-TenantUserApp/Startup.cs start line: 71 end line: 102 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: private List GetAllTenantNames() file: App/src/Events-Tenant.Common/Utilities/Utilities.cs start line: 143 end line: 165 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 20 unit: public ActionResult Logout() file: App/src/Events-TenantUserApp/Controllers/AccountController.cs start line: 102 end line: 119 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 21 unit: protected List BuildTicketModel() file: App/src/Events-TenantUserApp/Controllers/BaseController.cs start line: 102 end line: 117 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 22 unit: public String GetTenantStatus() file: App/src/Events-Tenant.Common/Utilities/Utilities.cs start line: 106 end line: 121 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: public static TenantModel ToTenantModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 13 end line: 27 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: public static void ResolveMappingDifferences() file: App/src/Events-Tenant.Common/Utilities/Sharding.cs start line: 140 end line: 155 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 25 unit: public static CustomerModel ToCustomerModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 39 end line: 50 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: public static VenueModel ToVenueModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 85 end line: 96 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: public static VenueTypeModel ToVenueTypeModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 98 end line: 109 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: public async Task AddTickets() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 165 end line: 176 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: public async Task GetTicketsSold() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 178 end line: 189 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 30 unit: public static void Main() file: App/src/Events-TenantUserApp/Program.cs start line: 8 end line: 20 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: private string GetBasicSqlConnectionString() file: App/src/Events-TenantUserApp/Startup.cs start line: 263 end line: 275 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: public static SectionModel ToSectionModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 73 end line: 83 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: public static Customers ToCustomersEntity() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 115 end line: 125 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: public static Tickets ToTicketsEntity() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 138 end line: 148 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: public static EventModel ToEventModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 62 end line: 71 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: public async Task GetTenant() file: App/src/Events-Tenant.Common/Repositories/CatalogRepository.cs start line: 46 end line: 57 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: public async Task AddCustomer() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 58 end line: 69 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: public async Task AddTicketPurchase() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 148 end line: 159 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 39 unit: public EventsController() file: App/src/Events-TenantUserApp/Controllers/EventsController.cs start line: 26 end line: 35 size: 10 LOC McCabe index: 1 number of parameters: 7 id: 40 unit: public Startup() file: App/src/Events-TenantUserApp/Startup.cs start line: 50 end line: 61 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: private void InitialiseShardMapManager() file: App/src/Events-TenantUserApp/Startup.cs start line: 247 end line: 257 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: public static CountryModel ToCountryModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: public static EventSectionModel ToEventSectionModel() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: public static TicketPurchases ToTicketPurchasesEntity() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 127 end line: 136 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: private int GetTenantKey() file: App/src/Events-Tenant.Common/Utilities/Utilities.cs start line: 172 end line: 187 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: protected override void OnModelCreating() file: App/src/Events-TenantUserApp.EF/TenantsDdEF6/TenantContext.cs start line: 36 end line: 45 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: public AccountController() file: App/src/Events-TenantUserApp/Controllers/AccountController.cs start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 7 id: 48 unit: public async Task GetCountry() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 45 end line: 52 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: public async Task GetCustomer() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 71 end line: 79 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: public async Task GetEvent() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 110 end line: 118 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: public async Task GetSection() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 134 end line: 142 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: public async Task GetVenueType() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 229 end line: 237 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: protected void DisplayMessage() file: App/src/Events-TenantUserApp/Controllers/BaseController.cs start line: 38 end line: 46 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 54 unit: public FindSeatsController() file: App/src/Events-TenantUserApp/Controllers/FindSeatsController.cs start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 55 unit: private static int ConvertByteKeyIntoInt() file: App/src/Events-Tenant.Common/Mapping/Mapper.cs start line: 159 end line: 170 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: private static DbContextOptions CreateDdrConnection() file: App/src/Events-TenantUserApp.EF/TenantsDB/TenantDbContext.cs start line: 33 end line: 42 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: public BaseController() file: App/src/Events-TenantUserApp/Controllers/BaseController.cs start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 58 unit: public HomeController() file: App/src/Events-TenantUserApp/Controllers/HomeController.cs start line: 31 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 59 unit: private static DbConnection CreateDdrConnection() file: App/src/Events-TenantUserApp.EF/TenantsDdEF6/TenantContext.cs start line: 22 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 60 unit: public CatalogRepository() file: App/src/Events-Tenant.Common/Repositories/CatalogRepository.cs start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: public Countries() file: App/src/Events-TenantUserApp.EF/TenantsDB/Countries.cs start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: public static T GetObjectFromJson() file: App/src/Events-TenantUserApp/SessionExtensions.cs start line: 17 end line: 22 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: private string GetCatalogConnectionString() file: App/src/Events-TenantUserApp/Startup.cs start line: 202 end line: 206 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: public TenantRepository() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: private TenantDbContext CreateContext() file: App/src/Events-Tenant.Common/Repositories/TenantRepository.cs start line: 242 end line: 245 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: public void ResolveMappingDifferences() file: App/src/Events-Tenant.Common/Utilities/Utilities.cs start line: 128 end line: 131 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: public CatalogDbContext() file: App/src/Events-TenantUserApp.EF/CatalogDB/CatalogDbContext.cs start line: 12 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: public Customers() file: App/src/Events-TenantUserApp.EF/TenantsDB/Customers.cs start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: public EventSections() file: App/src/Events-TenantUserApp.EF/TenantsDB/EventSections.cs start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: public Events() file: App/src/Events-TenantUserApp.EF/TenantsDB/Events.cs start line: 8 end line: 11 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: public Sections() file: App/src/Events-TenantUserApp.EF/TenantsDB/Sections.cs start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: public TenantDbContext() file: App/src/Events-TenantUserApp.EF/TenantsDB/TenantDbContext.cs start line: 20 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 73 unit: public TicketPurchases() file: App/src/Events-TenantUserApp.EF/TenantsDB/TicketPurchases.cs start line: 8 end line: 11 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: public VenueTypes() file: App/src/Events-TenantUserApp.EF/TenantsDB/VenueTypes.cs start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: public TenantContext() file: App/src/Events-TenantUserApp.EF/TenantsDdEF6/TenantContext.cs start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: public TenantContext() file: App/src/Events-TenantUserApp.EF/TenantsDdEF6/TenantContext.cs start line: 16 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 77 unit: public IActionResult Error() file: App/src/Events-TenantUserApp/Controllers/HomeController.cs start line: 106 end line: 109 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: public static void SetObjectAsJson() file: App/src/Events-TenantUserApp/SessionExtensions.cs start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 79 unit: $() file: App/src/Events-TenantUserApp/wwwroot/js/site.js start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 1