package Ġio . gitlab . art urb os ch . de te kt . core . reporting . console Ċ Ċ import Ġio . gitlab . art urb os ch . de te kt . api . Finding Ċ import Ġio . gitlab . art urb os ch . de te kt . api . Rule SetId Ċ import Ġio . gitlab . art urb os ch . de te kt . core . reporting . print Find ings Ċ Ċ /** Ċ Ġ* ĠContains Ġall Ġrule Ġviolations Ġgrouped Ġby Ġfile Ġlocation . Ċ Ġ* ĠSee : Ġhttps :// de te kt . dev / configurations . html # console - reports Ċ Ġ*/ Ċ class ĠFile Based Find ings Report Ġ: ĠAbstract Find ings Report () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġrender ( find ings : ĠMap < Rule SetId , ĠList < Finding >> ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfindings Per File Ġ= Ġfindings . values ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. flatten () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. groupBy Ġ{ Ġit . entity . location . filePath . absolute Path . toString () Ġ} ĊĠĠĠĠĠĠĠ Ġreturn Ġprint Find ings ( find ings Per File ) ĊĠĠĠ Ġ} Ċ } Ċ