Readability.Candidate.Scoring.calc_score

You're seeing just the function calc_score, go back to Readability.Candidate.Scoring module for more information.
Link to this function

calc_score(html_tree, opts \\ [])

Specs

calc_score(html_tree(), options()) :: number()

Score html tree by some algorithm that check children nodes, attributes, link densities, etcs.. options -> weight_classes :: boolean, calculate weight class