dtolnay/noisy-clippy

Produce histogram for configurable lints

オープン

#3 opened on 2021/09/14

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (5 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (101 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

For example too_many_arguments: it would be relevant to know the distribution of number of arguments among functions where this lint is being suppressed. The current default threshold in Clippy is 7. Is it the case that almost all suppression are using 8 arguments, or 8 or 9? Or is it a much wider distribution? That would be relevant for informing a choice of better default.

Similarly type_complexity: what is the distribution of actual complexity?

These 2 lints specifically are the top two most widely suppressed lints in Clippy. I think it's a reasonable takeaway that Clippy has gotten the default threshold wrong in both cases.

コントリビューターガイド