Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Summer Of Code project question
Summer Of Code project question [message #93684] Sat, 17 March 2007 14:57 Go to next message
Eclipse User
Originally posted by: matmis.mimuw.edu.pl

Hello,

I am a PhD student at Warsaw University, and I am about to submitting a
project proposal for the Google Summer of Code and Eclipse, related to
something I'm barely started working on.

My question is - is my idea sensible at all? How is it related to TPTP?
(At first glance, I have an impression that I could somehow use TPTP
runtime analysis to implement the "gathering values" component of my
project, but the user interface part belong to Eclipse/JDT area.)

Here's the project abstract:
-----------------------------
The aim of this project is to enhance Eclipse/JDT with an innovative
feature – off-line visualisation of exemplary program variable values.
When enabled, Java programs that are test launched are instrumented in
order to log some of the variable values. The logged values are later
shown to the developer who is browsing the source code (e.g. in a hover
box of a variable occurence).

The advantage is, when a test fails, the developer often won't have to
rerun the test under debug mode or add tracing code by hand. And even in
the case of code without faults, exemplary program values will greatly
improve code documentation – other developers in the team will grasp the
meaning of the source code more easily.

Since only a few values gathered per each variable occurence is
satisifactory, this kind of runtime program monitoring is possible with a
moderate execution overhead. On the other hand, for some parts of the code
it is feasible to store data about all program events and expand the
visualisation into a full-blown bidirectional debugger. The question how
to manage the trade-off between tool efficiency and quality of results is
a research subject, and I'm pretty sure it is out of a scope of a summer
project.

May I kindly propose as the Summer of Code project the following
objective: an enhancement in Eclipse/JDT, that would visualize arbitrary
(any) subsets of program variable values and events observed by a program
monitor.
It would show them directly onto the source code (as in the hover box
example), and also according to their timeline, i.e display flow changes
of a particular variable, or let the developer browse „past in time” to
when a particualr variable was set. The best user exeperience will be
achieved when all of program events are available, and will gracefully
decline when there are less data provided.

This will be accompanied by a test instrumentation implementation so as to
demonstrate the objective. I will ensure that the it needs as less human
intervention as possible, but the strategies for selecting variable values
will be primitive and configured manually.
---------------------

regards,

Marcin Stefaniak
Re: Summer Of Code project question [message #95699 is a reply to message #93684] Fri, 13 April 2007 11:30 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Marcin,
A lot of what you are proposing is already provided by TPTP. Data
collection from profiling, API recording and system monitoring (there is
also some outstanding work to complete the integration of test execution
with data collection (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029)), models and UIs. I
believe your piece of original work could be fathering the scope of data
collection (e.g. filtering) and a more tightly integrated UI with the JDT
(have a look at the TPTP Line Level Code Coverage Technology Preview
( http://www.eclipse.org/tptp/home/documents/tutorials/viewlet s/v4.2/LLC/LineCoverage_viewlet_swf.html)).
That said, I think this is a good idea. The key is to reuse as much of TPTP
as possible so you only need to focus on the value-add of your project.

I would be interested in discussing how your work could be leveraged by
TPTP.

Paul
"Marcin Stefaniak" <matmis@mimuw.edu.pl> wrote in message
news:23b209c56c50346fceb0667e932d3b63$1@www.eclipse.org...
> Hello,
>
> I am a PhD student at Warsaw University, and I am about to submitting a
> project proposal for the Google Summer of Code and Eclipse, related to
> something I'm barely started working on.
>
> My question is - is my idea sensible at all? How is it related to TPTP?
> (At first glance, I have an impression that I could somehow use TPTP
> runtime analysis to implement the "gathering values" component of my
> project, but the user interface part belong to Eclipse/JDT area.)
>
> Here's the project abstract:
> -----------------------------
> The aim of this project is to enhance Eclipse/JDT with an innovative
> feature
Previous Topic:ProbekitPlugin does not register it's debug tracing options to eclipses' generic tracing facility
Next Topic:IAC with 4.4i2 on Linux-32
Goto Forum:
  


Current Time: Mon Oct 20 04:33:28 GMT 2014

Powered by FUDForum. Page generated in 0.01585 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software