Impact analysis of cross-project bugs on software ecosystems

15Citations
Citations of this article
44Readers
Mendeley users who have this article in their library.

Abstract

Software projects are increasingly forming social-technical ecosystems within which individual projects rely on the infrastructures or functional components provided by other projects, leading to complex inter-dependencies. Through inter-project dependencies, a bug in an upstream project may have profound impact on a large number of downstream projects, resulting in cross-project bugs. This emerging type of bugs has brought new challenges in bug fixing due to their unclear influence on downstream projects. In this paper, we present an approach to estimating the impact of a cross-project bug within its ecosystem by identifying the affected downstream modules (classes/methods). Note that a downstream project that uses a buggy upstream function may not be affected as the usage does not satisfy the failure inducing preconditions. For a reported bug with the known root cause function and failure inducing preconditions, we first collect the candidate downstream modules that call the upstream function through an ecosystem-wide dependence analysis. Then, the paths to the call sites of the buggy upstream function are encoded as symbolic constraints. Solving the constraints, together with the failure inducing preconditions, identifies the affected downstream modules. Our evaluation of 31 existing upstream bugs on the scientific Python ecosystem containing 121 versions of 22 popular projects (with a total of 16 millions LOC) shows that the approach is highly effective: from the 25490 candidate downstream modules that invoke the buggy upstream functions, it identifies 1132 modules where the upstream bugs can be triggered, pruning 95.6% of the candidates. The technique has no false negatives and an average false positive rate of 7.9%. Only 49 downstream modules (out of the 1132 we found) were reported before to be affected.

References Powered by Scopus

Z3: An efficient SMT Solver

5774Citations
N/AReaders
Get full text

A sense of community: A research agenda for software ecosystems

379Citations
N/AReaders
Get full text

A discriminative model approach for accurate duplicate bug report retrieval

290Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Understanding the Threats of Upstream Vulnerabilities to Downstream Projects in the Maven Ecosystem

14Citations
N/AReaders
Get full text

Collaboration in software ecosystems: A study of work groups in open environment

12Citations
N/AReaders
Get full text

Toward Using Package Centrality Trend to Identify Packages in Decline

7Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Ma, W., Chen, L., Zhang, X., Feng, Y., Xu, Z., Chen, Z., … Xu, B. (2020). Impact analysis of cross-project bugs on software ecosystems. In Proceedings - International Conference on Software Engineering (pp. 100–111). IEEE Computer Society. https://doi.org/10.1145/3377811.3380442

Readers over time

‘19‘20‘21‘22‘23‘240481216

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 15

83%

Researcher 3

17%

Readers' Discipline

Tooltip

Computer Science 19

86%

Business, Management and Accounting 1

5%

Economics, Econometrics and Finance 1

5%

Engineering 1

5%

Save time finding and organizing research with Mendeley

Sign up for free
0