An automated refactoring approach to improve IoT software quality
المؤلف | Zhang, Yang |
المؤلف | Shao, Shuai |
المؤلف | Ji, Minghan |
المؤلف | Qiu, Jing |
المؤلف | Tian, Zhihong |
المؤلف | Du, Xiaojiang |
المؤلف | Guizani, Mohsen |
تاريخ الإتاحة | 2022-12-26T06:56:25Z |
تاريخ النشر | 2020-01-01 |
اسم المنشور | Applied Sciences (Switzerland) |
المعرّف | http://dx.doi.org/10.3390/app10010413 |
الاقتباس | Zhang, Y., Shao, S., Ji, M., Qiu, J., Tian, Z., Du, X., & Guizani, M. (2020). An automated refactoring approach to improve IoT software quality. Applied Sciences, 10(1), 413. |
الملخص | Internet of Things (IoT) software should provide good support for IoT devices as IoT devices are growing in quantity and complexity. Communication between IoT devices is largely realized in a concurrent way. How to ensure the correctness of concurrent access becomes a big challenge to IoT software development. This paper proposes a general refactoring framework for fine-grained read-write locking and implements an automatic refactoring tool to help developers convert built-in monitors into fine-grained ReentrantReadWriteLocks. Several program analysis techniques, such as visitor pattern analysis, alias analysis, and side-effect analysis, are used to assist with refactoring. Our tool is tested by several real-world applications including HSQLDB, Cassandra, JGroups, Freedomotic, and MINA. A total of 1072 built-in monitors are refactored into ReentrantReadWriteLocks. The experiments revealed that our tool can help developers with refactoring for ReentrantReadWriteLocks and save their time and energy. |
راعي المشروع | This research is supported by the Guangdong Province Key Research and Development Plan (2019B010137004), the National Key research and Development Plan (2018YEB1004003), the National Natural Science Foundation of China (U1636215,61871140,61872100), in part by the Scientific Research Foundation of Hebei Educational Department under Grant ZD2019093, in part by the Fundamental Research Foundation of Hebei Province under Grant 18960106D, and Guangdong Province Universities and Colleges Pearl River Scholar Funded Scheme (2019). |
اللغة | en |
الناشر | MDPI AG |
الموضوع | Concurrency IoT software Refactoring Software quality Synchronization |
النوع | Article |
رقم العدد | 1 |
رقم المجلد | 10 |
الملفات في هذه التسجيلة
هذه التسجيلة تظهر في المجموعات التالية
-
علوم وهندسة الحاسب [2402 items ]