Skip to main navigation Skip to search Skip to main content

Software component search

  • Joseph Goouen
  • , Doan Nguyen
  • , José Meseguer
  • , Luqi
  • , Du Zhang
  • , Valdis Berzins

Research output: Contribution to journal › Article › peer-review

Abstract

An important problem in software development is to make better use of software libraries by improving the search and retrieval process, that is, by making it easier to find the few components you may want among the many you do not want. This paper suggests some ideas to improve this process: (1) Associate an algebraic specification with each software component; these specifications should include complete syntactic information, but need have only partial semantic information. (2) User queries consist of syntactic declarations plus results for sample executions. (3) User queries may be posed in standard programming notation, which is then automatically translated into algebraic notation. (4) Search is organized as ranked multi-level filtering, where each level yields a ranked set of partial matches. (5) Early stages of filtering narrow the search space by using computationally simple procedures, such as checking that the number of types is adequate. (6) Middle levels may find partial signature matches. (7) Pre-computed catalogues (i.e., indexes) can speed up early and middle level filtering. (8) Semantic information is used in a final filter with term rewriting, but complete verification is not attempted. (9) The series of filters is implemented incrementally, so as to backtrack to lower ranked components in case of failure. This approach avoids the need for complex theorem proving, and does not require any knowledge of algebraic specification from the user. Moreover, it does not require either specifications or queries to be complete or even fully correct, because it yields partial matches ranked by how well they fit the query. The paper concludes with a description of some preliminary experiments and some suggestions for further experiments.

Original languageEnglish (US)
Pages (from-to)93-134
Number of pages42
JournalJournal of Systems Integration
Volume6
Issue number1-2
DOIs
StatePublished - 1996
Externally publishedYes

Keywords

  • Component search
  • Computer aided prototyping
  • Retrieval
  • Reuse
  • Software library

ASJC Scopus subject areas

  • General Earth and Planetary Sciences

Fingerprint

Dive into the research topics of 'Software component search'. Together they form a unique fingerprint.

Cite this