Lune

ICSE2021Top-tier venue

HERO: On the Chaos When PATH Meets Modules

Ying Wang, Liang Qiao, Chang Xu, Yepang Liu, Shing-Chi Cheung, Na Meng, Hai Yu, Zhiliang Zhu

Abstract

Ever since its first release in 2009, the Go programming language (Golang) has been well received by software communities. A major reason for its success is the powerful support of library-based development, where a Golang project can be conveniently built on top of other projects by referencing them as libraries. As Golang evolves, it recommends the use of a new library-referencing mode to overcome the limitations of the original one. While these two library modes are incompatible, both are supported by the Golang ecosystem. The heterogeneous use of library-referencing modes across Golang projects has caused numerous dependency management (DM) issues, incurring reference inconsistencies and even build failures. Motivated by the problem, we conducted an empirical study to characterize the DM issues, understand their root causes, and examine their fixing solutions. Based on our findings, we developed Hero, an automated technique to detect DM issues and suggest proper fixing solutions. We applied Hero to 19,000 popular Golang projects. The results showed that Hero achieved a high detection rate of 98.5% on a DM issue benchmark and found 2,422 new DM issues in 2,356 popular Golang projects. We reported 280 issues, among which 181 (64.6%) issues have been confirmed, and 160 of them (88.4%) have been fixed or are under fixing. Almost all the fixes have adopted our fixing suggestions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Demystifying Dependency Bugs in Deep Learning Stack cites Watchman: monitoring dependency conflicts for Python library ecosystem
  • Demystifying Dependency Bugs in Deep Learning Stack cites Interactive, effort-aware library version harmonization
  • Less is More? An Empirical Study on Configuration Issues in Python PyPI Ecosystem cites Watchman: monitoring dependency conflicts for Python library ecosystem
  • Less is More? An Empirical Study on Configuration Issues in Python PyPI Ecosystem cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • Less is More? An Empirical Study on Configuration Issues in Python PyPI Ecosystem cites Interactive, effort-aware library version harmonization
  • Extracting taint specifications for JavaScript libraries cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • Towards Understanding Third-party Library Dependency in C/C++ Ecosystem cites Watchman: monitoring dependency conflicts for Python library ecosystem
  • Towards Understanding Third-party Library Dependency in C/C++ Ecosystem cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • Towards Understanding Third-party Library Dependency in C/C++ Ecosystem cites Interactive, effort-aware library version harmonization
  • Interactive, effort-aware library version harmonization cites Keep me Updated: An Empirical Study of Third-Party Library Updatability on Android
  • Interactive, effort-aware library version harmonization cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem cites Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem cites Demystifying Compiler Unstable Feature Usage and Impacts in the Rust Ecosystem
  • Demystifying Compiler Unstable Feature Usage and Impacts in the Rust Ecosystem cites Watchman: monitoring dependency conflicts for Python library ecosystem
  • Demystifying Compiler Unstable Feature Usage and Impacts in the Rust Ecosystem cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Towards Understanding Third-party Library Dependency in C/C++ EcosystemWei Tang, Zhengzi Xu, Chengwei Liu, Jiahui Wu et al.ASE 2022 · 64 citations
  2. Demystifying Dependency Bugs in Deep Learning StackKaifeng Huang, Bihuan Chen, Susheng Wu, Junming Cao et al.FSE 2023 · 20 citations
  3. Empirical Analysis of Vulnerabilities Life Cycle in Golang EcosystemJinchang Hu, Lyuye Zhang, Chengwei Liu, Sen Yang et al.ICSE 2024 · 10 citations
  4. Demystifying Compiler Unstable Feature Usage and Impacts in the Rust EcosystemChenghao Li, Yifei Wu, Wenbo Shen, Zichen Zhao et al.ICSE 2024 · 6 citations
  5. Less is More? An Empirical Study on Configuration Issues in Python PyPI EcosystemYun Peng, Ruida Hu, Ruoke Wang, Cuiyun Gao et al.ICSE 2024 · 5 citations

Builds on5

  1. Small World with High Risks: A Study of Security Threats in the npm EcosystemMarkus Zimmermann, Cristian-Alexandru Staicu, Cam Tenny, Michael PradelUSENIX Security 2019 · 281 citations
  2. Keep me Updated: An Empirical Study of Third-Party Library Updatability on AndroidErik Derr, Sven Bugiel, Sascha Fahl, Yasemin Acar et al.CCS 2017 · 196 citations
  3. Watchman: monitoring dependency conflicts for Python library ecosystemYing Wang, Ming Wen, Yepang Liu, Yibo Wang et al.ICSE 2020 · 65 citations
  4. Extracting taint specifications for JavaScript librariesCristian-Alexandru Staicu, Martin Toldam Torp, Max Schäfer, Anders Møller et al.ICSE 2020 · 34 citations
  5. Interactive, effort-aware library version harmonizationKaifeng Huang, Bihuan Chen, Bowen Shi, Ying Wang et al.FSE 2020 · 32 citations

Related papers

  1. A Large-Scale Empirical Study on Semantic Versioning in Golang EcosystemWenke Li, Feng Wu, Cai Fu, Fan ZhouASE 2023 · 7 citations
  2. How to Pet a Two-Headed Snake? Solving Cross-Repository Compatibility Issues with HeraYifan Xie, Zhouyang Jia, Shanshan Li, Ying Wang et al.ASE 2024 · 2 citations
  3. Understanding and Detecting Disordered Error Handling with Precise Function PairingQiushi Wu, Aditya Pakki, Navid Emamdoost, Stephen McCamant et al.USENIX Security 2021 · 31 citations
  4. Automatically detecting and fixing concurrency bugs in go software systemsZiheng Liu, Shuofei Zhu, Boqin Qin, Hao Chen et al.ASPLOS 2021 · 32 citations
  5. A study of real-world data races in GolangMilind Chabbi, Murali Krishna RamanathanPLDI 2022 · 34 citations
Dusk over the sea between two cliffs drawn in fine vertical lines