Index

A B C D E F G H I J L M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

adapter - Variable in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
The adapter that visits the nodes of the parse tree.
addDefinition(String, byte[]) - Method in class com.spertus.jacquard.coverage.MemoryClassLoader
Add a in-memory representation of a class.
AFTER_DUE_DATE - Enum constant in enum class com.spertus.jacquard.common.Visibility
Visible to the student after the due date.
AFTER_PUBLISHED - Enum constant in enum class com.spertus.jacquard.common.Visibility
Visible to the student when grading is complete.
ALPHABETICAL - Enum constant in enum class com.spertus.jacquard.common.Result.Order
Alphabetical order by result name.
Autograder - Class in com.spertus.jacquard.common
A singleton class containing configuration information.
Autograder.Builder - Class in com.spertus.jacquard.common
A singleton class for building the Autograder.
AutograderException - Interface in com.spertus.jacquard.exceptions
Maker interface for exceptional circumstances within the autograder library.

B

build() - Method in class com.spertus.jacquard.common.Autograder.Builder
Builds the Autograder using information from this builder.

C

changeVisibility(Visibility) - Method in class com.spertus.jacquard.common.Result
Changes the visibility of this result and returns it.
changeVisibility(List<Result>, Visibility) - Static method in class com.spertus.jacquard.common.Result
Changes the visibility of all the results.
CheckstyleGrader - Class in com.spertus.jacquard.checkstylegrader
A grader that runs checkstyle.
CheckstyleGrader(String, double, double) - Constructor for class com.spertus.jacquard.checkstylegrader.CheckstyleGrader
Creates a checkstyle grader.
CheckstyleGrader(String, String, double, double) - Constructor for class com.spertus.jacquard.checkstylegrader.CheckstyleGrader
Creates a checkstyle grader.
ClientException - Exception in com.spertus.jacquard.exceptions
Signals that an error occurred within the autograder due to misuse of the API, such as calling Autograder.init() repeatedly or passing an invalid argument.
ClientException(String) - Constructor for exception com.spertus.jacquard.exceptions.ClientException
Constructs a ClientException with the specified message and cause.
ClientException(String, Throwable) - Constructor for exception com.spertus.jacquard.exceptions.ClientException
Constructs a ClientException with the specified message and cause.
CodeCoverageTester - Class in com.spertus.jacquard.coverage
A grader that uses Jacoco to measure code coverage of tests.
CodeCoverageTester(Scorer, Class<?>, Class<?>) - Constructor for class com.spertus.jacquard.coverage.CodeCoverageTester
Creates a code coverage tester with a default name.
CodeCoverageTester(String, Scorer, Class<?>, Class<?>) - Constructor for class com.spertus.jacquard.coverage.CodeCoverageTester
Creates a code coverage tester.
com.spertus.jacquard.checkstylegrader - package com.spertus.jacquard.checkstylegrader
Checkstyle-based grader.
com.spertus.jacquard.common - package com.spertus.jacquard.common
Fundamental abstractions used by multiple packages.
com.spertus.jacquard.coverage - package com.spertus.jacquard.coverage
Jacoco-based grader, where scoring takes into account test coverage and cyclomatic complexity.
com.spertus.jacquard.crosstester - package com.spertus.jacquard.crosstester
Provides support for running student-provided tests against multiple implementations to evaluate students' ability to write tests that fail on buggy implementations and pass on correct implementations.
com.spertus.jacquard.exceptions - package com.spertus.jacquard.exceptions
Jacquard exceptions.
com.spertus.jacquard.junittester - package com.spertus.jacquard.junittester
JUnit-based grader, which scores based on GradedTest annotations.
com.spertus.jacquard.pmdgrader - package com.spertus.jacquard.pmdgrader
PMD-based grader, which scores code based on static analysis.
com.spertus.jacquard.publisher - package com.spertus.jacquard.publisher
Publisher to deploy results to specific grading systems.
com.spertus.jacquard.syntaxgrader - package com.spertus.jacquard.syntaxgrader
Syntax-based grader, which scores code based on its parse tree.
createFromRules(double, double, String, String, String...) - Static method in class com.spertus.jacquard.pmdgrader.PmdGrader
Creates a PMD-based grader for the specified rules.
createFromRuleSetPaths(double, double, String...) - Static method in class com.spertus.jacquard.pmdgrader.PmdGrader
Creates a PMD-based grader for the specified rule sets.
CrossTester - Class in com.spertus.jacquard.crosstester
A grader for running student-provided tests against multiple implementations.
CrossTester(Class<?>, String) - Constructor for class com.spertus.jacquard.crosstester.CrossTester
Creates a cross tester that uses the provided test class to instantiate classes under test that are specified in a CSV file.

