원문정보
초록
영어
The focus of this paper is secure code development and maintenance. When it comes to safe code, it is most important to consider code readability and maintainability. This is because complex code has a code smell, that is, a structural problem that complicates code understanding and modification. In this paper, the goal is to improve code quality by detecting and removing smells existing in code. We target the encryption and decryption code SEED.c and evaluate the quality level of the code using several metrics such as lines of code (LOC), number of methods (NOM), number of attributes (NOA), cyclo, and maximum nesting level. We improved the quality of SEED.c through systematic detection and refactoring of code smells. Studies have shown that refactoring processes such as splitting long methods, modularizing large classes, reducing redundant code, and simplifying long parameter lists improve code quality. Through this study, we found that encryption code requires refactoring measures to maintain code security.
목차
1. Introduction
2. Related Research
3. Code Smell and Refactoring of SEED.c Code
4. Evaluation Metrics and Case Study for Code Smell in the SEED_mode.c
4.1 Analysis of the Metrics Values
4.2 Case Study of refactoring process at Code Smell of SEED_CBC.c
5. Conclusion
Acknowledgement
Reference
