-
Home
-
Psychological tests & quizzes
-
0.21.19 (latest)
-
Code
-
Classes
- WpTesting_Model_Test
Total Complexity |
89 |
Dependencies |
21 |
Dependents |
20 |
Total lines |
641 |
Lines of code |
379 |
Logical lines of code |
193 |
Comment lines |
120 |
Methods |
48 |
Properties |
2 |
Methods 48
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
buildScalesWithRange() |
A |
44 |
7 |
47 |
adaptForPopulate() |
S |
46 |
6 |
38 |
syncQuestionsAnswers() |
S |
50 |
6 |
29 |
__construct() |
S |
56 |
6 |
17 |
isFinal() |
S |
62 |
5 |
13 |
isOptionEqual() |
S |
63 |
4 |
10 |
buildQuestionsWithAnswersAndScores() |
S |
62 |
3 |
12 |
toWpPost() |
S |
61 |
3 |
12 |
buildQuestionsWithAnswers() |
S |
63 |
3 |
11 |
getTermIdFromFilteredTaxonomies() |
S |
67 |
3 |
7 |
buildResults() |
S |
61 |
2 |
12 |
hasAnswers() |
S |
63 |
2 |
11 |
buildTaxonomiesOnce() |
S |
72 |
2 |
6 |
getPublishedUrl() |
S |
78 |
2 |
3 |
getMaxAnswersCount() |
S |
68 |
2 |
7 |
storeAll() |
S |
61 |
1 |
14 |
buildQuestions() |
S |
80 |
1 |
3 |
buildScales() |
S |
79 |
1 |
3 |
buildPublicFormulaVariables() |
S |
72 |
1 |
5 |
buildFormulaVariables() |
S |
72 |
1 |
5 |
buildFormulas() |
S |
80 |
1 |
3 |
buildGlobalAnswers() |
S |
79 |
1 |
3 |
buildRelatedTaxonomies() |
S |
66 |
1 |
8 |
buildTaxonomies() |
S |
80 |
1 |
3 |
getQuestionsPrefix() |
S |
79 |
1 |
3 |
getAnswersPrefix() |
S |
75 |
1 |
4 |
getScoresPrefix() |
S |
75 |
1 |
4 |
getFormulasPrefix() |
S |
79 |
1 |
3 |
addQuestion() |
S |
70 |
1 |
6 |
associateScale() |
S |
80 |
1 |
3 |
associateGlobalAnswer() |
S |
80 |
1 |
3 |
associateAbstractTerm() |
S |
70 |
1 |
7 |
isPublished() |
S |
80 |
1 |
3 |
isMultipleAnswers() |
S |
80 |
1 |
3 |
isResetAnswersOnBack() |
S |
80 |
1 |
3 |
isShowProgressMeter() |
S |
80 |
1 |
3 |
isShowScales() |
S |
80 |
1 |
3 |
isShowScalesDiagram() |
S |
80 |
1 |
3 |
isShowTestDescription() |
S |
80 |
1 |
3 |
isSortScalesByScore() |
S |
80 |
1 |
3 |
isOneQuestionPerStep() |
S |
80 |
1 |
3 |
isOptionEnabled() |
S |
79 |
1 |
3 |
hasScales() |
S |
80 |
1 |
3 |
populateAll() |
S |
65 |
1 |
10 |
populateQuestions() |
S |
67 |
1 |
7 |
populateFormulas() |
S |
79 |
1 |
3 |
getQuestionsCount() |
S |
80 |
1 |
3 |
configure() |
S |
67 |
1 |
8 |