Download Tool Support for Introductory Software Engineering Education

Transcript
(2) Information derived automatically from the classes’ source.
At some point in the development process tools may be run which
automatically generate information from the classes in the project. This may
be embedded documentation (for example javadoc, which is a standard
for embedding documentation in the comments of Java programs
[Gosling1999] or the concept of literate programs [Ramsey1994]), or maybe
an intelligent automated analysis tool.
(3) Information derived from usage patterns.
It is possible for a system to collate information about the frequency or type
of usage which classes get and store this information. A simple example
would be to record the most popular classes by various criteria such as
number of times used as a superclass or number of instantiations.
The Melmoth system [Hitchens1994] suggests the use of a thesaurus to expand the
usefulness of keyword searches although its effectiveness is impeded by the
difficulty of creating an effective thesaurus.
The querying methods described above are most effective when used in
conjunction with the browsing techniques detailed in section 2.3.5. Queries may not
find the ideal class that the student desired, but they are often a very good starting
point for a browsing process.
Tool support for searching is generally very good. However, there are only a few
IDEs that support a uniform mechanism for searching of all information about a
class. For instance, Visual Age for Java (see Figure 1) has a comprehensive search
dialog that allows searching with wildcards within the names of types, methods,
fields and constructors. Visual Age uses the semantic understanding of the source
code built during its compile phase to allow searching of these specific language
structures. However, this search dialog cannot search the associated class
documentation, nor go directly to the class documentation once a class is found,
despite the class documentation being available within the IDE (and indeed
searchable through a separate mechanism).
28