Software Component Retrieval using Keyword- Based ...

57 downloads 1974 Views 622KB Size Report
software developer can retrieve the required components from the repository. There are various retrieval ... https://sites.google.com/site/ijcsis/. ISSN 1947-5500 ...
International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

Software Component Retrieval using KeywordBased Search Technique Amit Verma Professor and Head, Department of Computer Science and Engineering, Chandigarh Engineering College, Landran [email protected]

Monisha Kumari Research Scholar, Computer Science Engineering Chandigarh Engineering College, Landran Mohali, India [email protected]

Iqbaldeep Kaur Associate Professor, Department of Computer Science and Engineering, Chandigarh Engineering College, Landran [email protected]

Abstract— The software component retrieval has been very important and challenging in the area of component based software engineering and software engineering. In the proposed work CRSKS (Component Retrieval System Using Keyword-Based System) has been designed for the software component retrieval from the component repository. The software component retrieval from repository has been the point of discussion. The efficient retrieval process has been using different techniques that can give better results. The keyword based retrieval techniques is one of them. CRSKS tool is used to retrieve the software component by using the keyword based search technique. The client can retrieve the relevant software component with using the query in the form of keyword. The result efficiency of the retrieval process can be evaluated by using precision, recall and f-measure. In this tool the client can retrieve the software component by doing search and by doing advance search according to the convenience of the user. Keywords- Component repository, Component Retrieval System Using Keyword-Based Search, Component reusability, Software component

I. INTRODUCTION The software components can be reused for the development of the software and stored in the repository. The software developer can retrieve the required components from the repository. There are various retrieval techniques that can be used for retrieval and in this work keyword based technique is used. Most of the search engines are using the keyword based search for the search of the document by the user. In this work, the java based application named as Component Retrieval System Using Keyword-Based Search (CRSKS) has been developed in which the repository is developed and component has been retrieved by using the keyword based technique. The keyword based search is based on the method in which the client can just use keywords which as indicated by client are important as it would give the required component, once the keywords are entered in, the framework checks for just the keywords exhibit in the surrogate and once the applicable keywords are found, the framework would show the relevant component. II. PROPOSED WORK In this work the tool Component Retrieval System Using Keyword-Based Search (CRSKS) in which two modules has been implemented. In this tool CRSKS the first module is adding the software component in the repository and second module is software component retrieval with two search techniques. First is keyword search technique and second is advanced search technique. In the keyword search technique one has to enter the exact name and search for the software and in advanced search one can enter anything related to the software component to get the software component.

105

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

A. Software component Repository The software component repository contains the reusable software components that can be reused for the new development of the software. In order to develop the repository by the developer the steps for the development is shown in Figure 1. The repository developed in this work is based on the existing repositories that contain software components that has been using by the developers to make the new software with existing software components. B. Keyword based retrieval Technique The technique implemented in this module in which the client can retrieve the software component with the help of keyword. The implementation has been shown in Figure 2. This technique helps the user to do the search for the software component easily without much knowledge of the software component. This helps the user to get the software component that can be used by the user to develop the new software. The user can exit the tool after fetching the relevant software component. If the relevant component has not found than the user can do new search or advance search.

Developer

User

Request for component

Upload software component CRSKS (Component Retrieval System Keyword Search) Tool

Component Retrieval

Saves the component

Component repository

Figure 1. Repository development DFD

III. PROPOSED ALGORITHM The working of the CRSKS tool has been explained below: Mode 1: Developing component repository 1.

Start

2.

Open CRSKS tool.

3.

Click on the Develop repository button

4.

Developer can upload the software components information one by one using CRSKS tool.

5.

Each software components with path address get stored in the component repository (database).

Above steps are repeated recursively to store the new software component in the component repository.

106

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

Mode 2. Search for software component 1.

Start

2.

Open CRSKS tool

3.

Click on the Software Component Retrieval button.

4.

User can enter the query in the text field according to the requirement of software component.

5.

If the user knows the exact name of the software component or some exact name of related component

information then click on the search button 6.

If the user does not know the exact name of the software component then advanced search button can be

clicked. TABLE I PSEUDO CODE FOR CRSKS TOOL

Start CREATE Repository; UPLOAD Scom;

//Software components;

If (Component information valid) { Software component added successfully; } SEARCH Scom; ENTER keyword; If(keyword=Scom) { Software component found; } Else { No component found; REPORT Advanced Search; } Exit

The Table I explains the pseudo code of the CRSKS tool which explains that the client first has to start with creating the software repository by uploading the software components in the repository. If the query entered by the client is valid then the client can do the search with Search button and if the query entered is not valid then the user can do the Advanced Search.

107

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

Enter component

Saves in database

Developer

Saves the new component Precise result of query

Enter query 1

Repository

Search componen

User Result of query

Advanced Search Enter query 2

Figure 2. DFD showing flow of CRSKS working

