               (start-line start-column end-line end-column num count)
               (mapcar 'string-to-number rest)
 
+            (if (> count max-count)
+                (setq max-count count))
+
             (if (and (string= (file-name-nondirectory file) file-name))
                 (push
                  (make-go--covered

  "Coverage color of untracked code."
  :group 'go-cover)

(defface go-coverage-covered
  '((t (:foreground "#2cd495")))
  "Coverage color of covered code."
  :group 'go-cover)

(defface go-coverage-uncovered
  '((t (:foreground "#c00000")))
  "Coverage color of uncovered code."
  :group 'go-cover)


(defvar go-mode-syntax-table
  (let ((st (make-syntax-table)))

                  :start-column start-column
                  :end-line end-line
                  :end-column end-column
                  :covered (/= count 0)
                  :count count)
                 ranges)))

          (forward-line)))

      (if (> max-count 0)
          (setq divisor (log max-count))))

    (with-current-buffer (or
                          (get-buffer gocov-buffer-name)
