Versions in this module Expand all Collapse all v1 v1.0.0 Apr 12, 2018 Changes in this version + const S_BLANK + const S_CODE + const S_COMMENT + const S_COMMENT_CODE + const S_MULTICOMMENT + const S_MULTICOMMENT_BLANK + const S_MULTICOMMENT_CODE + const S_STRING + var AverageWage int64 = 56286 + var Cocomo = false + var Complexity = false + var Debug = false + var DirFilePaths = []string + var Duplicates = false + var ExtensionToLanguage = map[string]string + var FileListQueueSize = runtime.NumCPU() + var FileProcessJobQueueSize = runtime.NumCPU() + var FileReadContentJobQueueSize = runtime.NumCPU() + var FileReadJobQueueSize = runtime.NumCPU() + var FileSummaryJobQueueSize = runtime.NumCPU() + var Files = false + var LanguageFeatures = map[string]LanguageFeature + var More = false + var PathBlacklist = "" + var SortBy = "" + var Trace = false + var Verbose = false + var WhiteListExtensions = "" + func EstimateCost(effortApplied float64, averageWage int64) float64 + func EstimateEffort(sloc int64) float64 + func EstimateScheduleMonths(effortApplied float64) float64 + func Process() + type CheckDuplicates struct + func (c *CheckDuplicates) Add(key int64, hash []byte) + func (c *CheckDuplicates) Check(key int64, hash []byte) bool + type FileJob struct + Blank int64 + Bytes int64 + Code int64 + Comment int64 + Complexity int64 + Content []byte + Extension string + Filename string + Hash []byte + Language string + Lines int64 + Location string + WeightedComplexity float64 + type Language struct + ComplexityChecks []string + Extensions []string + LineComment []string + MultiLine [][]string + Quotes [][]string + type LanguageFeature struct + ComplexityBytes []byte + ComplexityChecks [][]byte + MultiLineComment []OpenClose + SingleLineComment [][]byte + StringChecks []OpenClose + type LanguageSummary struct + Blank int64 + Bytes int64 + Code int64 + Comment int64 + Complexity int64 + Count int64 + Files []*FileJob + Lines int64 + Name string + WeightedComplexity float64 + type OpenClose struct + Close []byte + Open []byte