Evaluating test quality of Python libraries for IoT applications at the network edge.

Saved in:
Bibliographic Details
Title: Evaluating test quality of Python libraries for IoT applications at the network edge.
Authors: Chen, Zhifei1 (AUTHOR) chenzhifei@njust.edu.cn, Jia, Chiheng2 (AUTHOR), Chen, Lin2 (AUTHOR)
Source: Wireless Networks (10220038). Oct2024, Vol. 30 Issue 7, p6603-6618. 16p.
Subjects: Olfactometry, Internet of things, Research personnel, Coevolution, Internet, Python programming language
Abstract: The Internet of Things (IoT) frequently exchange data through the Internet by comprising a complex network of smart devices. However, various vulnerabilities of IoT applications are observed which shall keep IoT as a technology in danger. Therefore, IoT applications should go through rigorous testing at the network edge. Python is widely used for programming IoT devices as well as developing the corresponding back-end at the network edge. Due to the difficulty of static program analysis on dynamic languages, the quality of test code in Python libraries for IoT development faces a serious threat, which in turn affects the performance of IoT applications. In order to evaluate test quality of Python libraries for IoT applications, we propose a test analysis framework named Pysta. It uses a hybrid analysis engine to support the multi-dimensional evaluation of Python test code. Based on Pysta, we then conduct an empirical study on test quality in eight Python libraries which are widely used for IoT development to investigate test code composition, test objects, test co-evolution, and test code smells. The study results reveal the major problems and challenge in the tests of Python libraries for IoT applications, including low naming consistency, single form of assertion, lacking edge tests, low test coverage in large-scale projects, delaying test co-evolution, and various code smells in tests. This work can inspire researchers and developers on how to improve test quality of IoT applications and further reduce security risks associated with IoT systems. [ABSTRACT FROM AUTHOR]
Copyright of Wireless Networks (10220038) is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Engineering Source
Full text is not displayed to guests.
FullText Links:
  – Type: pdflink
Text:
  Availability: 1
Header DbId: egs
DbLabel: Engineering Source
An: 180804959
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Evaluating test quality of Python libraries for IoT applications at the network edge.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Chen%2C+Zhifei%22">Chen, Zhifei</searchLink><relatesTo>1</relatesTo> (AUTHOR)<i> chenzhifei@njust.edu.cn</i><br /><searchLink fieldCode="AR" term="%22Jia%2C+Chiheng%22">Jia, Chiheng</searchLink><relatesTo>2</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Chen%2C+Lin%22">Chen, Lin</searchLink><relatesTo>2</relatesTo> (AUTHOR)
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22Wireless+Networks+%2810220038%29%22">Wireless Networks (10220038)</searchLink>. Oct2024, Vol. 30 Issue 7, p6603-6618. 16p.
– Name: Subject
  Label: Subjects
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Olfactometry%22">Olfactometry</searchLink><br /><searchLink fieldCode="DE" term="%22Internet+of+things%22">Internet of things</searchLink><br /><searchLink fieldCode="DE" term="%22Research+personnel%22">Research personnel</searchLink><br /><searchLink fieldCode="DE" term="%22Coevolution%22">Coevolution</searchLink><br /><searchLink fieldCode="DE" term="%22Internet%22">Internet</searchLink><br /><searchLink fieldCode="DE" term="%22Python+programming+language%22">Python programming language</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: The Internet of Things (IoT) frequently exchange data through the Internet by comprising a complex network of smart devices. However, various vulnerabilities of IoT applications are observed which shall keep IoT as a technology in danger. Therefore, IoT applications should go through rigorous testing at the network edge. Python is widely used for programming IoT devices as well as developing the corresponding back-end at the network edge. Due to the difficulty of static program analysis on dynamic languages, the quality of test code in Python libraries for IoT development faces a serious threat, which in turn affects the performance of IoT applications. In order to evaluate test quality of Python libraries for IoT applications, we propose a test analysis framework named Pysta. It uses a hybrid analysis engine to support the multi-dimensional evaluation of Python test code. Based on Pysta, we then conduct an empirical study on test quality in eight Python libraries which are widely used for IoT development to investigate test code composition, test objects, test co-evolution, and test code smells. The study results reveal the major problems and challenge in the tests of Python libraries for IoT applications, including low naming consistency, single form of assertion, lacking edge tests, low test coverage in large-scale projects, delaying test co-evolution, and various code smells in tests. This work can inspire researchers and developers on how to improve test quality of IoT applications and further reduce security risks associated with IoT systems. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of Wireless Networks (10220038) is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=180804959
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1007/s11276-023-03479-2
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 16
        StartPage: 6603
    Subjects:
      – SubjectFull: Olfactometry
        Type: general
      – SubjectFull: Internet of things
        Type: general
      – SubjectFull: Research personnel
        Type: general
      – SubjectFull: Coevolution
        Type: general
      – SubjectFull: Internet
        Type: general
      – SubjectFull: Python programming language
        Type: general
    Titles:
      – TitleFull: Evaluating test quality of Python libraries for IoT applications at the network edge.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Chen, Zhifei
      – PersonEntity:
          Name:
            NameFull: Jia, Chiheng
      – PersonEntity:
          Name:
            NameFull: Chen, Lin
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 10
              Text: Oct2024
              Type: published
              Y: 2024
          Identifiers:
            – Type: issn-print
              Value: 10220038
          Numbering:
            – Type: volume
              Value: 30
            – Type: issue
              Value: 7
          Titles:
            – TitleFull: Wireless Networks (10220038)
              Type: main
ResultId 1