Open Access Open Access  Restricted Access Subscription Access

A Novel Approach to Restructure the Input Java Program


Affiliations
1 Department ofComputer science & Engineering, Ballari Institute of Technology & Management, Ballari, India
2 Department of CSE, RYMEC, Ballari, Research scholar, VTU, Belagavi, India
 

During the last few years, we can find a lot of developments in the software industry concerning customized applications. Most of the businesses are automated using Java programming language because of its object-oriented features. The applications developed, might have undergone perennial need-based modifications. The original structure of the program is lost because of the need-based modifications and further, the program becomes ill-structured. This ill-structured program is not appropriate for the abstraction of design information.

In this paper, we are proposing a novel approach that takes executable java program as input and restructures the program without modifying its functionality. The proposed approach comprises the phases like appending the externals files to the main program, eliminating comment lines, blank lines, converting multistatement lines to the single statement, the multi-line statement to single statement line, physically allotting line numbers, and removing unused variables.


Keywords

Restructuring, ill-structured, functionality, design information.
User
Notifications
Font Size

  • Mohammed Furqan Shreetha Bhat “The Secrets Behind the Product-Making Process “, Int. Jnl. of Advanced Networking & Applications (IJANA) Special Issue, Volume 10, Issue 5(March-April 2019)
  • Dr.Raghavi K Bhujang, Dr. Suma V “Need for Effective Risk Management Strategy duringSoftwareDevelopment Process – A Holistic View”, Int. Jnl. of Advanced Networking & Applications (IJANA) Special Issue, Volume 10, Issue 5(March-April 2019).
  • Mubarak Albarka Chen Zhanfang “A Comparative Study of Dynamic Software Testing Techniques “, Int. Jnl. Advanced Networking and Applications Volume: 12 Issue: 03 Pages: 4575-4584(2020) ISSN: 0975-0290 4575 “
  • Elman Abdullah Alomar, Mohamed Wien Mkaouer, Ali Ouni, Marouane Kessentini “On the Impact of Refactoring on the Relationship between Quality Attributes and DesignMetrics”,978-1-7281-29686/19/$31.00©2019IEEE,10.1109/ESEM.2019.8870 177.
  • Dr. R N Kulkarni, Pani Ram Prasad, “ Restructuring of Java Program to be amenable for Reengineering”, Journal of Engineering Science and Technology Volume 02, Issue 06 (2019) P.
  • Ally s. Nyamawe, hui Liu 1, Shandong niu1,” Recommending Refactoring Solutions Based on Traceability and Code Metrics”, 2018. Page no: 49460 – 49475, 06 September 2018, ISSN: 2169-3536.
  • Satwinder Singh, Sharanpreet Kaur, “A systematic literature review: Refactoring for disclosing code smells in object-oriented software”, http://dx.doi.org/10.1016/j.asej.2017.03.002, December 2018, Pages 2129-2151
  • Mehmet Kaya1, Shannon Conley2, Zhala S. Othman3, Asaf Varol, “Effective Software Refactoring Process”, 2018 6th International Symposium on Digital Forensic and Security (ISDFS), 22-25 March 2018, DOI: 10.1109/ISDFS.2018.8355350
  • Yukti Mehta, Ashish Sureka, Paramvir Singh “Analyzing Code Smell Removal Sequence for Enhanced Software Maintainability”, 2018 Conference on Information and Communication Technology (CICT), 26-28 Oct. 2018, https://doi.org/10.1109/INFOCOMTECH.2018.872 2418
  • SeetharamaTantry, Muralidhar N.N. “Implications of legacy software system modernization – a survey in a changed scenario “, International Journal of Advanced Research in Computer Science,http://dx.doi.org/10.26483/ijarcs.v8i7.4556 Volume 8, No. 7, July – August 2017.
  • Shaik Ismail, Sai Koparthi, “Automatically restructuring of java comments ”, Published in conference July 2017, Washington D.C, U.S.A. PP1-4.
  • Dr. R N Kulkarni, Padma Priya Patil, ”Restructuring of Legacy ‘C’ programs to be amenable for multicore architecture”, Science Direct, Elsevier, 876-6102@2017, 2017 International Conference On Smart Technologies For Smart Nation (SmartTechCon).
  • Luca Pascarella, Alberto Bacchelli, “Classifying code comments in Java open-source software systems“, 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR). 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR), 20-21 May 2017, 10.1109/MSR.2017.63.
  • Raja Sehrab Bashir, Sai Peck Lee, Chong Chun Yung, ”A methodology for impact evaluation of refactoring on external quality attributes of a software design”, 0-7695-6347-3/17/$31.00 ©2017. 2017 International Conference On Smart Technologies For Smart Nation (SmartTechCon), 17-19 Aug. 2017, DOI: 10.1109/SmartTechCon.2017.8358389.
  • A.Cathreen Graciamary and Dr.Chidambaram, “Enhanced Re-engineering Mechanism to Improve the Efficiency of Software Re-engineering”, International Journal of Advanced Computer Science and Applications vol.7, No 11, 2016.
  • Anna Vasileva, Doris Schmedding, ”How to Improve Code Quality by Measurement and refactoring”, DOI 10.1109/QUATIC.2016.28, 2016-IEEE 10th International Conference on the https://ieeexplore.ieee.org/xpl/conhome/7811933/proceeding.
  • Isong Bassey, Nosipho Dladlu,” Object-Oriented Code Metric-Based Refactoring Opportunities Identification Approaches: analysis”, 978-1-50904871-7/16 $31.00 © 2016 IEEE, DOI10.1109/ACIT-CSII-BCD.2016.24, 12-14 Dec. 2016.
  • Dr. R N Kulkarni, Nidhi Jain C, Rashmi G, Vaishali B J, Zakiya Niyazi, “Abstraction of Test Cases From Input Java Program”, International Journal of Combined Research & Development (IJCRD) ISSN:2321-25X; ISSN:2321-2241 Volume: 4; Issue: 5; May -2015.
  • S.H. Kannangara1 and W.M.J.I. Wijayanayake2 “An empirical evaluation of the impact of refactoring on internal and external measures of code quality”, International Journal of Software Engineering & Applications (IJSEA),2015, DOI:10.5121/idea.2015, IJSEA Journal, Vol.6, No.1, January 2015, PP. 51 – 67
  • Oscar Chaparro, Gabriele Bavota, Andrian Marcus, Massimiliano Di Penta, “On the Impact of Refactoring Operations on Code Quality Metrics”, 29 Sept.-3 Oct. 2014 29 Sept.-3 Oct. 2014, 978-14799-6146-7, ISSN:1063-6773
  • Hirohisa Aman, Sousuke Amasaki, Takashi Sasaki, and Minoru Kawahara “Empirical Analysis of Fault-proneness in Methods by Focusing on their Comment Lines”, 1530-1362/14 $31.00 © 2014 IEEE, DOI 10.1109/APSEC.2014.93, 1-4 Dec. 2014, INSPEC Accession Number: 15076974
  • Dr. R N Kulkarni, Shilpa Jain, Bhavana S.H,Nethravathi .K, Shalini .S “Abstraction of UML Diagrams from Java Code “, International Journal of Combined Research & Development (IJCRD) eISSN: 2321- 225X; pISSN: 2321-2241 Volume: 2; Issue: 4; April- 2014.
  • Rekha Naug1 and Kavita “A study of types of dead codes and their solutions”, International Journal of Computer Science and Engineering (IJCSE) ISSN(P): 2278–9960; ISSN(E): 2278–9979 Vol. 9, Issue 2, Feb–Mar 2020, 1–6.
  • Anna Vasileva, Doris Schmedding, “How to Improve Code Quality by Measurement and Refactoring”, 2016 10th International Conference on the Quality of Information and Communications Technology.
  • Dr. Shivanand M. Handigund, Rajkumar N. Kulkarni “An Ameliorated Methodology for the design of Object Structures from legacy ‘C’ Program”, ©2010 International Journal of Computer Applications (0975 – 8887) Volume 1 – No. 13.

Abstract Views: 141

PDF Views: 1




  • A Novel Approach to Restructure the Input Java Program

Abstract Views: 141  |  PDF Views: 1

Authors

R. N. Kulkarni
Department ofComputer science & Engineering, Ballari Institute of Technology & Management, Ballari, India
K. S. Aparna
Department of CSE, RYMEC, Ballari, Research scholar, VTU, Belagavi, India

Abstract


During the last few years, we can find a lot of developments in the software industry concerning customized applications. Most of the businesses are automated using Java programming language because of its object-oriented features. The applications developed, might have undergone perennial need-based modifications. The original structure of the program is lost because of the need-based modifications and further, the program becomes ill-structured. This ill-structured program is not appropriate for the abstraction of design information.

In this paper, we are proposing a novel approach that takes executable java program as input and restructures the program without modifying its functionality. The proposed approach comprises the phases like appending the externals files to the main program, eliminating comment lines, blank lines, converting multistatement lines to the single statement, the multi-line statement to single statement line, physically allotting line numbers, and removing unused variables.


Keywords


Restructuring, ill-structured, functionality, design information.

References