>
Fa   |   Ar   |   En
   بازسازی خودکار کد منبع نرم‌افزار برای رفع ضدالگوهای زبانشناختی  
   
نویسنده شهیدی نشرودکلی محمدامین ,آشتیانی مهرداد
منبع هشتمين كنفرانس بين المللي وب پژوهي - 1402 - دوره : 8 - هشتمین کنفرانس بین المللی وب پژوهی - کد همایش: 02220-95144 - صفحه:0 -0
چکیده    امروزه با توجه به نقش مهمی که نرم‌افزار در زندگی ما دارد، بدون استفاده از نرم‌افزار نمی‌توانیم بسیاری از خدماتی که به آن‌ها عادت کرده‌ایم را دریافت کنیم. کیفیت این خدمات به کیفیت نرم‌افزاری که آن‌ها را پیاده‌سازی‌ می‌کند وابسته است. معیارهای فراوانی برای سنجش کیفیت یک نرم‌افزار وجود دارد که هرکدام از جهتی به سنجش کیفیت نرم‌افزار می‌پردازد. وجود یا عدم وجود ضدالگوها می‌تواند معیاری برای سنجش کیفیت نرم‌افزار باشد. برخی ضدالگوهای شناخته‌شده با توجه به تاثیرشان بر روی کارایی، اطمینان‌پذیری و سایر معیارهای مرتبط مطالعه می‌شوند. یکی از این معیارها خوانایی کد منبع نرم‌افزار است. سازندگان یک برنامه لزوماً تنها کسانی نیستند که به توسعه آن می‌پردازند، بدین جهت رعایت نکاتی که فهمیدن چگونگی کارکرد برنامه را برای توسعه‌دهندگان احتمالی ساده‌تر می‌کند ضروری است. این مقاله، به بررسی ضدالگوهای زبانشناختی مرتبط با نام‌گذاری توابع و ارائه‌ی راه‌حل برای رفع خودکار آن‌ها می‌پردازد. به ضدالگوهایی که مربوط به نام‌گذاری اعضای کد منبع نرم‌افزار هستند ضدالگوهای زبانشناختی گفته می‌شود. در این مقاله روشی برای تشخیص و رفع خودکار این ضدالگوها به کمک درخت نحو انتزاعی ارائه می‌شود. سپس روش ارائه‌شده بر روی کد منبع چند نرم‌افزار متن‌باز آزمایش می‌شود.
کلیدواژه ضدالگو، ضدالگوی زبانشناختی، بازسازی کد، بازسازی خودکار کد، کد تمیز
آدرس , iran, , iran
 
   Automatic Refactoring of Software Source Code to Eliminate Linguistic Antipatterns  
   
Authors
Abstract    Nowadays, due to the important role of software systems in our lives, without the use of software, we will not be able to get most of the services we are used to. The quality of these services depends on the quality of the software that implements them. There are many criteria for measuring the quality of a software. The presence or absence of antipatterns can be a measure of software quality. Some well-known Antipatterns are studied according to their effect on performance, reliability and other related criteria. One of these criteria is the readability of the software source code. Developers of a program are not necessarily the only ones developing it in the future, so it is important to follow tips that make it easier for potential developers to understand how the program works. This article examines the linguistic antipatterns associated with naming functions and provides solutions for their automatic resolution. Antipatterns that are related to the naming of members of the software source code are called linguistic antipatterns. This paper presents a method for automatic detection and elimination of these antipatterns using abstract syntax tree. The proposed method is then tested on the source code of several open source softwares.
Keywords Antipattern ,Linguistic Antipattern ,Code Refactoring ,Automated Code Refactoring ,Clean Code.
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved