Skip to main content

is_shareable

Function is_shareable 

Source
pub fn is_shareable(item: &ShareableCheck) -> bool
Expand description

Check whether a data item is safe to share.

Returns true if the item is shareable, false if it must stay private.

ยงRules

Shareable data:

  • Structural pattern signatures (abstracted, no real code)
  • Aggregated statistics (complexity averages, counts)
  • Anonymous mistake category counts
  • Language usage distributions

Non-shareable data:

  • Source code
  • File paths
  • Symbol names
  • Commit messages
  • Author identities
  • Content hashes
  • Credentials