D

DebugLevel - Enum Class in com.spertus.jacquard.common
The level of support for debugging.
DECREASING_MAX_SCORE - Enum constant in enum class com.spertus.jacquard.common.Result.Order
In decreasing order by maximum score.
DEFAULT_JAVA_LEVEL - Static variable in class com.spertus.jacquard.common.Autograder.Builder
The default Java language level.
DEFAULT_TIMEOUT_MS - Static variable in class com.spertus.jacquard.common.Autograder.Builder
The default timeout for a Grader, in milliseconds.
DEFAULT_VISIBILITY - Static variable in class com.spertus.jacquard.common.Autograder.Builder
The default visibility of test results.
description() - Element in annotation interface com.spertus.jacquard.junittester.GradedTest
A description of the defect detected by this test.
displayResults(List<Result>) - Method in class com.spertus.jacquard.publisher.GradescopePublisher
 
displayResults(List<Result>) - Method in class com.spertus.jacquard.publisher.Publisher
Displays the results in a human-readable format.

E

equals(Object) - Method in class com.spertus.jacquard.common.Result
 
equals(Object) - Method in class com.spertus.jacquard.common.Target
 
ExceptionResult - Class in com.spertus.jacquard.common
A result encapsulating an exception.
ExceptionResult(String, Throwable) - Constructor for class com.spertus.jacquard.common.ExceptionResult
Makes a result indicating an exceptional event occurred.
ExpressionCountGrader - Class in com.spertus.jacquard.syntaxgrader
A grader to test whether the number of occurrences of a given expression type is within the specified range.
ExpressionCountGrader(double, int, int, Class<? extends Expression>) - Constructor for class com.spertus.jacquard.syntaxgrader.ExpressionCountGrader
Creates a new counter with a default name to test whether the number of occurrences of an expression type is within the specified range.
ExpressionCountGrader(String, double, int, int, Class<? extends Expression>) - Constructor for class com.spertus.jacquard.syntaxgrader.ExpressionCountGrader
Creates a new grader with the given name to test whether the number of occurrences of an expression type is within the specified range.
ExpressionStatementCountGrader - Class in com.spertus.jacquard.syntaxgrader
A grader to test whether the number of occurrences of the given expression and statement types are in the specified numeric range.
ExpressionStatementCountGrader(String, String, double, int, int, List<Class<? extends Expression>>, List<Class<? extends Statement>>) - Constructor for class com.spertus.jacquard.syntaxgrader.ExpressionStatementCountGrader
Creates a grader to test whether the number of occurrences of the given expression and statement types are in the specified numeric range.

F

FieldModifierGrader - Class in com.spertus.jacquard.syntaxgrader
Checks whether the correct modifiers are used for fields (instance and static variables/constants).
finalizeResults(List<Result>) - Method in class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader
 
finalizeResults(List<Result>) - Method in class com.spertus.jacquard.syntaxgrader.ImportRequiredGrader
 
finalizeResults(List<Result>) - Method in class com.spertus.jacquard.syntaxgrader.MethodModifierGrader
 
