Extraction of Method Signatures from Ontology Towards Reusability for the Given System Requirement Specification

S. Sagayaraj, Gopinath Ganapathy · 2011

Software reuse improves productivity, quality, and maintainability of software products. Only few completed projects are achieved and documented. The method signatures in a completed project are stored in the Ontology and the source code components are stored in Hadoop Distributed File System (HDFS). Methods are needed for the new project can be extracted from the Ontology using Software Requirement Specification (SRS) document. UML design document will evolve after many phases from SRS and hence this work proposes a new framework to extract keywords from SRS and estimate the number of new methods to be developed and count the number of methods that can be reused from the Ontology. The SRS document for the project consists of purpose, scope, system requirements, functional requirements and non-functional requirements as metadata. The SRS document is given as input and the keywords are extracted. The keywords are searched in Ontology for the similar method prototypes and the appropriate code components would be extracted from the HDFS. These methods are integrated in the new project with a review process. The implementation is provided with the sample SRS text. The keywords are extracted and matched with the Ontology. The reusability is measured using reuse metrics, quality, and knowledge growth. teams design new components and code by employing new developers. If the firm archives the completed code and components, they can be used with no further testing. To reuse the code, a tool can be created to extract the metadata such as function, definition, type, arguments, brief description, author, and so on from the source code and store them in Ontology. For a new project, the developer can search for components in the Ontology and retrieve them at ease. The Ontology represents the knowledgebase of the company for the reuse code. The Ontology can be used to search (8), retrieve, maintain and view informations. The projects are stored in Ontology and the source code is stored in the HDFS (9). The UML class diagram is a design document considered as the input. The method metadata is extracted from the UML and passed to the SPARQL to extract the available methods from the Ontology. By selecting appropriate method from the list the code component is retrieved from the HDFS (10). But for this paper SRS is used as input. After extracting the keywords from the SRS document these keywords are matched with the Ontology. From the retrieved methods, the developer can account for how many are already available in the repository and how many to be developed. By uploading projects in Ontology and HDFS the corporate knowledge grows and the developers can reuse code than developing newly.

Read the paper · More papers on PaperTik