
تعداد نشریات | 34 |
تعداد شمارهها | 1,320 |
تعداد مقالات | 9,476 |
تعداد مشاهده مقاله | 9,270,860 |
تعداد دریافت فایل اصل مقاله | 5,677,495 |
شناسایی کدهای مشکوک با استفاده از روشهای انتخاب ویژگی مجموعهای و فنون پوششی مبتنی بر شبکه عصبی. | ||
علوم و فناوریهای پدافند نوین | ||
دوره 15، شماره 3 - شماره پیاپی 57، آبان 1403، صفحه 189-207 اصل مقاله (1.24 M) | ||
نوع مقاله: مقاله پژوهشی | ||
نویسندگان | ||
علی طلوعی فر1؛ علی کریمی* 2؛ فرهاد کریمی3 | ||
1دانشجوی کارشناسی ارشد،دانشگاه جامع امام حسین (ع)-تهران-ایران | ||
2استادیار،دانشگاه جامع امام حسین (ع)- ایران- تهران | ||
3پژوهشگر، دانشگاه جامع امام حسین (ع)، تهران، ایران | ||
تاریخ دریافت: 20 تیر 1403، تاریخ بازنگری: 30 شهریور 1403، تاریخ پذیرش: 20 مهر 1403 | ||
چکیده | ||
بازآرایی کد نرمافزار یکی از روشهای مؤثر در افزایش کیفیت نرمافزار است که رابطه مستقیمی با کد مشکوک نرمافزار دارد. کد مشکوک یک نشانه سطحی است که احتمالاً نشاندهنده یک مشکل عمیقتر در برنامه است. کد مشکوک، نگهداری، توسعه و تکامل برنامه را با مشکل مواجه میکند. پدافند نوین مجموعهای از فناوریها و سیستمهایی است که برای مقابله با تهدیدات امنیتی مدرن و پیشرفته طراحی شدهاند و به مجموعه اقداماتی اشاره دارد که برای افزایش امنیت و کاهش آسیبپذیری نرمافزار در مقابل تهدیدات، انجام میشود. این اقدامات شامل طراحی امن، استفاده از الگوهای معماری مناسب و پرهیز از پیچیدگیهای غیرضروری در کد نرمافزار است. در این تحقیق، روشی بر مبنای شبکه عصبی با یک روش انتخاب ویژگی جدید شامل استفاده از روشهای انتخاب ویژگی مجموعهای و فنون پوششی جهت پیشبینی کدهای مشکوک نرمافزار ارائه شده است. کدهای مشکوک مورداشاره در نرمافزار شامل متد طولانی، لیست پارامترهای طولانی، کلاس بزرگ، لیست طولانی از کلاسهای پایه و زنجیره دامنه طولانی میشوند. همچنین الگوریتم ژنتیک و بهینهساز گرگ خاکستری، فنون پوششی موردنظر و بهره اطلاعاتی، امتیاز بهره اطلاعاتی و کای-مربع، سه الگوریتم مورد استفاده در بخش انتخاب ویژگی مجموعهای میباشند. هدف نهایی و اصلی این تحقیق، بهبود کیفیت نرمافزار با پیشبینی زودهنگام کدهای مشکوک با استفاده از یک روش انتخاب ویژگی مطلوب در کد منبع برنامه با زبان پایتون است که به کمک روش پیشنهادی تحقق پیدا کرده و بهبود عملکرد 1 تا 7 درصد را حاصل کرده است. | ||
کلیدواژهها | ||
مهندسی نرمافزار؛ بهبود کیفیت نرمافزار؛ کد مشکوک؛ طبقهبندی؛ شبکه عصبی؛ انتخاب ویژگی | ||
عنوان مقاله [English] | ||
Code Smells detection using ensemble feature selection methods and wrapper techniques based on neural network. | ||
نویسندگان [English] | ||
Ali tolui far1؛ Ali Karimi2؛ farhad karimi3 | ||
1Master's student, Imam Hossein University -Tehran-Iran | ||
2Assistant Professor, Imam Hossein University, Tehran, Iran | ||
3Researcher, Imam Hossein University, Tehran, Iran | ||
چکیده [English] | ||
Software code refactoring is one of the effective methods to enhance software quality, which has a direct relationship with the code smells of the software. Code smell is a superficial symptom that may indicate a deeper problem in the application. Code smell hinders the path of maintenance, development and evolution of the program. Advanced defense is a set of technologies and systems designed to counter modern and advanced security threats. It encompasses a set of measures such as secure design, the use of appropriate architectural patterns, and avoiding unnecessary complexities in software code. Most studies have utilized open-source software in the Java programming language, whereas newer and more modern software projects tend to lean towards Python. Therefore, in this paper, a neural network-based approach with a new feature selection method including the use of ensemble feature selection methods and wrapper techniques, has been presented to predict software code smells in the Python programming language. The code smells mentioned in the software include long method, long parameter list, large class, long base class list and long scope chaining. Also, the genetic algorithm and the gray wolf optimizer are the desired wrapper techniques, and information gain, information gain ratio and chi-square are the three algorithms used in the ensemble feature selection. The final and main goal of this paper, which is to improve software quality by early prediction of code smells using a desirable feature selection method in the source code of the program with Python language, has been realized with the help of the proposed method and performance improvement of 1 to 7 percent has been obtained. | ||
کلیدواژهها [English] | ||
Software engineering, Software quality improvement, Code smell, Classification, Neural network, Feature selection | ||
مراجع | ||
| ||
آمار تعداد مشاهده مقاله: 5 تعداد دریافت فایل اصل مقاله: 4 |