Exam mode
: Enable changing working time in exam edit screen
#7284
Teamscale
This pull request would introduce 6 new findings
Details
- src/test/java/de/tum/in/www1/artemis/exam/ProgrammingExamIntegrationTest.java#167: Clone with 2 instances of length 12 (view in Teamscale)
- src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#300: TODO: probably batch these updates? (view in Teamscale)
- src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#193: Violation of method length threshold (source lines of code) of 30: 31 (view in Teamscale)
- src/test/java/de/tum/in/www1/artemis/exam/ProgrammingExamIntegrationTest.java#182: Method
testUpdateExamWorkingTime_rescheduleProgramming_endDateChanged
violates naming convention. Should be one of[a-z][a-zA-Z0-9]*
(view in Teamscale) - src/test/java/de/tum/in/www1/artemis/exam/ProgrammingExamIntegrationTest.java#167: Method
testUpdateExam_rescheduleProgramming_endDateChanged
violates naming convention. Should be one of[a-z][a-zA-Z0-9]*
(view in Teamscale) - src/test/java/de/tum/in/www1/artemis/exam/ExamIntegrationTest.java#428: Clone with 2 instances of length 12 (view in Teamscale)
Annotations
teamscale / teamscale-findings
src/test/java/de/tum/in/www1/artemis/exam/ProgrammingExamIntegrationTest.java#L167
Method `testUpdateExam_rescheduleProgramming_endDateChanged` violates naming convention. Should be one of `[a-z][a-zA-Z0-9]*`
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Fedit-working-time%3AHEAD&id=181CD872A502149754842DED3EE3EAD6
teamscale / teamscale-findings
src/test/java/de/tum/in/www1/artemis/exam/ProgrammingExamIntegrationTest.java#L167-L184
Clone with 2 instances of length 12
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Fedit-working-time%3AHEAD&id=8996ECE8F8784E3D040754274E6FD250
teamscale / teamscale-findings
src/test/java/de/tum/in/www1/artemis/exam/ProgrammingExamIntegrationTest.java#L182
Method `testUpdateExamWorkingTime_rescheduleProgramming_endDateChanged` violates naming convention. Should be one of `[a-z][a-zA-Z0-9]*`
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Fedit-working-time%3AHEAD&id=EF9C2ABE17756F16F0621AB909D77E7F
Check warning on line 243 in src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java
teamscale / teamscale-findings
src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#L193-L243
This method is a bit lengthy [0]. Consider shortening it, e.g. by extracting code blocks into separate methods.
[0] https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Fedit-working-time%3AHEAD&id=C1AF4737B08B652EE2DD9A4E4899755D
Check warning on line 300 in src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java
teamscale / teamscale-findings
src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#L300
TODO: probably batch these updates?
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Fedit-working-time%3AHEAD&id=F4AC8E1D0A69DF83039E9004B7EF52E1