github.com/april1989/origin-go-tools@v0.0.32/cmd/cover/doc.go (about)

     1  // Copyright 2013 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  /*
     6  Cover is a program for analyzing the coverage profiles generated by
     7  'go test -coverprofile=cover.out'.
     8  
     9  Deprecated: For Go releases 1.5 and later, this tool lives in the
    10  standard repository. The code here is not maintained.
    11  
    12  Cover is also used by 'go test -cover' to rewrite the source code with
    13  annotations to track which parts of each function are executed.
    14  It operates on one Go source file at a time, computing approximate
    15  basic block information by studying the source. It is thus more portable
    16  than binary-rewriting coverage tools, but also a little less capable.
    17  For instance, it does not probe inside && and || expressions, and can
    18  be mildly confused by single statements with multiple function literals.
    19  
    20  For usage information, please see:
    21  	go help testflag
    22  	go tool cover -help
    23  */
    24  package main // import "github.com/april1989/origin-go-tools/cmd/cover"