Skip to content

Commit

Permalink
Add missing line to SLOCCount COCOMO calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
fschaefer committed Nov 3, 2021
1 parent 1028050 commit 8aff386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions processor/formatters.go
Expand Up @@ -1009,6 +1009,7 @@ func calcolateCocomoSLOCCount(sumCode int64, str *strings.Builder) {
str.WriteString(p.Sprintf(" (Basic COCOMO model, Months = %.2f*(person-months**%.2f))\n", projectType[CocomoProjectType][2], projectType[CocomoProjectType][3]))
str.WriteString(p.Sprintf("Estimated Average Number of Developers (Effort/Schedule) = %.2f\n", estimatedPeopleRequired))
str.WriteString(p.Sprintf("Total Estimated Cost to Develop = %s%.0f\n", CurrencySymbol, estimatedCost))
str.WriteString(p.Sprintf(" (average salary = %s%d/year, overhead = %.2f)\n", CurrencySymbol, AverageWage, Overhead))
}

func calculateCocomo(sumCode int64, str *strings.Builder) {
Expand Down

0 comments on commit 8aff386

Please sign in to comment.