package Ġcover stats . server . coverage . processors Ċ Ċ import Ġcover stats . server . models . coverage . Coverage Statement Ċ import Ġcover stats . server . models . coverage . Coverage Status Ċ import Ġcover stats . server . models . scm . Sc m File Ċ import Ġcover stats . server . models . scm . Sc m FileType . DIRECTORY Ċ import Ġcover stats . server . models . scm . Sc m FileType . FILE Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertEquals Ċ import Ġkotlin . test . assertNull Ċ Ċ class ĠJ aco co Processor Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ J aco co Processor _ return _ null _ for _ non _ jac oco _ files () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertNull ( J aco co Processor . read Coverage (" asdf ", ĠlistOf ())) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ J aco co Processor _ parse _ jac oco _ file () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcoverage Report Ġ= ĠJ aco co Processor . read Coverage ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġjava Class . getResource ("/ example J aco co Report . xml "). read Text (), ĠlistOf ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (". gitignore ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" build . gradle . k ts ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle . properties ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle / wrapper ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle / wrapper / gradle - wrapper . jar ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle / wrapper / gradle - wrapper . properties ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle w ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" gradle w . bat ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" settings . gradle ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / Main . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / coverage ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / coverage / Models . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / datastore ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / datastore / Models . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / github ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / github / Models . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / scm ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / scm / Models . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / session ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / models / session / User Session . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / scm ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / scm / GitHub Provider . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / scm / Sc m Provider . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / utils ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / utils / IO Utils . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / kotlin / cover stats / server / utils / Random Utils . kt ", ĠFILE ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / resources ", ĠDIRECTORY ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠS cm File (" src / main / resources / application . conf ", ĠFILE ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ) !!. map Ġ{ Ġit . path Ġto Ġit Ġ}. toMap () ĊĊĠĠĠĠĠĠĠ ĠassertEquals ( 7 , Ġcoverage Report . size ) ĊĊĠĠĠĠĠĠĠ Ġval Ġsc m Model Ġ= Ġcoverage Report . getValue (" src / main / kotlin / cover stats / server / models / scm / Models . kt ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( 4 , Ġsc m Model . statements . size ) ĊĠĠĠĠĠĠĠ Ġfor Ġ( line Ġin Ġsc m Model . statements ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertEquals ( Coverage Status . NONE , Ġline . status ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertEquals ( 0 , Ġline . missed Branches ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertEquals ( 0 , Ġline . covered Branches ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġval Ġrandom Util Ġ= Ġcoverage Report . getValue (" src / main / kotlin / cover stats / server / utils / Random Utils . kt ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( 5 , Ġrandom Util . statements . size ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( listOf ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCoverage Statement ( 6 , Ġ- 1 , Ġ- 1 , ĠCoverage Status . PAR TIAL , Ġ 1 , Ġ 3 ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCoverage Statement ( 7 , Ġ- 1 , Ġ- 1 , ĠCoverage Status . FULL , Ġ 0 , Ġ 0 ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCoverage Statement ( 1 0 , Ġ- 1 , Ġ- 1 , ĠCoverage Status . FULL , Ġ 0 , Ġ 0 ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCoverage Statement ( 1 1 , Ġ- 1 , Ġ- 1 , ĠCoverage Status . FULL , Ġ 0 , Ġ 0 ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCoverage Statement ( 1 2 , Ġ- 1 , Ġ- 1 , ĠCoverage Status . FULL , Ġ 0 , Ġ 0 ) ĊĠĠĠĠĠĠĠ Ġ), Ġrandom Util . statements ) ĊĠĠĠ Ġ} Ċ Ċ }