Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate cash flow #1281

Merged
merged 86 commits into from
Oct 16, 2024

.

46ffd85
Select commit
Loading
Failed to load commit list.
Merged

Calculate cash flow #1281

.
46ffd85
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Oct 15, 2024 in 0s

Your pull request is up to standards!

Codacy 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

backend/tests/Services/EconomicsCalculationServiceTests.cs#L498

Remove the array type; it is redundant.