mavak / trucov

True coverage tool for C / C++
1 stars 1 forks source link

Spec Gui Vision / Feature List #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description

Create a Gui Vision / Feature List SRS

This task is open for discussion, please comment on any ideas you may have
for the GUI.

Original issue reported on code.google.com by millerlyte87@gmail.com on 8 Sep 2009 at 4:17

GoogleCodeExporter commented 9 years ago
Issue 108 has been merged into this issue.

Original comment by millerlyte87@gmail.com on 8 Sep 2009 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by millerlyte87@gmail.com on 9 Sep 2009 at 11:29

GoogleCodeExporter commented 9 years ago
Reassigned to William.

Some very general stuff about the GUI has been started.
Graph Viewer, Code Viewer, Menu bar, Action Toolbar. We can scrap those ideas, 
or
keep them if we wish.

We may want to consider adding a text window at the bottom for error output, and
console output. That way we could the prints to stdout into the console window, 
and
the prints to stderr into the error window.

Original comment by millerlyte87@gmail.com on 9 Sep 2009 at 11:33

GoogleCodeExporter commented 9 years ago
You should add to the Project Explorer, Code Viewer, and Coverage Graph Viewer 
should
say they have a scroll bar on the bottom and left ONLY when needed. You should 
be
able to adjust the size between the Code Viewer and the Graph Viewer, and 
adjust the
size between the Project Explorer and Graph Viewer. Should be able to adjust 
the size
of the action toolbar ( click and drag up and down ).

Original comment by millerlyte87@gmail.com on 15 Sep 2009 at 4:17

GoogleCodeExporter commented 9 years ago
The GUI SRS needs to reflect the following things:

1)
The options should be listed under the "options" tab in the menu bar. Anything 
that
can be enabled or disabled should be checkable.

So the menu bar might contain stuff like:

"Show fake arcs ands blocks"   -- A checkable option     // Maps to --hide-fake 
and
--show-fake
"Show demangled names"  -- A checkable option // Maps to --mangle and --demangle
... 

Pretty much all enable and disable options should be under here.

Options that or have values or multiple values probably need to use dialogs to 
gather
the data.

"Source Directories" -- Uses a open file dialog to specify a directory.
Same for "Build Directories" and "Output Directory".

All options should have icons on the action toolbar also.

2)
We need to specify how the trucov gui tool will work.
The user should be able to select options, srcdir, builddir, and hit the run 
button
(Should probably be green and have some kind of pretty icon).

trucov will run, and populate the Project Explorer with all the sources files 
and
functions that we have coverage on. 
The code viewer and graph viewer will default to the first source file in that 
list.
The user can switch views of the Project Explore to the source view, function 
view,
or directory view (already covered in the GUI SRS). 
When a user selects a source file, we will generate the coverage report and 
graph for
that source file right there. Thus we are only rendering and creating coverage
reports when needed. (This makes are gui more than just a front end tool)!!
A user can save 1 coverage report or graph at a time, or save all of them at a 
time
(then we would generate all the reports at the same time). 
A user can save the project, which will produce a file representing the data in 
the
data structure. (A cache file really.) 
When a user selects to load a project, it will load from the cache file, and 
all the
coverage graphs and reports can be created when needed.

3) The graph viewer should have two views (thus it should be a tabbed item). The
graph view and the report view. The user should be able to click on a tab, 
switching
between the coverage report and graph of a source file. 

Original comment by millerlyte87@gmail.com on 16 Sep 2009 at 7:22

GoogleCodeExporter commented 9 years ago
assigned to Matt.

Original comment by millerlyte87@gmail.com on 24 Sep 2009 at 4:49

GoogleCodeExporter commented 9 years ago
Verify this is created.

Original comment by millerlyte87@gmail.com on 4 Oct 2009 at 2:14

GoogleCodeExporter commented 9 years ago

Original comment by yekyaw.wsu@gmail.com on 5 Oct 2009 at 6:23