title: ÐÐ²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð°ÑÐ¸Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ ÑÐµÑÑÐ¾Ð²Ð¾Ð³Ð¾ Ð½Ð°Ð±Ð¾ÑÐ° Ð½Ð° Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ðµ Android Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑÑÐ°ÑÐ¸ÑÐµÑÐºÐ¾Ð³Ð¾ Ð°Ð½Ð°Ð»Ð¸Ð·Ð° ÐºÐ¾Ð´Ð°
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Automating test suite creation on Android using static analysis code
Creators: name: ÐÑÑÐºÐ¸Ð½Ð°, ÐÐ»ÑÐ½Ð°
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2024
Subjects: ÑÑÐ°ÑÐ¸ÑÐµÑÐºÐ¸Ð¹ Ð°Ð½Ð°Ð»Ð¸Ð·
Java
PMD
static analysis

description: Ð¦ÐµÐ»ÑÑ ÑÐ°Ð±Ð¾ÑÑ ÑÐ²Ð»ÑÐµÑÑÑ Ð¾Ð¿ÑÐ¸Ð¼Ð¸Ð·Ð°ÑÐ¸Ñ Ð¿ÑÐ¾ÑÐµÑÑÐ° ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ ÑÐµÑÑÐ¾Ð²Ð¾Ð³Ð¾ Ð½Ð°Ð±Ð¾ÑÐ° Ð´Ð»Ñ Ð¼Ð¾Ð±Ð¸Ð»ÑÐ½ÑÑ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ð¹ Ð½Ð° Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ðµ Android Ð¿ÑÑÐµÐ¼ Ð²Ð½ÐµÐ´ÑÐµÐ½Ð¸Ñ Ð¼Ðµ- ÑÐ¾Ð´Ð¾Ð² ÑÑÐ°ÑÐ¸ÑÐµÑÐºÐ¾Ð³Ð¾ Ð°Ð½Ð°Ð»Ð¸Ð·Ð° ÐºÐ¾Ð´Ð°, Ð¸Ð½ÑÐµÐ³ÑÐ°ÑÐ¸Ñ Ð»Ð¸Ð½ÑÐµÑÐ° Ð² Ð¿ÑÐ¾ÐµÐºÑ Ð´Ð»Ñ ÑÐ¿ÑÐ¾ÑÐµÐ½Ð¸Ñ Ð¿ÑÐ¾ÑÐµÑÑÐ° ÑÐµÐ²ÑÑ Ð² ÑÐ¾Ð´Ðµ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ¸ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð¸ÑÐ¾Ð²Ð°Ð½Ð½ÑÑ ÑÐµÑÑÐ¾Ð². Ð ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐµ ÑÐ°Ð±Ð¾ÑÑ Ð±ÑÐ»Ð¾ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð¾ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ðµ ÑÐµÑÐµÐ½Ð¸Ðµ, Ð¾ÑÐ½Ð¾Ð²Ð°Ð½- Ð½Ð¾Ðµ Ð½Ð° Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ð¸ Ð»Ð¸Ð½ÑÐµÑÐ° PMD Ð´Ð»Ñ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð°ÑÐ¸Ð¸ Ð¿ÑÐ¾ÑÐµÑÑÐ° ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ ÑÐµ- ÑÑÐ¾Ð²Ð¾Ð³Ð¾ Ð½Ð°Ð±Ð¾ÑÐ°. ÐÑÐ»Ð¸ Ð¾Ð¿ÑÐµÐ´ÐµÐ»ÐµÐ½Ñ Ð¸ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ñ Ð¿ÑÐ°Ð²Ð¸Ð»Ð° Ð°Ð½Ð°Ð»Ð¸Ð·Ð°, ÑÐ¾Ð¾ÑÐ²ÐµÑ- ÑÑÐ²ÑÑÑÐ¸Ðµ ÑÐ¿ÐµÑÐ¸ÑÐ¸ÐºÐµ Ð¿ÑÐ¾ÐµÐºÑÐ°, Ð¿Ð¾ÐºÑÑÐ²Ð°ÑÑÐ¸Ðµ Ð½Ð°Ð¸Ð±Ð¾Ð»ÐµÐµ ÑÐ°ÑÐ¿ÑÐ¾ÑÑÑÐ°Ð½ÐµÐ½Ð½ÑÐµ Ð¿ÑÐ¾- Ð±Ð»ÐµÐ¼Ñ, Ð²ÑÑÑÐµÑÐ°ÑÑÐ¸ÐµÑÑ Ð² ÐºÐ¾Ð´Ðµ. ÐÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð° Ð¸Ð½ÑÐµÐ³ÑÐ°ÑÐ¸Ñ ÑÐµÑÐµÐ½Ð¸Ñ Ð² ÑÐ°Ð±Ð¾ÑÐ¸Ð¹ Ð¿ÑÐ¾- ÑÐµÑÑ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ¸ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð¸ÑÐ¾Ð²Ð°Ð½Ð½ÑÑ ÑÐµÑÑÐ¾Ð² Ð¸ Ð²ÑÑÐ²Ð»ÐµÐ½ Ð¿Ð¾Ð»Ð¾Ð¶Ð¸ÑÐµÐ»ÑÐ½ÑÐ¹ ÑÐ°ÑÐ°Ðº- ÑÐµÑ Ð²Ð»Ð¸ÑÐ½Ð¸Ñ ÑÐµÑÐµÐ½Ð¸Ñ Ð½Ð° Ð²ÑÐµÐ¼Ñ, Ð·Ð°ÑÑÐ°ÑÐ¸Ð²Ð°ÐµÐ¼Ð¾Ðµ Ð½Ð° Ð¿ÑÐ¾Ð²ÐµÑÐºÑ ÐºÐ¾Ð´Ð° Ð¸ ÑÐ¾ÐºÑÐ°ÑÐµÐ½Ð¸Ðµ ÐºÐ¾Ð»Ð¸ÑÐµÑÑÐ²Ð° Ð¿ÑÐ¾Ð±Ð»ÐµÐ¼Ð½ÑÑ ÑÑÐ°ÑÑÐºÐ¾Ð² ÐºÐ¾Ð´Ð°. ÐÐ¾Ð»ÑÑÐµÐ½Ð½ÑÐµ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÑ Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÑÑ Ð¾Ð¿ÑÐ¸Ð¼Ð¸Ð·Ð¸ÑÐ¾Ð²Ð°ÑÑ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ðµ ÑÐµÑÑÐ¾Ð²Ð¾Ð³Ð¾ Ð½Ð°Ð±Ð¾ÑÐ°, ÑÑÐºÐ¾ÑÑÑ Ð¿ÑÐ¾ÑÐµÑÑ Ð¸ ÑÐ»ÑÑÑÐ°Ñ ÐºÐ°ÑÐµÑÑÐ²Ð¾ ÐºÐ¾Ð´Ð°. Ð ÐµÐ·ÑÐ»ÑÑÐ°ÑÑ Ð¼Ð¾Ð³ÑÑ Ð±ÑÑÑ Ð¸Ñ- Ð¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ñ Ð² ÐºÐ°ÑÐµÑÑÐ²Ðµ Ð¾ÑÐ½Ð¾Ð²Ñ Ð´Ð»Ñ Ð´Ð°Ð»ÑÐ½ÐµÐ¹ÑÐµÐ³Ð¾ ÑÐ°ÑÑÐ¸ÑÐµÐ½Ð¸Ñ Ð½Ð°Ð±Ð¾ÑÐ° Ð¿ÑÐ°Ð²Ð¸Ð» Ñ ÑÑÐµÑÐ¾Ð¼ ÑÐ¿ÐµÑÐ¸ÑÐ¸ÐºÐ¸ ÑÐ°Ð·Ð»Ð¸ÑÐ½ÑÑ ÑÐ°ÑÑÐµÐ¹ Ð¿ÑÐ¾Ð´ÑÐºÑÐ°, Ð° ÑÐ°ÐºÐ¶Ðµ Ð¼Ð¾Ð³ÑÑ ÑÑÐ°ÑÑ Ð¾ÑÐ½Ð¾Ð²Ð¾Ð¹ Ð´Ð»Ñ Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¸Ñ ÑÑÐ¾Ð¶ÐµÐ³Ð¾ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ° Ð² Ð¿ÑÐ¾ÐµÐºÑ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð¸ÑÐ¾Ð²Ð°Ð½Ð½ÑÑ ÑÐµÑÑÐ¾Ð² Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ñ iOS.
description: The purpose of the work is to optimize the process of creating a test suite for mobile applications on the Android platform by introducing static code analysis methods, integrating linter into the project to simplify the review process during the development of automated tests. As a result of the work, a software solution was developed based on the use of the PMD linter to automate the process of creating a test suite. The analysis rules corresponding to the specifics of the project were defined and implemented, covering the most common problems encountered in the code. The solution was integrated into the workflow of developing automated tests and the positive nature of the solu- tions impact on the time spent checking the code and reducing the number of prob- lematic code sections was revealed. The results obtained make it possible to optimize the creation of a test suite, speeding up the process and improving the quality of the code. The results can be used as a basis for further expanding the set of rules, considering the specifics of various parts of the product, and can also become the basis for adding a similar tool to the project of automated tests of the iOS platform.