Calculate cash flow #1281
Calculate cash flow #1281
Your pull request is up to standards!
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 1
- Added 3
Complexity increasing per file
==============================
- backend/api/Services/GenerateCostProfiles/EconomicsServices/CalculateBreakEvenOilPriceService.cs 13
- backend/api/Services/GenerateCostProfiles/EconomicsServices/EconomicsHelper.cs 9
- backend/api/Services/GenerateCostProfiles/EconomicsServices/CalculateTotalCostService.cs 11
- backend/api/Services/GenerateCostProfiles/EconomicsServices/CalculateNPVService.cs 3
- backend/api/Services/GenerateCostProfiles/EconomicsServices/CalculateTotalIncomeService.cs 2
- backend/tests/Services/EconomicsCalculationServiceTests.cs 2
- backend/api/Services/Entities/Case/CaseWithAssetsService.cs 2
- backend/api/Repositories/Case/CaseRepository.cs 2
- frontend/src/Components/Project/CompareCasesTab/Tabs/Kpis.tsx 2
- frontend/src/Hooks/useProjectChartData.tsx 2
- frontend/src/Components/Project/CompareCasesTab/ProjectAgGridTable.tsx 4
- backend/api/Context/DcdDbContext.cs 28
Clones removed
==============
+ frontend/src/Components/Case/Tabs/CaseCost/Tables/AggregatedTotalsChart.tsx -2
+ backend/api/Services/GenerateCostProfiles/OpexCostProfileService.cs -3
+ backend/api/Repositories/Case/CaseWithAssetsRepository.cs -11
+ backend/api/Services/Entities/Case/CaseTimeSeriesService.cs -2
+ backend/api/Services/Entities/Case/CaseService.cs -2
+ backend/api/Dtos/Case/CaseWithProfilesDto.cs -5
+ backend/api/Dtos/Case/Update/APIUpdateCaseWithProfilesDto.cs -5
+ backend/api/Services/Entities/ProjectService.cs -20
+ backend/api/Dtos/Case/Update/APIUpdateCaseDto.cs -5
+ backend/api/Dtos/Case/CaseDto.cs -4
+ backend/api/Services/DuplicateCaseService.cs -7
+ backend/api/Models/Exploration.cs -1
+ backend/api/Models/Case.cs -2
+ backend/api/Context/DcdDbContext.cs -28
See the complete overview on Codacy
Annotations
Check notice on line 202 in backend/tests/Services/EconomicsCalculationServiceTests.cs
codacy-production / Codacy Static Code Analysis
backend/tests/Services/EconomicsCalculationServiceTests.cs#L202
Remove the array type; it is redundant.
Check notice on line 469 in backend/tests/Services/EconomicsCalculationServiceTests.cs
codacy-production / Codacy Static Code Analysis
backend/tests/Services/EconomicsCalculationServiceTests.cs#L469
Remove the array type; it is redundant.
Check notice on line 498 in backend/tests/Services/EconomicsCalculationServiceTests.cs
codacy-production / Codacy Static Code Analysis
backend/tests/Services/EconomicsCalculationServiceTests.cs#L498
Remove the array type; it is redundant.