RefactoringScript: A script and its processor for composite refactoring

Linchao Yang, Tomoyuki Kamiya, Kazunori Sakamoto, Hironori Washizaki, Yoshiaki Fukazawa

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    1 Citation (Scopus)

    Abstract

    Refactoring is widely recognized as a method to improve the internal qualities of source code. However, manual refactoring is time-consuming and error-prone. Consequently, many tools to support automated refactoring have been suggested, but most support only unit and simple refactoring, making it difficult to perform composite refactoring (e.g., introducing a design pattern) where a refactoring set is applied at one position or the same refactoring operation is applied at multiple positions. In this paper, we propose a novel script language and its processor to describe how and where to refactor by a model expressing source code∗<sup>1</sup>. Evaluations indicate that our language and processor allow refactoring steps to be described as scripts, which can be easily replayed and reused for multiple projects.

    Original languageEnglish
    Title of host publicationProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
    PublisherKnowledge Systems Institute Graduate School
    Pages711-716
    Number of pages6
    Volume2014-January
    EditionJanuary
    Publication statusPublished - 2014
    Event26th International Conference on Software Engineering and Knowledge Engineering, SEKE 2014 - Vancouver, Canada
    Duration: 2014 Jul 12014 Jul 3

    Other

    Other26th International Conference on Software Engineering and Knowledge Engineering, SEKE 2014
    CountryCanada
    CityVancouver
    Period14/7/114/7/3

    Fingerprint

    Composite materials

    Keywords

    • Code manipulation
    • Refactoring

    ASJC Scopus subject areas

    • Software

    Cite this

    Yang, L., Kamiya, T., Sakamoto, K., Washizaki, H., & Fukazawa, Y. (2014). RefactoringScript: A script and its processor for composite refactoring. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (January ed., Vol. 2014-January, pp. 711-716). Knowledge Systems Institute Graduate School.

    RefactoringScript : A script and its processor for composite refactoring. / Yang, Linchao; Kamiya, Tomoyuki; Sakamoto, Kazunori; Washizaki, Hironori; Fukazawa, Yoshiaki.

    Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2014-January January. ed. Knowledge Systems Institute Graduate School, 2014. p. 711-716.

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Yang, L, Kamiya, T, Sakamoto, K, Washizaki, H & Fukazawa, Y 2014, RefactoringScript: A script and its processor for composite refactoring. in Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. January edn, vol. 2014-January, Knowledge Systems Institute Graduate School, pp. 711-716, 26th International Conference on Software Engineering and Knowledge Engineering, SEKE 2014, Vancouver, Canada, 14/7/1.
    Yang L, Kamiya T, Sakamoto K, Washizaki H, Fukazawa Y. RefactoringScript: A script and its processor for composite refactoring. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. January ed. Vol. 2014-January. Knowledge Systems Institute Graduate School. 2014. p. 711-716
    Yang, Linchao ; Kamiya, Tomoyuki ; Sakamoto, Kazunori ; Washizaki, Hironori ; Fukazawa, Yoshiaki. / RefactoringScript : A script and its processor for composite refactoring. Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2014-January January. ed. Knowledge Systems Institute Graduate School, 2014. pp. 711-716
    @inproceedings{da352cedf4d44357ba3c0d4f8ce3c161,
    title = "RefactoringScript: A script and its processor for composite refactoring",
    abstract = "Refactoring is widely recognized as a method to improve the internal qualities of source code. However, manual refactoring is time-consuming and error-prone. Consequently, many tools to support automated refactoring have been suggested, but most support only unit and simple refactoring, making it difficult to perform composite refactoring (e.g., introducing a design pattern) where a refactoring set is applied at one position or the same refactoring operation is applied at multiple positions. In this paper, we propose a novel script language and its processor to describe how and where to refactor by a model expressing source code∗1. Evaluations indicate that our language and processor allow refactoring steps to be described as scripts, which can be easily replayed and reused for multiple projects.",
    keywords = "Code manipulation, Refactoring",
    author = "Linchao Yang and Tomoyuki Kamiya and Kazunori Sakamoto and Hironori Washizaki and Yoshiaki Fukazawa",
    year = "2014",
    language = "English",
    volume = "2014-January",
    pages = "711--716",
    booktitle = "Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE",
    publisher = "Knowledge Systems Institute Graduate School",
    edition = "January",

    }

    TY - GEN

    T1 - RefactoringScript

    T2 - A script and its processor for composite refactoring

    AU - Yang, Linchao

    AU - Kamiya, Tomoyuki

    AU - Sakamoto, Kazunori

    AU - Washizaki, Hironori

    AU - Fukazawa, Yoshiaki

    PY - 2014

    Y1 - 2014

    N2 - Refactoring is widely recognized as a method to improve the internal qualities of source code. However, manual refactoring is time-consuming and error-prone. Consequently, many tools to support automated refactoring have been suggested, but most support only unit and simple refactoring, making it difficult to perform composite refactoring (e.g., introducing a design pattern) where a refactoring set is applied at one position or the same refactoring operation is applied at multiple positions. In this paper, we propose a novel script language and its processor to describe how and where to refactor by a model expressing source code∗1. Evaluations indicate that our language and processor allow refactoring steps to be described as scripts, which can be easily replayed and reused for multiple projects.

    AB - Refactoring is widely recognized as a method to improve the internal qualities of source code. However, manual refactoring is time-consuming and error-prone. Consequently, many tools to support automated refactoring have been suggested, but most support only unit and simple refactoring, making it difficult to perform composite refactoring (e.g., introducing a design pattern) where a refactoring set is applied at one position or the same refactoring operation is applied at multiple positions. In this paper, we propose a novel script language and its processor to describe how and where to refactor by a model expressing source code∗1. Evaluations indicate that our language and processor allow refactoring steps to be described as scripts, which can be easily replayed and reused for multiple projects.

    KW - Code manipulation

    KW - Refactoring

    UR - http://www.scopus.com/inward/record.url?scp=84938325223&partnerID=8YFLogxK

    UR - http://www.scopus.com/inward/citedby.url?scp=84938325223&partnerID=8YFLogxK

    M3 - Conference contribution

    AN - SCOPUS:84938325223

    VL - 2014-January

    SP - 711

    EP - 716

    BT - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE

    PB - Knowledge Systems Institute Graduate School

    ER -