• شماره ركورد
    27172
  • پديد آورنده

    محمد رمضاني

  • عنوان
    شناسايي و اعمال بازسازي تغيير نام با هدف بهبود قابليت خوانايي نرم‌افزار
  • مقطع تحصيلي
    كارشناسي ارشد
  • رشته تحصيلي
    كاميپوتر نرم افزار
  • تاريخ دفاع
    1401/07/18
  • استاد راهنما
    سعيد پارسا
  • دانشكده
    واحد نور
  • چكيده
    نگهداري از نرم‌افزار بخش زيادي از هزينه‌هاي چرخه حيات نرم‌افزار را به خود اختصاص مي‌دهد. ازاين‌رو در بخش نگهداري از نرم‌افزار، درك كد منبع از زمان‌گيرترين و پرهزينه¬ترين بخش‌هاي نگه¬داري نرم‌افزار است. مهم‌ترين عاملي كه بر درك كد منبع تأثير مي‌گذارد خوانايي كد منبع است. در بحث خوانايي كد منبع يك سري بوهاي كد وجود دارند كه به آن‌ها بوهاي نام‌¬گذاري مي¬گويند. اين نوع بوها به نام‌گذاري شناسه‌هاي موجود در كد منبع مانند كلاس، متد و متغير مربوط مي¬شوند. تقريباً 70 درصد از كد منبع يك سيستم نرم‌افزاري از شناسه‌ها تشكيل‌شده است. ازاين‌رو، نام‌هايي كه به‌عنوان شناسه انتخاب مي‌شوند، براي خوانايي كد منبع نرم‌افزار و درنتيجه قابل‌فهم بودن آن‌ها از اهميت بالايي برخوردار هستند. در بحث نام‌گذاري اين شناسه‌ها يك سري قوانين و اصول وجود دارد كه بايد توسعه‌دهندگان اين قوانين و اصول را رعايت كنند و در صورت عدم رعايت اين قوانين مسئله بوي نام پيش مي‌آيد كه اين بوها تأثير مستقيمي بر خوانايي كد منبع و نگه‌داري نرم‌افزار و كيفيت نرم‌افزار مي¬گذارد؛ بنابراين هر كاري در جلوگيري از ايجاد اين بوها انجام شود در كاهش هزينه و وقت براي نگه‌داري از كد منبع نرم‌افزار مفيد خواهد بود و ازاين‌جهت مسئله مهمي در توسعه و چرخه حيات نرم‌افزار است و اهميت بالايي در صنعت نرم‌افزار دارد. مدل پيشنهادي در بحث شناسايي بو نام به مقدار صحت 42.4 درصد در متد ها و 55.5 در كلاس ها بهبود يافت و همچنين توانست ميزان خوانايي كد منبع را در چهار معيار ITID,NMI,NM و PR به ترتيب 59%، 9%، 12% و 38% در متد ها و 64%، 13%، 2% و 5% در كلاس ها افزايش دهد.
  • تاريخ ورود اطلاعات
    1401/07/27
  • عنوان به انگليسي
    Identifying and applying renaming to improve the readability of the software
  • تاريخ بهره برداري
    10/10/2023 12:00:00 AM
  • دانشجوي وارد كننده اطلاعات

    محمد رمضاني

  • چكيده به لاتين
    Software maintenance accounts for a large part of software life cycle costs. Therefore, in software maintenance, understanding the source code is one of the most time-consuming and costly parts of software maintenance. The most important factor that affects the understanding of the source code is the readability of the source code. In the discussion of source code readability, there are a series of code smells, which are called naming smells. These types of smells are related to the naming of the identifiers in the source code such as class, method and variable. Approximately 70% of the source code of a software system consists of identifiers. Therefore, the names that are chosen as identifiers are of great importance for the readability of the software source code and, as a result, their comprehensibility. In the discussion of the naming of these identifiers, there are a series of rules and principles that the developers must follow, and if these rules are not followed, the problem of the smell of the name arises, which has a direct effect on the readability of the source code, the maintenance of the software, and the quality of the software. put Therefore, anything done to prevent the creation of these smells will be useful in reducing the cost and time for maintaining the software source code, and for this reason, it is an important issue in the development and life cycle of the software and is of great importance in the software industry. The proposed model in the discussion of identifying the smell of name with the amount of accuracy 42.4% in methods And the amount of accuracy 55.55% in classes achieved and was also able to increase the readability of the source code methods name in the four criteria ITID, NMI, NM and PR respectively 59%,12%,9%,38% and class names 64%,13%,2%,5%.
  • كليدواژه هاي فارسي
    بوي كد , بوي نام‌گذاري , كد تميز , خوانايي كد , بازسازي كد , سنجه‌هاي نرم‌افزاري
  • كليدواژه هاي لاتين
    Software metrics , Code refactor , Code readability , code smell , name smell , Clean code
  • Author
    mohammad ramezani
  • SuperVisor
    Saeed Parsa