C# Class MSR.Models.Prediction.PostReleaseDefectFiles.PostReleaseDefectFilesPrediction

Inheritance: Prediction
Mostra file Open project: kirnosenko/msr-tools

Protected Properties

Property Type Description
rocEvaluationDelta double

Public Methods

Method Description
Evaluate ( ) : EvaluationResult
EvaluateRanking ( ) : RankingEvaluationResult
EvaluateUsingROC ( ) : ROCEvaluationResult
Init ( IRepository repository, IEnumerable releases ) : void
PostReleaseDefectFilesPrediction ( ) : System
Predict ( ) : void

Protected Methods

Method Description
Evaluate ( string predictedDefectFiles ) : EvaluationResult
GetFileEstimation ( ProjectFile file ) : double
GetFilesInRevision ( string revision ) : MSR.Data.Entities.ProjectFile[]

Private Methods

Method Description
GetDefectCodeSizeInFilesAfterRelease ( ) : double>.Dictionary
GetPostReleaseDefectiveFiles ( ) : string[]
GetPostReleaseDefectiveFiles ( CommitSelectionExpression commits ) : string[]
GetPostReleaseDefectiveFilesFromTouchedInRelease ( ) : string[]

Method Details

Evaluate() public method

public Evaluate ( ) : EvaluationResult
return EvaluationResult

Evaluate() protected method

protected Evaluate ( string predictedDefectFiles ) : EvaluationResult
predictedDefectFiles string
return EvaluationResult

EvaluateRanking() public method

public EvaluateRanking ( ) : RankingEvaluationResult
return RankingEvaluationResult

EvaluateUsingROC() public method

public EvaluateUsingROC ( ) : ROCEvaluationResult
return ROCEvaluationResult

GetFileEstimation() protected abstract method

protected abstract GetFileEstimation ( ProjectFile file ) : double
file MSR.Data.Entities.ProjectFile
return double

GetFilesInRevision() protected method

protected GetFilesInRevision ( string revision ) : MSR.Data.Entities.ProjectFile[]
revision string
return MSR.Data.Entities.ProjectFile[]

Init() public method

public Init ( IRepository repository, IEnumerable releases ) : void
repository IRepository
releases IEnumerable
return void

PostReleaseDefectFilesPrediction() public method

public PostReleaseDefectFilesPrediction ( ) : System
return System

Predict() public method

public Predict ( ) : void
return void

Property Details

rocEvaluationDelta protected_oe property

protected double rocEvaluationDelta
return double