(A) In determining conditions of release that will reasonably assure appearance, or if release would constitute an unreasonable danger to the community, the court may, on the basis of available information, consider the nature and circumstances of the offense charged, the accused's family ties, employment, financial resources, character and mental condition, the length of his residence in the community, his record of convictions, and his record of flight to avoid prosecution or failure to appear at other court proceedings.
(B) The court shall consider the accused's criminal record, if any. The court shall consider, if available, all incident reports generated as a result of the offense charged.