package testkit
- Alphabetic
- Public
- Protected
Type Members
- case class AnyDiff(a: Any, b: Any) extends Exception with Product with Serializable
Helper class to create textual diff between two objects
- case class Corpus(url: String, filter: (String) => Boolean) extends Product with Serializable
A collection of Scala source files to run SyntaxAnalysis.
A collection of Scala source files to run SyntaxAnalysis.
- url
A zip file that matches the structure described below.
- filter
Files that don't match the filter are excluded from the analysis. Here's the structure for
url
files:repos/ project1/ COMMIT // <- git commit hash of project1 snapshot URL // <- Github project url src/main/... Code.scala project2/ ... projectN/
In particular, each project directory must contain a
COMMIT
andURL
file. These files are used to construct links to the source files on Github.
- case class CorpusFile(filename: String, projectUrl: String, commit: String) extends Product with Serializable
A Scala source file taken from some Github repo
A Scala source file taken from some Github repo
- filename
Path to the file relative to the "target/repos" root directory.
- projectUrl
The url of the Github project containing this source file.
- commit
The commit has at where this ScalaFile originates from.
- case class Observation[T](msg: String, line: Int, kind: T) extends Product with Serializable
An observation during a SyntaxAnalysis.
An observation during a SyntaxAnalysis.
- msg
The message corresponding this individual observation. The message will be dislayed next to this entry.
- line
The offending line number in the source file where the observation was made. Starts from line 0, which matches with scala.meta.Position.line.
- kind
The category of this observation. Observations of the same category are grouped together in the markdown table. Good values are enumerations or sealed ADTs.
Value Members
- object Corpus extends java.io.Serializable
- object FileOps
- object Observation extends java.io.Serializable
- object Phase
- object StringFS
- object StructurallyEqual
- object SyntaxAnalysis