From a87e08b564e401b7961951e02f1cb2197c2cbb60 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Wed, 22 Apr 2015 14:48:18 -0400 Subject: [PATCH] godoc/static/analysis: update user documentation Change-Id: I765b246b44210612a8d7d0484beab07a86fa79c5 Reviewed-on: https://go-review.googlesource.com/9243 Reviewed-by: Robert Griesemer --- godoc/static/analysis/help.html | 49 ++++++++++++--------------------- 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/godoc/static/analysis/help.html b/godoc/static/analysis/help.html index 82409fb4..023c07de 100644 --- a/godoc/static/analysis/help.html +++ b/godoc/static/analysis/help.html @@ -18,18 +18,6 @@ results in the source and package views. This document provides a brief tour of these features.

-

- The current status of the analysis features is that of a technology - preview; there are many problems and user-interface difficulties - which will be addressed in due course. Some known problems are - mentioned in passing, accompanied by a warning triangle, . - - Nonetheless, godoc's static analysis may be immediately useful today - for small-to-medium sized Go corpora, and it contains several - advances over the state of the art in code browsing. -

Type analysis features

@@ -50,10 +38,6 @@ displays the error message.


-

- The mark-up for compilation errors may - cause duplication of portions of the input. -

Identifier resolution

@@ -114,8 +98,8 @@ channel.

- Pointer analysis is slower than type analysis, taking an additional - 15 seconds or so for the standard libraries and their tests. + Compared to type analysis, pointer analysis requires more time and + memory, and is impractical for code bases exceeding a million lines.

Call graph navigation

@@ -249,19 +233,22 @@

Known issues

- All analysis results pertain to exactly + All analysis results pertain to exactly one configuration (e.g. amd64 linux). Files that are conditionally compiled based on different platforms or build tags are not visible - to the analysis.
- - Files that import "C" require - preprocessing by the cgo tool. The file offsets after preprocessing - do not align with the unpreprocessed file, so markup is misaligned.
- - Files are not periodically re-analyzed. - If the files change underneath the running server, the displayed - markup is misaligned.
- - Additional issues are listed at - tools/godoc/analysis/README.
+ to the analysis. +

+

+ Files that import "C" require + preprocessing by the cgo tool. The file offsets after preprocessing + do not align with the unpreprocessed file, so markup is misaligned. +

+

+ Files are not periodically re-analyzed. + If the files change underneath the running server, the displayed + markup is misaligned. +

+

+ Additional issues are listed at + tools/godoc/analysis/README.