Package | Description |
---|---|
edu.umass.cs.surveyman.analyses |
Contains static and dynamic analysis structures and logic.
|
edu.umass.cs.surveyman.analyses.rules |
Contains available rules for the wellformedness check in static analysis.
|
Modifier and Type | Method and Description |
---|---|
static Map<Class,AbstractRule> |
AbstractRule.getDefaultRules() |
static Collection<AbstractRule> |
AbstractRule.getRules() |
Modifier and Type | Method and Description |
---|---|
static void |
AbstractRule.registerRule(AbstractRule rule) |
static void |
AbstractRule.unregisterRule(AbstractRule rule) |
Modifier and Type | Method and Description |
---|---|
static void |
AbstractRule.registerRule(Class<? extends AbstractRule> clz) |
static void |
AbstractRule.unregisterRule(Class<? extends AbstractRule> clz) |
Modifier and Type | Class and Description |
---|---|
class |
BranchConsistency
Ensures that branch rules are obeyed on a per-block basis:
NONE: If a block is marked as having no branch target, then it should not have a branch question
saved.
ALL: If a block is marked as
ALL , then
three requirements must be met:
All questions are branch questions.
All questions have equal number of options.
All questions have equivalent branch maps.
ONE: If a block is marked as ONE , then
we make sure there are no other branch questions and that the stored branch question is the appropriate one. |
class |
BranchForward
Ensures that all branch targets are strictly ahead of the block we're branching from.
|
class |
BranchParadigm
Ensures that the rules for branching and blocking are obeyed.
|
class |
BranchTop
Ensures that all "true" (i.e., branch-ONE) branching occurs from top-level, static blocks.
|
class |
Compactness
Ensures that the block numbering mini-DSL does not have any holes in it.
|
class |
ExclusiveBranching
Ensures that branching only occurs from questions marked "exclusive" -- that is, no checkbox nor freetext questions
may be branch questions.
|
class |
NonEmptySurvey
Surveys must have some content!
|
class |
NoTopLevelBranching |
class |
Reachability
Ensures that there exists a path through every block in the survey, such that every question has the possibility of
being asked.
|
class |
SampleHomogenousMaps
Ensures that the maps in the survey are homogenous -- there is some conceptual overlap with
BranchConsistency . |
Copyright © 2015. All rights reserved.