compare and contrast: visual exploration of source code examples vissoft'09

Post on 04-Jul-2015

1.115 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Compare and Contrast:

Visual Exploration of

Source Code Examples

Rylan Cottrell, BrinaGoyette, Reid Holmes,

Robert J. Walker, JörgDenzinger

Motivation

Wouldn’t it be nice if…

Wouldn’t it be nice if…

What we want

• Locality

– During exploration, developer knows where they are.

• Structure

– Structural information is visible.

• Distinction

– Identify commonalities and differences between the source code examples.

Introducing Guido

Hierarchy View

Source View

Tag Cloud

Using Guido

Exploring levels of generalization

Exploring levels of generalization

Understanding commonalities

How is void being used?

How is the type String being use?

Understanding differences

What are the differences in the return type?

What are the differences parameter types?

• Prototype tool

• Commonalties & Differences:– Locality.

– Structure.

– Distinction.

Summary

top related