Software Crucial Functions Ranking and Detection in Dynamic Execution Sequence Patterns

Bing Zhang, Chun Shan, Munawar Hussain, Jiadong Ren, Guoyan Huang

Research output: Contribution to journalArticlepeer-review

2 Citations (Scopus)
Plum Print visual indicator of research metrics
  • Citations
    • Citation Indexes: 2
  • Captures
    • Readers: 2
see details

Abstract

Because of the sequence and number of calls of functions, software network cannot reflect the real execution of software. Thus, to detect crucial functions (DCF) based on software network is controversial. To address this issue, from the viewpoint of software dynamic execution, a novel approach to DCF is proposed in this paper. It firstly models, the dynamic execution process as an execution sequence by taking functions as nodes and tracing the stack changes occurring. Second, an algorithm for deleting repetitive patterns is designed to simplify execution sequence and construct software sequence pattern sets. Third, the crucial function detection algorithm is presented to identify the distribution law of the numbers of patterns at different levels and rank those functions so as to generate a decision-function-ranking-list (DFRL) by occurrence times. Finally, top-k discriminative functions in DFRL are chosen as crucial functions, and similarity the index of decision function sets is set up. Comparing with the results from Degree Centrality Ranking and Betweenness Centrality Ranking approaches, our approach can increase the node coverage to 80%, which is proven to be an effective and accurate one by combining advantages of the two classic algorithms in the experiments of different test cases on four open source software. The monitoring and protection on crucial functions can help increase the efficiency of software testing, strength software reliability and reduce software costs.

Original languageEnglish
Pages (from-to)695-719
Number of pages25
JournalInternational Journal of Software Engineering and Knowledge Engineering
Volume30
Issue number5
DOIs
Publication statusPublished - 1 May 2020

Keywords

  • Sequence pattern
  • crucial functions
  • decision function
  • ranking

Fingerprint

Dive into the research topics of 'Software Crucial Functions Ranking and Detection in Dynamic Execution Sequence Patterns'. Together they form a unique fingerprint.

Cite this

Zhang, B., Shan, C., Hussain, M., Ren, J., & Huang, G. (2020). Software Crucial Functions Ranking and Detection in Dynamic Execution Sequence Patterns. International Journal of Software Engineering and Knowledge Engineering, 30(5), 695-719. https://doi.org/10.1142/S0218194020500254