Calculates Thomas McCabe's cyclomatic complexity for a go file or package