Exam mode
: Allow instructors to extend exam time
#7119
Teamscale
This pull request would introduce 7 new findings
Details
- src/test/java/de/tum/in/www1/artemis/exercise/programmingexercise/ProgrammingExerciseScheduleServiceTest.java#36: Star import of
de.tum.in.www1.artemis.domain.enumeration.*
should not be used (view in Teamscale) - src/main/java/de/tum/in/www1/artemis/service/messaging/InstanceMessageReceiveService.java#298: Interface comment missing (view in Teamscale)
- src/main/java/de/tum/in/www1/artemis/service/scheduled/ProgrammingExerciseScheduleService.java#8: Star import of
java.util.function.*
should not be used (view in Teamscale) - src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#28: Star import of
org.springframework.http.*
should not be used (view in Teamscale) - src/main/java/de/tum/in/www1/artemis/web/rest/StudentExamResource.java#44: Star import of
de.tum.in.www1.artemis.web.rest.errors.*
should not be used (view in Teamscale) - src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#43: Star import of
de.tum.in.www1.artemis.service.*
should not be used (view in Teamscale) - src/main/java/de/tum/in/www1/artemis/web/rest/ExamResource.java#253: Violation of method length threshold (source lines of code) of 30: 37 (view in Teamscale)
Annotations
teamscale / teamscale-findings
src/test/java/de/tum/in/www1/artemis/exercise/programmingexercise/ProgrammingExerciseScheduleServiceTest.java#L36
Star import of `de.tum.in.www1.artemis.domain.enumeration.*` should not be used
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Ftime-extension%3AHEAD&id=03A0E8FE2FEB9BA2ACCCC5913A170C6F
teamscale / teamscale-findings
src/main/java/de/tum/in/www1/artemis/service/messaging/InstanceMessageReceiveService.java#L298
In this file 24 interface comments are missing. Consider adding explanatory comments or restricting the visibility.
View in Teamscale:
https://teamscale.io/activity.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Ftime-extension%3A1694871322000
teamscale / teamscale-findings
src/main/java/de/tum/in/www1/artemis/service/scheduled/ProgrammingExerciseScheduleService.java#L8
Star import of `java.util.function.*` should not be used
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Ftime-extension%3AHEAD&id=ABF7E815F928BC37680E3E173F0F6862
Check warning on line 305 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#L253-L305
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%2Ftime-extension%3AHEAD&id=0433506A73DFB1F85A8D141737499971
Check warning on line 43 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#L43
Star import of `de.tum.in.www1.artemis.service.*` should not be used
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Ftime-extension%3AHEAD&id=3CD1A9BE3657370319C2502172E09DB0
Check warning on line 28 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#L28
Star import of `org.springframework.http.*` should not be used
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Ftime-extension%3AHEAD&id=A44F8D1D29B9608662421517AC9205B5
Check warning on line 44 in src/main/java/de/tum/in/www1/artemis/web/rest/StudentExamResource.java
teamscale / teamscale-findings
src/main/java/de/tum/in/www1/artemis/web/rest/StudentExamResource.java#L44
Star import of `de.tum.in.www1.artemis.web.rest.errors.*` should not be used
https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Fexam-mode%2Ftime-extension%3AHEAD&id=7407EAFDB26FD41D92B442F8ED4359C1