com.reactific.riddl.stats

Members list

Type members

Classlikes

case class DefinitionStats(kind: String, isEmpty: Boolean, descriptionLines: Int, numSpecifications: Int, numCompleted: Long, numContained: Long, numAuthors: Long, numTerms: Long, numOptions: Long, numIncludes: Long, numStatements: Long)

Value parameters

completeness

The ratio of numCompletions/numSpecifications as a percentage

descriptionLines

The number of lines of documentation between the description and brief fields

isEmpty

An indication if the definition is completely empty

numCompleted

The number of specifications that hve been completed

numContained

The number of contained definitions

numSpecifications

The number of kinds of specifications that can be completed from the node's specifications method

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class KindStats(var count: Long, var numEmpty: Long, var descriptionLines: Long, var numSpecifications: Long, var numCompleted: Long, var numContained: Long, var numAuthors: Long, var numTerms: Long, var numOptions: Long, var numIncludes: Long, var numStatements: Long)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Validate Command

Validate Command

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
case class StatsOutput(messages: Messages, maximum_depth: Int, categories: Map[String, KindStats]) extends CollectingPassOutput[DefinitionStats]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PassOutput
class Object
trait Matchable
class Any
Show all
object StatsPass extends PassInfo

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait PassInfo
class Object
trait Matchable
class Any
Show all
Self type
StatsPass.type
case class StatsPass(input: PassInput, outputs: PassesOutput) extends CollectingPass[DefinitionStats]

Unit Tests For StatsPass

Unit Tests For StatsPass

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Pass
class Object
trait Matchable
class Any
Show all