Autors: AVDAGIC,Z., BOSKOVIC,D., DELIC,A.
Title: Code Evaluation Using Fuzzy Logic
Keywords: Fuzzy Logic, Reasoning Systems, Refactoring, Bad Smells

Abstract: This paper presents application of a fuzzy logic based system to automatically evaluate the maintainability of code. Code evaluation is accomplished by rating its quality provided with bad smells in code as inputs. Straightforward bad smells with existing software metrics tools are selected as inputs: duplicated code, long methods, large classes having a high cyclomatic complexity, or a large number of parameters and temporary fields. Removing these bad smells can result in significant code improvements concerning readability and maintainability. However, the precise definition of attributes like small, long, large or high is not clear, and their identification is rather subjective. Fuzzy logic values are suitable for capturing partial correspondence to attributes and fuzzy rules model have been used to describe the relation between bad smells and code quality. Model supporting the experimental evaluation of the fuzzy based code evaluation is implemented in Java.

References

    Issue

    9th WSEAS International Conference on FUZZY SYSTEMS (FS’08), pp. 20-25, 2008, Bulgaria,

    Вид: публикация в национален форум