GoPLS Viewer

Home|gopls/cmd/cover/doc.go
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/*
6Cover is a program for analyzing the coverage profiles generated by
7'go test -coverprofile=cover.out'.
8
9Deprecated: For Go releases 1.5 and later, this tool lives in the
10standard repository. The code here is not maintained.
11
12Cover is also used by 'go test -cover' to rewrite the source code with
13annotations to track which parts of each function are executed.
14It operates on one Go source file at a time, computing approximate
15basic block information by studying the source. It is thus more portable
16than binary-rewriting coverage tools, but also a little less capable.
17For instance, it does not probe inside && and || expressions, and can
18be mildly confused by single statements with multiple function literals.
19
20For usage information, please see:
21
22    go help testflag
23    go tool cover -help
24*/
25package main // import "golang.org/x/tools/cmd/cover"
26
MembersX
Members
X