class

CyclomaticComplexity::FileComplexity

Inherits JSON::Serializable < Reference < Object

Représente la complexité d'un fichier

Constructors

new(path : String, methods : Array(MethodComplexity))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

average_complexity
Source
average_complexity=(average_complexity : Float64)
Source
filename
Source
grade
Source
methods
Source
methods=(methods : Array(MethodComplexity))
Source
methods_by_grade
Source
path
Source
path=(path : String)
Source
total_complexity
Source
total_complexity=(total_complexity : Int32)
Source
worst_methods(limit = 5) : Array(MethodComplexity)
Source