Credo.Check.Design.DuplicatedCode.calculate_hashes

You're seeing just the function calculate_hashes, go back to Credo.Check.Design.DuplicatedCode module for more information.
Link to this function

calculate_hashes(ast, existing_hashes \\ %{}, filename \\ "foo.ex", mass_threshold \\ param_defaults()[:mass_threshold])

View Source

Calculates hash values for all sub nodes in a given +ast+.

Returns a map with the hashes as keys and the nodes as values.