Coursemology/coursemology2

View on GitHub
client/app/bundles/course/reference-timelines/operations.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function createTime has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async (dispatch) => {
    const adaptedData: TimePostData = {
      reference_time: {
        lesson_plan_item_id: itemId,
        start_at: time.startAt,
Severity: Minor
Found in client/app/bundles/course/reference-timelines/operations.ts - About 1 hr to fix

Function updateTime has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async (dispatch) => {
    const adaptedData: TimePostData = {
      reference_time: {
        start_at: time.startAt,
        bonus_end_at: time.bonusEndAt,
Severity: Minor
Found in client/app/bundles/course/reference-timelines/operations.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status