finalizeResults(List<Result>) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
Adds any results that cannot be computed until all visits are complete.
fromClass(Class<?>) - Static method in class com.spertus.jacquard.common.Target
Creates a target from a class that the student is responsible for submitting.
fromDirectory(String) - Static method in class com.spertus.jacquard.common.Target
Creates targets from all the files in the specified directory.
fromPath(Path) - Static method in class com.spertus.jacquard.common.Target
Creates a target from a path, which must be to a single file.
fromPathString(String) - Static method in class com.spertus.jacquard.common.Target
Creates a target from a relative path string to a file.
fromPathStrings(String, String...) - Static method in class com.spertus.jacquard.common.Target
Creates targets from a directory string and list of files in the directory.

G

getCallableMultiTarget(Target...) - Method in class com.spertus.jacquard.checkstylegrader.CheckstyleGrader
 
getCallableMultiTarget(Target...) - Method in class com.spertus.jacquard.common.Grader
Gets a Callable through which this grader can be called on multiple targets.
getCallableMultiTarget(Target...) - Method in class com.spertus.jacquard.pmdgrader.PmdGrader
 
getCallableSingleTarget(Target) - Method in class com.spertus.jacquard.checkstylegrader.CheckstyleGrader
 
getCallableSingleTarget(Target) - Method in class com.spertus.jacquard.common.Grader
Gets a Callable through which this grader can be called on a single target.
getCallableSingleTarget(Target) - Method in class com.spertus.jacquard.pmdgrader.PmdGrader
 
getCallableSingleTarget(Target) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxGrader
 
getGradescopeText() - Method in enum class com.spertus.jacquard.common.Visibility
Gets a textual representation suitable for Gradescope.
getInstance() - Static method in class com.spertus.jacquard.common.Autograder.Builder
Gets the singleton instance of Builder.
getInstance() - Static method in class com.spertus.jacquard.common.Autograder
Gets the singleton Autograder instance.
getMaxScore() - Method in class com.spertus.jacquard.common.Result
Gets the maximum possible score of the test associated with this result.
getMessage() - Method in class com.spertus.jacquard.common.Result
Gets the message with any additional information about this result.
getMessage(double, double) - Method in class com.spertus.jacquard.coverage.LinearBranchScorer
 
getMessage(double, double) - Method in class com.spertus.jacquard.coverage.LinearLineScorer
 
getMessage(double, double) - Method in class com.spertus.jacquard.coverage.LinearScorer
Gets a message summarizing information about the coverage being tested.
getName() - Method in class com.spertus.jacquard.common.Result
Gets the name of this result.
getResult(MutableInteger) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCountGrader
Creates a result with an appropriate score and message based on the number of occurrences of the syntactic element.
getResult(String, double, double) - Method in class com.spertus.jacquard.coverage.LinearScorer
 
getResult(String, double, double) - Method in class com.spertus.jacquard.coverage.Scorer
Creates a result based on information generated by Jacoco.
getScore() - Method in class com.spertus.jacquard.common.Result
Gets the score (points earned) of this result.
getValue() - Method in class com.spertus.jacquard.syntaxgrader.MutableInteger
Gets the value.
getVisibility() - Method in class com.spertus.jacquard.common.Result
Gets the visibility level of this result.
grade(CompilationUnit) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
 
grade(CompilationUnit) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCountGrader
 
grade(CompilationUnit) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxGrader
Grades the parsed compilation unit.
grade(Target...) - Method in class com.spertus.jacquard.common.Grader
Grades the provided targets.
grade(List<Target>) - Method in class com.spertus.jacquard.common.Grader
Grades the provided targets.
gradeAll(Target, Grader...) - Static method in class com.spertus.jacquard.common.Grader
Runs all graders on the provided target.
GradedTest - Annotation Interface in com.spertus.jacquard.junittester
The GradedTest annotation is primarily based off of capturing the data for a test object in the Gradescope JSON output.
Grader - Class in com.spertus.jacquard.common
The superclass of all graders.
Grader(String) - Constructor for class com.spertus.jacquard.common.Grader
Creates a grader.
GradescopePublisher - Class in com.spertus.jacquard.publisher
The interface to Gradescope.
GradescopePublisher() - Constructor for class com.spertus.jacquard.publisher.GradescopePublisher
 

H

hashCode() - Method in class com.spertus.jacquard.common.Result
 
hashCode() - Method in class com.spertus.jacquard.common.Target
 
HIDDEN - Enum constant in enum class com.spertus.jacquard.common.Visibility
Never visible to the student.
HIGH - Enum constant in enum class com.spertus.jacquard.common.DebugLevel
Exceptions are allowed to propagate to the top level to facilitate debugging.

I

ImportBlocklistedGrader - Class in com.spertus.jacquard.syntaxgrader
Checks whether imports on a package blocklist are present.
ImportBlocklistedGrader(double, List<String>) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportBlocklistedGrader
Creates an import grader with a default name that tests whether there are any imports involving blocklisted (forbidden) packages.
ImportBlocklistedGrader(String, double, List<String>) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportBlocklistedGrader
Creates an import grader that tests whether there are any imports involving blocklisted (forbidden) packages.
ImportCheckerAdapter() - Constructor for class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader.ImportCheckerAdapter
Constructs an adapter.
ImportDisallowedGrader - Class in com.spertus.jacquard.syntaxgrader
Checks whether any imports are found from packages that are not on an explicit allowlist.
ImportDisallowedGrader(double, List<String>) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportDisallowedGrader
Creates an import checker with the default name that tests whether all imports are within a list of allowed packages.
ImportDisallowedGrader(String, double, List<String>) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportDisallowedGrader
Creates an import checker that tests whether all imports are within a list of allowed packages.
ImportForbiddenGrader - Class in com.spertus.jacquard.syntaxgrader
Abstract superclass of graders that check whether there are any imports of packages that are not allowed.
ImportForbiddenGrader(String, double) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader
Creates an import grader that tests whether there are any imports involving blocklisted (forbidden) packages.
ImportForbiddenGrader.ImportCheckerAdapter - Class in com.spertus.jacquard.syntaxgrader
Abstract superclass of adapters testing whether forbidden imports appear.
ImportRequiredGrader - Class in com.spertus.jacquard.syntaxgrader
Checks whether required imports appear in a submission.
ImportRequiredGrader(double, List<String>) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportRequiredGrader
Creates an import checker with the default name that awards points per required import that is found.
ImportRequiredGrader(String, double, List<String>) - Constructor for class com.spertus.jacquard.syntaxgrader.ImportRequiredGrader
Creates an import checker that awards points per required import that is found.
importToPackageName(ImportDeclaration) - Static method in class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader.ImportCheckerAdapter
Converts an import to a package name.
includeOutput() - Element in annotation interface com.spertus.jacquard.junittester.GradedTest
Whether to include the output in the test results.
INCREASING_MAX_SCORE - Enum constant in enum class com.spertus.jacquard.common.Result.Order
In increasing order by maximum score.
increment() - Method in class com.spertus.jacquard.syntaxgrader.MutableInteger
Increments the value by 1.
init() - Static method in class com.spertus.jacquard.common.Autograder
Initializes the autograder with all default values.
initForTest() - Static method in class com.spertus.jacquard.common.Autograder
Resets and reinitializes the Autograder.
initialize() - Method in class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader
 
initialize() - Method in class com.spertus.jacquard.syntaxgrader.ImportRequiredGrader
 
initialize() - Method in class com.spertus.jacquard.syntaxgrader.MethodModifierGrader
 
initialize() - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
Performs any setup before a call to SyntaxCheckGrader.grade(CompilationUnit).
InternalException - Exception in com.spertus.jacquard.exceptions
Signals that an internal error occurred within the autograder.
InternalException(String) - Constructor for exception com.spertus.jacquard.exceptions.InternalException
Constructs an InternalException with the specified message.
InternalException(String, Throwable) - Constructor for exception com.spertus.jacquard.exceptions.InternalException
Constructs an InternalException with the specified message and cause.
InternalException(Throwable) - Constructor for exception com.spertus.jacquard.exceptions.InternalException
Constructs an InternalException with the specified cause.
isImportForbidden(ImportDeclaration) - Method in class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader.ImportCheckerAdapter
Checks whether the given import declaration is forbidden.
isInitialized() - Static method in class com.spertus.jacquard.common.Autograder
Checks whether the Autograder has been initialized.

J

javaLevel - Variable in class com.spertus.jacquard.common.Autograder
The Java level of student code.
javaLevel(int) - Method in class com.spertus.jacquard.common.Autograder.Builder
Sets the Java language level.
JUnitTester - Class in com.spertus.jacquard.junittester
A tester that runs JUnit tests having the GradedTest annotation.
JUnitTester(Class<?>...) - Constructor for class com.spertus.jacquard.junittester.JUnitTester
Constructs a JUnit tester that will run tests in the specified classes.
JUnitTester(String, boolean) - Constructor for class com.spertus.jacquard.junittester.JUnitTester
Constructs a JUnit tester that will run tests in the specified package and (optionally) its subpackages.

L

LinearBranchScorer - Class in com.spertus.jacquard.coverage
A linear scorer that considers only branch coverage, not line coverage.
LinearBranchScorer(double) - Constructor for class com.spertus.jacquard.coverage.LinearBranchScorer
Creates a linear scorer that considers only branch coverage, not line coverage.
LinearLineScorer - Class in com.spertus.jacquard.coverage
A linear scorer that considers only line coverage, not branch coverage.
LinearLineScorer(double) - Constructor for class com.spertus.jacquard.coverage.LinearLineScorer
Creates a linear scorer that considers only line coverage, not branch coverage.
LinearScorer - Class in com.spertus.jacquard.coverage
A code coverage scorer that uses a linear equation to weight the branch coverage and line coverage.
LinearScorer(double, double) - Constructor for class com.spertus.jacquard.coverage.LinearScorer
Creates a scorer that scales the branch percentage by the specified weight, which must be in the range [0, 1].
LinearScorer(double, double, double) - Constructor for class com.spertus.jacquard.coverage.LinearScorer
Creates a scorer that scales the branch percentage and line percentage by the specified weights, which must both be in the range [0, 1] and add up to one.
loadClass(String, boolean) - Method in class com.spertus.jacquard.coverage.MemoryClassLoader
 
LOW - Enum constant in enum class com.spertus.jacquard.common.DebugLevel
Some information is shown to users about the cause of problems, such as underlying exception messages.

M

makeAllOrNothing(List<Result>, String, String, String, double, boolean) - Static method in class com.spertus.jacquard.common.Result
Creates a single result summarizing a list of results, giving credit only if all the results indicate complete success (having a score equal to the maximum score}.
makeChecker(double, List<String>, List<Modifier>, List<Modifier>, boolean) - Static method in class com.spertus.jacquard.syntaxgrader.FieldModifierGrader
Creates a field modifier grader with a default name.
makeChecker(String, double, List<String>, List<Modifier>, List<Modifier>, boolean) - Static method in class com.spertus.jacquard.syntaxgrader.FieldModifierGrader
Creates a field modifier grader.
makeError(String, Throwable) - Static method in class com.spertus.jacquard.common.Result
Makes a result indicating an exceptional event occurred
makeExceptionResult(Throwable) - Method in class com.spertus.jacquard.common.Grader
Creates a result when a grader threw an exception instead of returning a result.
makeExceptionResultList(Throwable) - Method in class com.spertus.jacquard.common.Grader
Creates a one-element list holding the result for a single unhandled throwable.
makeFailingResult(String) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
Creates a result indicating total failure.
makeFailure(String, double, String) - Static method in class com.spertus.jacquard.common.Result
Makes a result indicating a total failure.
makeFailure(String, double, String, Visibility) - Static method in class com.spertus.jacquard.common.Result
Makes a result with the specified visibility level indicating a total failure.
makeFailureResult(double, String) - Method in class com.spertus.jacquard.common.Grader
Creates a result for a completely unsuccessful outcome.
makeFailureResultList(double, String) - Method in class com.spertus.jacquard.common.Grader
Creates a one-element list holding the result of a completely unsuccessful outcome.
makePartialCreditResult(double, double, String) - Method in class com.spertus.jacquard.common.Grader
Creates a result indicating partial credit.
makeResult(String, double, double, String) - Static method in class com.spertus.jacquard.common.Result
Makes a result with the provided score and message with the visibility level specified in Autograder.visibility.
makeResult(String, double, double, String, Visibility) - Static method in class com.spertus.jacquard.common.Result
Makes a result with the provided characteristics.
makeSuccess(String, double, String) - Static method in class com.spertus.jacquard.common.Result
Makes a result indicating a total success.
makeSuccess(String, double, String, Visibility) - Static method in class com.spertus.jacquard.common.Result
Makes a result indicating a total success.
makeSuccessResult(double, String) - Method in class com.spertus.jacquard.common.Grader
Creates a result for a fully successful outcome.
makeSuccessResult(String) - Method in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
Creates a result indicating total success.
makeSuccessResultList(double, String) - Method in class com.spertus.jacquard.common.Grader
Creates a one-element list holding a result indicating complete success.
MAX_JAVA_LEVEL - Static variable in class com.spertus.jacquard.syntaxgrader.Parser
The maximum level of Java currently supported through this class.
maxScore - Variable in class com.spertus.jacquard.coverage.Scorer
The maximum score that can be earned.
maxScorePerInstance - Variable in class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
The maximum score per instance checked.
MemoryClassLoader - Class in com.spertus.jacquard.coverage
A class loader that loads classes from in-memory data.
MemoryClassLoader() - Constructor for class com.spertus.jacquard.coverage.MemoryClassLoader
 
MethodModifierGrader - Class in com.spertus.jacquard.syntaxgrader
Checks whether the correct modifiers are used for methods (instance and static).
MethodModifierGrader(double, List<String>, List<Modifier>, List<Modifier>, boolean) - Constructor for class com.spertus.jacquard.syntaxgrader.MethodModifierGrader
Creates a method modifier checker with a default name.
MethodModifierGrader(String, double, List<String>, List<Modifier>, List<Modifier>, boolean) - Constructor for class com.spertus.jacquard.syntaxgrader.MethodModifierGrader
Creates a method modifier grader.
MIN_JAVA_LEVEL - Static variable in class com.spertus.jacquard.syntaxgrader.Parser
The minimum level of Java supported through this class.
MutableInteger - Class in com.spertus.jacquard.syntaxgrader
A wrapper around a mutable integer value.
MutableInteger() - Constructor for class com.spertus.jacquard.syntaxgrader.MutableInteger
Constructs a mutable integer with an initial value of 0.

N

name() - Element in annotation interface com.spertus.jacquard.junittester.GradedTest
The name of the test.
NATURAL - Enum constant in enum class com.spertus.jacquard.common.Result.Order
The order in which they were generated.
NONE - Enum constant in enum class com.spertus.jacquard.common.DebugLevel
No information is shown to users about the cause of problems.

P

parse(File) - Method in class com.spertus.jacquard.syntaxgrader.Parser
Parses a file.
Parser - Class in com.spertus.jacquard.syntaxgrader
A wrapper for JavaParser.
Parser() - Constructor for class com.spertus.jacquard.syntaxgrader.Parser
Constructs a parser for the Java language level specified in Autograder.javaLevel.
PmdGrader - Class in com.spertus.jacquard.pmdgrader
A grader that makes use of the linked PMD Source Code Analyzer Project.
points() - Element in annotation interface com.spertus.jacquard.junittester.GradedTest
The number of points the test is worth.
Publisher - Class in com.spertus.jacquard.publisher
This class contains code to publish the results of grading to an external grading system, such as Gradescope.
Publisher() - Constructor for class com.spertus.jacquard.publisher.Publisher
 
publishResults(List<Result>) - Method in class com.spertus.jacquard.publisher.Publisher
Publishes the results in a manner appropriate for the external grading tool.
publishResults(List<Result>, Result.Order) - Method in class com.spertus.jacquard.publisher.GradescopePublisher
 
