C# Class Unicoen.Apps.Metrics.Utils.CodeAnalyzer

Show file Open project: UnicoenProject/UNICOEN Class Usage Examples

Public Methods

Method Description
Measure ( UnifiedElement codeObject, Func getTargetElementsFunc ) : int>.Dictionary
Measure ( string filePath, Func getTargetElementsFunc ) : int>.Dictionary

Private Methods

Method Description
CountElements ( IEnumerable targets, int>.IDictionary counter ) : void
GetOutersName ( UnifiedElement element ) : string
GetOutersString ( UnifiedElement target ) : string
InitializeCounter ( UnifiedElement model, int>.IDictionary counter ) : void

Method Details

Measure() public static method

public static Measure ( UnifiedElement codeObject, Func getTargetElementsFunc ) : int>.Dictionary
codeObject Unicoen.Model.UnifiedElement
getTargetElementsFunc Func
return int>.Dictionary

Measure() public static method

public static Measure ( string filePath, Func getTargetElementsFunc ) : int>.Dictionary
filePath string
getTargetElementsFunc Func
return int>.Dictionary