TraceSim: An Alignment Method for Computing Stack Trace Similarity

Publikation: Beiträge in ZeitschriftenZeitschriftenaufsätzeForschungbegutachtet

Standard

TraceSim : An Alignment Method for Computing Stack Trace Similarity. / Rodrigues, Irving Muller; Khvorov, Aleksandr; Aloise, Daniel et al.

in: Empirical Software Engineering, Jahrgang 27, Nr. 2, 53, 01.03.2022.

Publikation: Beiträge in ZeitschriftenZeitschriftenaufsätzeForschungbegutachtet

Harvard

Rodrigues, IM, Khvorov, A, Aloise, D, Vasiliev, R, Koznov, D, Fernandes, ER, Chernishev, G, Luciv, D & Povarov, N 2022, 'TraceSim: An Alignment Method for Computing Stack Trace Similarity', Empirical Software Engineering, Jg. 27, Nr. 2, 53. https://doi.org/10.1007/s10664-021-10070-w

APA

Rodrigues, I. M., Khvorov, A., Aloise, D., Vasiliev, R., Koznov, D., Fernandes, E. R., Chernishev, G., Luciv, D., & Povarov, N. (2022). TraceSim: An Alignment Method for Computing Stack Trace Similarity. Empirical Software Engineering, 27(2), [53]. https://doi.org/10.1007/s10664-021-10070-w

Vancouver

Rodrigues IM, Khvorov A, Aloise D, Vasiliev R, Koznov D, Fernandes ER et al. TraceSim: An Alignment Method for Computing Stack Trace Similarity. Empirical Software Engineering. 2022 Mär 1;27(2):53. doi: 10.1007/s10664-021-10070-w

Bibtex

@article{706e6936dc8f4948b53e7e71e3ee6ca0,
title = "TraceSim: An Alignment Method for Computing Stack Trace Similarity",
abstract = "Software systems can automatically submit crash reports to a repository for investigation when program failures occur. A significant portion of these crash reports are duplicate, i.e., they are caused by the same software issue. Therefore, if the volume of submitted reports is very large, automatic grouping of duplicate crash reports can significantly ease and speed up analysis of software failures. This task is known as crash report deduplication. Given a huge volume of incoming reports, increasing quality of deduplication is an important task. The majority of studies address it via information retrieval or sequence matching methods based on the similarity of stack traces from two crash reports. While information retrieval methods disregard the position of a frame in a stack trace, the existing works based on sequence matching algorithms do not fully consider subroutine global frequency and unmatched frames. Besides, due to data distribution differences among software projects, parameters that are learned using machine learning algorithms are necessary to provide more flexibility to the methods. In this paper, we propose TraceSim – an approach for crash report deduplication which combines TF-IDF, optimum global alignment, and machine learning (ML) in a novel way. Moreover, we propose a new evaluation methodology for this task that is more comprehensive and robust than previously used evaluation approaches. TraceSim significantly outperforms seven baselines and state-of-the-art methods in the majority of the scenarios. It is the only approach that achieves competitive results on all datasets regarding all considered metrics. Moreover, we conduct an extensive ablation study that demonstrates the importance of each TraceSim{\textquoteright}s element to its final performance and robustness. Finally, we provide the source code for all considered methods and evaluation methodology as well as the created datasets.",
keywords = "Automatic crash reporting, Crash report deduplication, Duplicate crash report, Duplicate crash report detection, Stack trace, Business informatics",
author = "Rodrigues, {Irving Muller} and Aleksandr Khvorov and Daniel Aloise and Roman Vasiliev and Dmitrij Koznov and Fernandes, {Eraldo Rezende} and George Chernishev and Dmitry Luciv and Nikita Povarov",
note = "We would like to gratefully acknowledge the Natural Sciences and Engineering Research Council of Canada (NSERC), Ericsson, Ciena, and EffciOS for funding this project. Moreover, this research was enabled in part by the support provided by WestGrid (https://www.westgrid.ca/) and Compute Canada (www.computecanada.ca).",
year = "2022",
month = mar,
day = "1",
doi = "10.1007/s10664-021-10070-w",
language = "English",
volume = "27",
journal = "Empirical Software Engineering",
issn = "1382-3256",
publisher = "Springer Nature B.V.",
number = "2",

}

RIS

TY - JOUR

T1 - TraceSim