publishResults(List<Result>, Result.Order) - Method in class com.spertus.jacquard.publisher.Publisher
Publishes the results in a manner appropriate for the external grading tool.

R

reorderResults(List<Result>, Result.Order) - Static method in class com.spertus.jacquard.common.Result
Produces a sorted copy of the results.
resetForTest() - Static method in class com.spertus.jacquard.common.Autograder
Resets Autograder initialization so multiple tests can run independently.
Result - Class in com.spertus.jacquard.common
The result of an evaluation of student code.
Result(String, double, double, String) - Constructor for class com.spertus.jacquard.common.Result
Creates a result with the visibility level specified in Autograder.visibility.
Result(String, double, double, String, Visibility) - Constructor for class com.spertus.jacquard.common.Result
Creates a result with the specified properties.
Result.Order - Enum Class in com.spertus.jacquard.common
The publication order for results.
run() - Method in class com.spertus.jacquard.common.Tester
Runs the tests.
run() - Method in class com.spertus.jacquard.coverage.CodeCoverageTester
 
run() - Method in class com.spertus.jacquard.crosstester.CrossTester
Runs all the tests as specified in the constructor.
run() - Method in class com.spertus.jacquard.junittester.JUnitTester
 

S

score(double, double) - Method in class com.spertus.jacquard.coverage.LinearScorer
 
score(double, double) - Method in class com.spertus.jacquard.coverage.Scorer
Converts branch coverage and line coverage ratios into a score.
Scorer - Class in com.spertus.jacquard.coverage
A way of converting branch coverage and line coverage information into a single score.
Scorer(double) - Constructor for class com.spertus.jacquard.coverage.Scorer
Creates a scorer.
serializeResults(List<Result>) - Method in class com.spertus.jacquard.publisher.GradescopePublisher
 
serializeResults(List<Result>) - Method in class com.spertus.jacquard.publisher.Publisher
Serializes the results in the format appropriate for the external grading tool.
setVisibility(Visibility) - Method in class com.spertus.jacquard.common.Result
Sets the visibility of this result.
StatementCountGrader - Class in com.spertus.jacquard.syntaxgrader
A counter to test whether the number of occurrences of a given statement type is within the specified range.
StatementCountGrader(double, int, int, Class<? extends Statement>) - Constructor for class com.spertus.jacquard.syntaxgrader.StatementCountGrader
Creates a new counter with a default name to test whether the number of occurrences of the statement type is within the specified range.
StatementCountGrader(String, double, int, int, Class<? extends Statement>) - Constructor for class com.spertus.jacquard.syntaxgrader.StatementCountGrader
Creates a new counter with the given name to test whether the number of occurrences of the statement type is within the specified range.
StringInterpolationCountGrader - Class in com.spertus.jacquard.syntaxgrader
A grader that counts the number of occurrences of string interpolation.
StringInterpolationCountGrader(int, int, int) - Constructor for class com.spertus.jacquard.syntaxgrader.StringInterpolationCountGrader
Create a new string interpolation count grader with the default name.
StringInterpolationCountGrader(String, int, int, int) - Constructor for class com.spertus.jacquard.syntaxgrader.StringInterpolationCountGrader
Create a new string interpolation count grader.
SubmissionException - Exception in com.spertus.jacquard.exceptions
A checked exception indicating a problem with a submission.
SubmissionException(String) - Constructor for exception com.spertus.jacquard.exceptions.SubmissionException
Constructs a new submission exception with the given message.
SyntaxCheckGrader - Class in com.spertus.jacquard.syntaxgrader
The base class for syntax-based graders that may involve multiple items of the same type.
SyntaxCheckGrader(String, double, VoidVisitorAdapter<List<Result>>) - Constructor for class com.spertus.jacquard.syntaxgrader.SyntaxCheckGrader
Constructs a syntax checker.
SyntaxConditionCountGrader - Class in com.spertus.jacquard.syntaxgrader
A grader that counts whether the number of parse nodes satisfying a given predicate is in the specified range.
SyntaxConditionCountGrader(String, String, double, int, int, Predicate<Node>) - Constructor for class com.spertus.jacquard.syntaxgrader.SyntaxConditionCountGrader
Creates a new counter to test whether the number of parse nodes satisfying the predicate is within the specified range.
SyntaxConditionGrader - Class in com.spertus.jacquard.syntaxgrader
A grader to test whether exactly the specified number of parse nodes satisfy a predicate.
SyntaxConditionGrader(int, String, double, Predicate<Node>) - Constructor for class com.spertus.jacquard.syntaxgrader.SyntaxConditionGrader
Creates a grader with a default name to test whether any parse nodes satisfy the predicate.
SyntaxConditionGrader(String, int, String, double, Predicate<Node>) - Constructor for class com.spertus.jacquard.syntaxgrader.SyntaxConditionGrader
Creates a grader to test whether the specified number of parse nodes satisfy the predicate.
SyntaxCountGrader - Class in com.spertus.jacquard.syntaxgrader
The base class for counters to test whether the number of occurrences of a syntactic element is within the specified range.
SyntaxCountGrader(String, String, double, int, int, VoidVisitorAdapter<MutableInteger>) - Constructor for class com.spertus.jacquard.syntaxgrader.SyntaxCountGrader
Creates a new counter to test whether the number of occurrences of an element is within the specified range.
SyntaxGrader - Class in com.spertus.jacquard.syntaxgrader
The base class for syntax-based graders that make use of the linked Java parser.
SyntaxGrader(String) - Constructor for class com.spertus.jacquard.syntaxgrader.SyntaxGrader
Constructs a syntax-based grader.

