z-logo
open-access-imgOpen Access
Code Smell Identification As The Basis For Code Refactoring in The Agricultural Information System Portal Case Study at: Gilangharjo Village, Bantul Regency, Indonesia
Publication year - 2021
Publication title -
international journal of advanced trends in computer science and engineering
Language(s) - English
Resource type - Journals
ISSN - 2278-3091
DOI - 10.30534/ijatcse/2021/321032021
Subject(s) - code refactoring , computer science , identification (biology) , legacy code , scalability , agriculture , code (set theory) , source lines of code , information system , software engineering , engineering , database , software , geography , operating system , programming language , botany , archaeology , set (abstract data type) , electrical engineering , biology
Information system technology continues to evolve over time. Various fields of science including agriculture also utilize information system to improve quality and services in the agricultural sector. Indonesia is an agrarian country where most of the populations work in the agricultural sector. Based on this fact, the Indonesian government is also very supportive towards improving and developing technology in agriculture. Dutatani is one of the Agricultural Information Systems (SIP) that has been consistently developed since 2016 towards precision agriculture. One of the technologies developed is web-based technology which has many sub-systems in it. This raises the problem regarding system scalability wherein each sub-system is developed separately and uses a different development model. Each system uses a specific framework and a native. Therefore this study aims to identify which sub-systems are suitable to be developed and refactored to become a new agricultural information system portal. The identification process used a code smell and metric-based approach. The metrics used were Line of Code (LOC), Complexity, Lack of Cohesion of Methods (LCOM) and God Class. From the results of detection using a code smell, the code detected was 55.17%. This study also revealed a fact that code with a good structure would be easier to detect. Modular code that used a framework and was orderly structured could be read well by detection tools, and showed a high LCOM rate compared to structured and nativecode

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here