Unleashing the Power of Clippy in Real-World Rust Projects

Li, Chunmiao; Yu, Yijun; Wu, Haitao; Carlig, Luca; Nie, Shijie and Jiang, Lingxiao (2024). Unleashing the Power of Clippy in Real-World Rust Projects. In: IEEE/ACM 46th International Conference on Software Engineering, 14-20 Apr 2024, Lisbon, Portugal.

DOI: https://doi.org/10.1145/3639478.3643096

Abstract

In this work, we have conducted the first study of Clippy's impact to real-world Rust projects, unleashing the distribution of warnings and revealing user feedback to Clippy. As a result, we proposed three effective solutions to fix Clippy warnings that could not be automatically removed via its auto-fix functionality, which foster Clippy's wider adoption to enhance the safety and idiomaticity of Rust programs.

Plain Language Summary

With combination of three automated software engineering approaches, we are able to remove substantial warnings caused by the linter rules, and enhance the quality of Rust code.

Viewing alternatives

Download history

Metrics

Public Attention

Altmetrics from Altmetric

Number of Citations

Citations from Dimensions

Item Actions

Export

About