T

Target - Class in com.spertus.jacquard.common
The target of a Grader, which must be a file.
Tester - Class in com.spertus.jacquard.common
The superclass for JUnit-based testers.
Tester() - Constructor for class com.spertus.jacquard.common.Tester
Creates a tester.
timeout(long) - Method in class com.spertus.jacquard.common.Autograder.Builder
Sets the timeout for Grader execution (or 0 for no timeout).
TimeoutException - Exception in com.spertus.jacquard.exceptions
A checked exception due to a test timing out.
TimeoutException(String) - Constructor for exception com.spertus.jacquard.exceptions.TimeoutException
Creates a new TimeoutException.
TimeoutException(String, Throwable) - Constructor for exception com.spertus.jacquard.exceptions.TimeoutException
Creates a new TimeoutException.
timeoutMillis - Variable in class com.spertus.jacquard.common.Autograder
The number of milliseconds tests should run before timing out.
toDirectory() - Method in class com.spertus.jacquard.common.Target
Gets this target's directory.
toFile() - Method in class com.spertus.jacquard.common.Target
Gets this target's file (which may be a directory).
toPath() - Method in class com.spertus.jacquard.common.Target
Gets this target's path
toPathString() - Method in class com.spertus.jacquard.common.Target
Gets the string representation of this target's absolute path.

V

valueOf(String) - Static method in enum class com.spertus.jacquard.common.DebugLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.spertus.jacquard.common.Result.Order
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.spertus.jacquard.common.Visibility
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.spertus.jacquard.common.DebugLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.spertus.jacquard.common.Result.Order
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.spertus.jacquard.common.Visibility
Returns an array containing the constants of this enum class, in the order they are declared.
visibility - Variable in class com.spertus.jacquard.common.Autograder
The visibility level of Grader results.
visibility() - Element in annotation interface com.spertus.jacquard.junittester.GradedTest
The visibility level of the test, which determines when the result is shown to the student whose code is being graded.
visibility(Visibility) - Method in class com.spertus.jacquard.common.Autograder.Builder
Sets the visibility of Grader results.
Visibility - Enum Class in com.spertus.jacquard.common
The visibility of a Result.
VISIBLE - Enum constant in enum class com.spertus.jacquard.common.Visibility
Visible to the student immediately.
visit(ImportDeclaration, List<Result>) - Method in class com.spertus.jacquard.syntaxgrader.ImportForbiddenGrader.ImportCheckerAdapter
 
A B C D E F G H I J L M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form