EscolaLMS/Courses

View on GitHub
Branch: main(View all)
NameLines of codeMaintainabilityTest coverage
src/Models/Traits/HasCourses.php16
A
0 mins
A
100%
src/Models/User.php27
A
0 mins
A
100%
src/Models/UserTopicTime.php9
A
0 mins
F
0%
src/Observers/LessonObserver.php21
A
0 mins
A
100%
src/Observers/TopicObserver.php23
A
0 mins
A
100%
src/Policies/CoursesPolicy.php77
A
1 hr
B
87%
src/Policies/LessonPolicy.php34
A
0 mins
B
83%
src/Policies/TopicPolicy.php30
A
0 mins
B
80%
src/Providers/EventServiceProvider.php20
A
0 mins
A
100%
src/Providers/SettingsServiceProvider.php21
A
0 mins
B
85%
src/Repositories/BaseRepository.php12
A
0 mins
A
100%
src/Repositories/Contracts/CourseH5PProgressRepositoryContract.php10
A
0 mins
F
0%
src/Repositories/Contracts/CourseProgressRepositoryContract.php19
A
35 mins
F
0%
src/Repositories/Contracts/CourseRepositoryContract.php22
A
0 mins
F
0%
src/Repositories/Contracts/LessonRepositoryContract.php17
A
45 mins
F
0%
src/Repositories/Contracts/TopicRepositoryContract.php20
A
0 mins
F
0%
src/Repositories/Contracts/TopicResourceRepositoryContract.php12
A
0 mins
F
0%
src/Repositories/CourseH5PProgressRepository.php32
A
0 mins
F
16%
src/Repositories/CourseProgressRepository.php91
A
2 hrs
B
89%
src/Repositories/CourseRepository.php265
C
1 day
A
93%
src/Repositories/Criteria/CourseSearch.php20
A
0 mins
F
0%
src/Repositories/Criteria/Primitives/LikeCriterion.php14
A
0 mins
F
0%
src/Repositories/Criteria/Primitives/OrderCriterion.php11
A
0 mins
A
100%
src/Repositories/LessonRepository.php60
A
45 mins
A
90%
src/Repositories/TopicRepository.php243
A
3 hrs
B
84%
src/Repositories/TopicResourceRepository.php67
A
0 mins
B
86%
src/Rules/TopicResourceRule.php16
A
0 mins
B
83%
src/Rules/ValidAuthor.php23
A
0 mins
C
77%
src/Rules/ValidEnum.php19
A
0 mins
D
66%
src/Rules/ValidParentLesson.php27
A
0 mins
D
63%
src/ScheduleServiceProvider.php16
A
0 mins
D
60%
src/Services/CacheGetRequestService.php11
A
0 mins
A
100%
src/Services/Contracts/CourseServiceContract.php12
A
0 mins
F
0%
src/Services/Contracts/LessonServiceContract.php8
A
0 mins
F
0%
src/Services/Contracts/ProgressServiceContract.php18
A
0 mins
F
0%
src/Services/Contracts/TopicServiceContract.php8
A
0 mins
F
0%
src/Services/CourseService.php115
A
2 hrs
A
95%
src/Services/LessonService.php28
A
0 mins
A
100%
src/Services/ProgressService.php233
A
2 hrs
A
92%
src/Services/TopicService.php58
A
1 hr
B
83%
src/ValueObjects/Contracts/CourseProgressCollectionContract.php16
A
0 mins
F
0%
src/ValueObjects/Contracts/ValueObjectContract.php8
A
0 mins
F
0%
src/ValueObjects/CourseContent.php38
A
0 mins
F
57%
src/ValueObjects/CourseProgressCollection.php191
B
4 hrs
A
94%
src/ValueObjects/ValueObject.php12
A
0 mins
A
100%
src/config.php10
A
0 mins
A
100%
src/routes.php55
A
0 mins
A
100%
testbench.yaml