Merge pull request #303 from fschaefer/master · boyter/scc@9f2bb6b
@@ -819,7 +819,7 @@ func fileSummarizeLong(input chan *FileJob) string {
819819820820if !Cocomo {
821821if SLOCCountFormat {
822-calcolateCocomoSLOCCount(sumCode, &str)
822+calculateCocomoSLOCCount(sumCode, &str)
823823 } else {
824824calculateCocomo(sumCode, &str)
825825 }
@@ -974,7 +974,7 @@ func fileSummarizeShort(input chan *FileJob) string {
974974975975if !Cocomo {
976976if SLOCCountFormat {
977-calcolateCocomoSLOCCount(sumCode, &str)
977+calculateCocomoSLOCCount(sumCode, &str)
978978 } else {
979979calculateCocomo(sumCode, &str)
980980 }
@@ -994,7 +994,7 @@ func trimNameShort(summary LanguageSummary, trimmedName string) string {
994994return trimmedName
995995}
996996997-func calcolateCocomoSLOCCount(sumCode int64, str *strings.Builder) {
997+func calculateCocomoSLOCCount(sumCode int64, str *strings.Builder) {
998998estimatedEffort := EstimateEffort(int64(sumCode), EAF)
999999estimatedScheduleMonths := EstimateScheduleMonths(estimatedEffort)
10001000estimatedPeopleRequired := estimatedEffort / estimatedScheduleMonths