question: public WebResourceStatistics computeMark ( WebResourceStatistics wrStatistics ) { float passed = wrStatistics . getNbOfPassed ( ) ; if ( passed == - 1 ) { wrStatistics . setRawMark ( Float . valueOf ( - 1 ) ) ; return wrStatistics ; } float failed = wrStatistics . getNbOfFailed ( ) ; float needMoreInfo = wrStatistics . getNbOfNmi ( ) ; if ( failed == 0 && passed == 0 ) { wrStatistics . setMark ( Float . valueOf ( 0 ) ) ; return wrStatistics ; } float ratioNMI = needMoreInfo / ( passed + failed + needMoreInfo ) ; float result = ( ( 1 - ratioNMI ) * passed / ( passed + failed ) + ratioNMI * needMoreInfo / ( passed + failed + needMoreInfo ) ) * 100f ; wrStatistics . setMark ( result ) ; return wrStatistics ; }
target:  This method compute the mark of the audit. Here is the algorithm formula : ((1-ratioNMI) * passed/(passed+failed) + ratioNMI  needMoreInfo/(passed+failed+needMoreInfo)) *100f where ratioNMI = needMoreInfo / (passed+failed+needMoreInfo)