The Figure 2 DFD showing flow of CRSKS working in this the developer enter the software component and the new software component saves in the repository. When the user enters the query to search the component from the repository then the search can be done with two different techniques of keyword search for precise result for query and advanced search for not valid query. IV. COMPONENT RETRIEVAL SYSTEM USING KEYWORD BASED SEARCH (CRSKS) This tool CRSKS developed has the interface showing in figure 3. There are three buttons that connects the first interface with the different modules of the tool. There are two modules in this work have been implemented: C. Developing component repository The component repository has been developed in this module. The figure 4(a) showing developer would develop the repository by adding the software components in the repository. The software components are from the existing repositories that can be used to develop the new software with the reusable components.

108

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

Figure 4(b). About the setup

Figure 3. Screenshot showing the first interface of the work Figure 5(a). Search of software component

Figure 4(a). Developing repository by adding new component Figure 5(b). Advanced search of software component

D. Component retrieval using Keyword-Based Search Technique The search of the component has been done in this module. The screenshots of the interface are given below in figure 4. There are two searching ways to retrieve the component by using this tool. In this module the search can be

109

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

done with Search button as shown in figure 5(a) and Advance Search button that can be seen in figure 5(b). In the search part the component would be searched by using the exact name of the component or any of the related component features but the name should be exact. In the advanced search part the component would be search with just typing some part of the component name or component feature name. There is no need to know the exact name it can be some related or the first two words to do the search. E. About The about section contains the structural and implementation information of this work. The figure 4(b) showing experimental setup has been described in this module in order to update the new client about the setup of this work. V. EXPERIMENTAL RESULT AND DISCUSSION The implementation of the work has been implemented by using the experimental setup as follows: Processor: Intel ® Pentium® CPU B950 @ 2.10 GHz 2.10GHz, x64-based processor, Memory installed as RAM: 4 GB, System Type: 64-bit Operating System, Software Implements: Net beans IDE 8.1, Xamp, Internet Velocity: 50MBps. The overall evaluation of the implementation is done by using recall, precision and f-measure. There are three evaluating parameters for the retrieval of software components. TABLE II DESCRIPTION Symbols

Description

Rei

Retrieved instances

Rv

Relevant

Rvi

Relevant instances

Re

Retrieved

F. Precision (Pr) Pr is the fraction of the Rei that are Rv. G. Recall (Re) Re is the fraction of the Rvi that are Re. H. F-measure F-measure is denoted as harmonic mean of the Pr and Re.

F-measure = (2.Pr.Re) / (Pr + Re) VI. CONCLUSION The efficient software component retrieval has been challenging in software engineering to develop the new software with reusable components. In this work the keyword based search is implemented for the retrieval of component from the repository. The present work uses CRSKS tool. The software component information based repository has been created in this work by using CRSKS tool. The precision and recall has been measured for analysis

110

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

International Journal of Computer Science and Information Security (IJCSIS), Vol. 15, No. 1, January 2017

of software component retrieval process. VII. FUTURE SCOPE In this work the CRSKS tool has been implemented which can be integrated with the soft computing techniques like neural networks, genetic algorithm or fuzzy logic. The precision and recall can be improved by integrating the keyword retrieval technique with some other soft computing techniques. [1] [2] [3]

[4] [5] [6] [7] [8] [9]

REFERENCES W. Zhongjie, X. Xu, and D. Zhan. A survey of business component identification methods and related techniques. In IJIT, International Journal of Information Technology , 2006 Oct; 2(4),p.229 Chatterjee, Ram, and Himani Rathi. "To ameliorate component searching by automating keyword search technique." In Computing for Sustainable Global Development (INDIACom), 2015 2nd International Conference on, pp. 560-565. IEEE, 2015. Andreou, S. Andreas, Vogiatzis D.G., and Papadopoulos G.A.. Intelligent classification and retrieval of software components. In 30th Annual International Computer Software and Applications Conference (COMPSAC'06), IEEE, 2006; p. 37-40, DOI:10.1109/COMPSAC.2006.135 Banerjee, Tania, Mohamed Gadou, and Sanjay Ranka. A genetic algorithm based approach for multi-objective hardware/software cooptimization. Sustainable Computing: Informatics and Systems 2016 June, (10); p. 36-47. DOI: 10.1016/j.suscom.2016.04.001 Bhatia, R. Kumar, M. Dave, and Ramesh C. Joshi. Retrieval of Most Relevant Reusable Component Using Genetic Algorithms. In SERP, Software Engineering Research and Practice, 2006 Jan; pp. 151-155. Dixit, Anurag, and P. C. Saxena. "Software component retrieval using genetic algorithms." In Computer and Automation Engineering, 2009. ICCAE'09. International Conference on IEEE, 2009 Mar, pp. 151-155. S. Vodithala and S. Pabboju. A dynamic approach for retrieval of software components using genetic algorithm. In 6th IEEE International Conference on Software Engineering and Services, 2015 Set; p. 406-410, DOI: 10.1109/ICSESS.2015.7339085. Bakshi, Amandeep, and Seema Bawa. A Survey For Effective Search And Retrieval Of Components From Software Repositories. In IJERT International Journal of Engineering Research and Technology, 2013 April; 2(4 ). B. Ibrahim, Girardi, and M. R., An approach to improve the effectiveness of software retrieval. In the 3rd Irvine Software Symposium Proceedings, Irvine, California, 1993; 458.

111

https://sites.google.com/site/ijcsis/ ISSN 1947-5500

Suggest Documents