View Source RiskLogic (LowEndInsight v0.8.1)
RiskLogic contains the functionality for determining risk based on numeric input values
Link to this section Summary
Functions
last_commit_size_risk/1: returns a text enumeration for the risk based on the size of the last commit
commit_currency_risk/1: returns text enumeration for commit currency risk
contributor_risk/1: returns text enumeration for count
functional_contributors_risk/1: returns the enumerated risk based on input contributors list
sbom_risk/1: returns text risk level for identified sbom_risk
Link to this section Functions
@spec commit_change_size_risk(non_neg_integer()) :: {:ok, String.t()}
last_commit_size_risk/1: returns a text enumeration for the risk based on the size of the last commit
@spec commit_currency_risk(non_neg_integer()) :: {:ok, String.t()}
commit_currency_risk/1: returns text enumeration for commit currency risk
@spec contributor_risk(non_neg_integer()) :: {:ok, String.t()}
contributor_risk/1: returns text enumeration for count
@spec functional_contributors_risk(non_neg_integer()) :: {:ok, String.t()}
functional_contributors_risk/1: returns the enumerated risk based on input contributors list
@spec sbom_risk() :: {:ok, String.t()}
sbom_risk/1: returns text risk level for identified sbom_risk