>
Fa   |   Ar   |   En
   بررسی و ارزیابی انواع کدهای مشکوک در فرآیند بازآرایی کد برنامه نرم‌افزاری  
   
نویسنده کریمی علی ,طلوعی فر علی ,کریمی فرهاد
منبع پدافند غيرعامل - 1404 - دوره : 16 - شماره : 1 - صفحه:11 -32
چکیده    کدهای مشکوک مشخصه های رایج برنامه‌نویسی هستند که ممکن است نشان‌دهنده وجود مشکل در برنامه باشند. شناسایی و حذف کدهای مشکوک یکی از عوامل کلیدی در توسعه نرم‌افزار است؛ زیرا می‌تواند کیفیت کد برنامه را بهبود بخشد و نگهداری و گسترش آن را در طول زمان تسهیل نماید. پدافند غیرعامل در نرم‌افزار به مجموعه اقداماتی اشاره دارد که برای افزایش امنیت و کاهش آسیب‌پذیری نرم‌افزار در مقابل تهدیدات، انجام می‌شود. این اقدامات شامل طراحی امن، استفاده از الگوهای معماری مناسب و پرهیز از پیچیدگی‌های غیرضروری در کد نرم‌افزار است. بدیهی است که یکی از روش‌های موثر در افزایش کیفیت نرم‌افزار، بازآرایی کد است که رابطه مستقیمی با شناسایی و ترمیم کدهای مشکوک دارد. تاکنون تحقیقات زیادی در حوزه شناسایی و برطرف کردن کدهای مشکوک سامانه‌های نرم‌افزاری انجام گرفته است. لیکن، از میان آنها چهار نوع کد مشکوک شامل؛ متد طولانی، ویژگی حسادت، کلاس بزرگ و کلاس داده بیشترین توجه محققین را به خود جلب کرده است. در این مقاله، 58 کد مشکوک که در کد منبع نرم‌افزار یافت می‌شوند، بررسی شده و در هشت دسته‌بندی در قالب یک آرایه‌شناسی جدید ارائه می‌شوند. این مقاله به توسعه‌دهندگان و تیم‌های توسعه نرم‌افزار کمک می‌کند تا با شناسایی و رفع کدهای مشکوک، نرم‌افزارهای باکیفیت بالاتر و بهینه‌تر را ارایه نمایند.
کلیدواژه کد مشکوک، بهبود کیفیت نرم‌افزار، مهندسی نرم‌افزار، توسعه نرم‌افزار، کد نرم‌افزار
آدرس دانشگاه جامع امام حسین (ع), گروه مهندسی کامپیوتر, ایران, دانشگاه جامع امام حسین (ع), ایران, دانشگاه جامع امام حسین (ع), گروه مهندسی کامپیوتر, ایران
پست الکترونیکی kpfkarimi@ihu.ac.ir
 
   a survey and evaluating types of code amells in software pprogram code rrefactoring process  
   
Authors karimi ali ,tolui far ali ,karimi farhad
Abstract    code smells are common characteristics in programming that may indicate the presence of an issue within the program. detecting and identifying code smells is one of the key factors in software development, as it can improve quality of the program and make it easier to maintain and extend the code over time. passive defense in software refers to a set of measures taken to increase the security and reduce the vulnerability of software against threats. these measures include secure design, the use of appropriate architectural  patterns, and avoiding unnecessary complexity in the software code. it is obvious that one of the most  effective ways to increase the quality of the software is to reconstructing or refactoring the code, which has a direct relationship with identification and repair of code smells. so far, a lot of research has been done in the field of identifying and removing code smells of software systems. however, among them, four types of code smell include; long method, feature envy, large class and data class have attracted the most attention of researchers. in this article, by reviewing 58 code smells found in the software source code, they are  classified into eight categories: bloaters, abusers, change preventers, dispensables, couplers, obfuscators, data dealers and other code smells that are not placed in the mentioned categories, and while examining each one, they are presented as a new taxonomy. this article helps developers and software   development teams to produce high quality and more efficient softwares by identifying and resolving code smells.
Keywords code smell ,improving software quality ,software engineering ,software development ,software code
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved