open-learning-exchange/planet

View on GitHub
src/app/submissions/submissions.component.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function ngOnInit has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ngOnInit() {
    this.setMode();
    this.onFilterChange(this.route.snapshot.paramMap.get('type') || 'exam', 'type');
    if (this.mode === 'survey') {
      this.onFilterChange('survey', 'type');
Severity: Minor
Found in src/app/submissions/submissions.component.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status