T2 - An Alignment Method for Computing Stack Trace Similarity

AU - Rodrigues, Irving Muller

AU - Khvorov, Aleksandr

AU - Aloise, Daniel

AU - Vasiliev, Roman

AU - Koznov, Dmitrij

AU - Fernandes, Eraldo Rezende

AU - Chernishev, George

AU - Luciv, Dmitry

AU - Povarov, Nikita

N1 - We would like to gratefully acknowledge the Natural Sciences and Engineering Research Council of Canada (NSERC), Ericsson, Ciena, and EffciOS for funding this project. Moreover, this research was enabled in part by the support provided by WestGrid (https://www.westgrid.ca/) and Compute Canada (www.computecanada.ca).

PY - 2022/3/1

Y1 - 2022/3/1

N2 - Software systems can automatically submit crash reports to a repository for investigation when program failures occur. A significant portion of these crash reports are duplicate, i.e., they are caused by the same software issue. Therefore, if the volume of submitted reports is very large, automatic grouping of duplicate crash reports can significantly ease and speed up analysis of software failures. This task is known as crash report deduplication. Given a huge volume of incoming reports, increasing quality of deduplication is an important task. The majority of studies address it via information retrieval or sequence matching methods based on the similarity of stack traces from two crash reports. While information retrieval methods disregard the position of a frame in a stack trace, the existing works based on sequence matching algorithms do not fully consider subroutine global frequency and unmatched frames. Besides, due to data distribution differences among software projects, parameters that are learned using machine learning algorithms are necessary to provide more flexibility to the methods. In this paper, we propose TraceSim – an approach for crash report deduplication which combines TF-IDF, optimum global alignment, and machine learning (ML) in a novel way. Moreover, we propose a new evaluation methodology for this task that is more comprehensive and robust than previously used evaluation approaches. TraceSim significantly outperforms seven baselines and state-of-the-art methods in the majority of the scenarios. It is the only approach that achieves competitive results on all datasets regarding all considered metrics. Moreover, we conduct an extensive ablation study that demonstrates the importance of each TraceSim’s element to its final performance and robustness. Finally, we provide the source code for all considered methods and evaluation methodology as well as the created datasets.

AB - Software systems can automatically submit crash reports to a repository for investigation when program failures occur. A significant portion of these crash reports are duplicate, i.e., they are caused by the same software issue. Therefore, if the volume of submitted reports is very large, automatic grouping of duplicate crash reports can significantly ease and speed up analysis of software failures. This task is known as crash report deduplication. Given a huge volume of incoming reports, increasing quality of deduplication is an important task. The majority of studies address it via information retrieval or sequence matching methods based on the similarity of stack traces from two crash reports. While information retrieval methods disregard the position of a frame in a stack trace, the existing works based on sequence matching algorithms do not fully consider subroutine global frequency and unmatched frames. Besides, due to data distribution differences among software projects, parameters that are learned using machine learning algorithms are necessary to provide more flexibility to the methods. In this paper, we propose TraceSim – an approach for crash report deduplication which combines TF-IDF, optimum global alignment, and machine learning (ML) in a novel way. Moreover, we propose a new evaluation methodology for this task that is more comprehensive and robust than previously used evaluation approaches. TraceSim significantly outperforms seven baselines and state-of-the-art methods in the majority of the scenarios. It is the only approach that achieves competitive results on all datasets regarding all considered metrics. Moreover, we conduct an extensive ablation study that demonstrates the importance of each TraceSim’s element to its final performance and robustness. Finally, we provide the source code for all considered methods and evaluation methodology as well as the created datasets.

KW - Automatic crash reporting

KW - Crash report deduplication

KW - Duplicate crash report

KW - Duplicate crash report detection

KW - Stack trace

KW - Business informatics

UR - http://www.scopus.com/inward/record.url?scp=85125623765&partnerID=8YFLogxK

UR - https://www.mendeley.com/catalogue/fec2bb19-97d3-3284-92d4-c1a34b8447fe/

U2 - 10.1007/s10664-021-10070-w

DO - 10.1007/s10664-021-10070-w

M3 - Journal articles

AN - SCOPUS:85125623765

VL - 27

JO - Empirical Software Engineering

JF - Empirical Software Engineering

SN - 1382-3256

IS - 2

M1 - 53

ER -

DOI