GraphSnapshot

public class GraphSnapshot : Codable, Equatable

Undocumented

  • Metrics: [GroupID:MetricValue] MetricValue is between 0 and 100 to represent the interval [0,1] Lack of cohesion of methods

    Declaration

    Swift

    public var LCOM: [Int : Int]?
  • RFC

    Response for a class

    Declaration

    Swift

    public var RFC: [Int : Int]?
  • CBO

    Coupling Between Objects

    Declaration

    Swift

    public var CBO: [Int : Int]?
  • Timestamp for the creation of the graph snapshot

    Declaration

    Swift

    public var timeStamp: String
  • The hash of the commit that was last build

    Declaration

    Swift

    public var buildGitHash: String
  • The raw dependency graph of the service

    Declaration

    Swift

    public var graph: DependencyGraph<Node>
  • Undocumented

    Declaration

    Swift

    public init(
        lcom: [Int:Int]? = nil,
        rfc: [Int:Int]? = nil,
        cbo: [Int:Int]? = nil,
        timestamp: String,
        buildGitHash: String,
        graph: DependencyGraph<Node>
    )
  • Declaration

    Swift

    public static func == (lhs: GraphSnapshot, rhs: GraphSnapshot) -> Bool