Bamieh/reflow

View on GitHub
packages/reflow-cassandra-connection/lib/connection/reflow/job.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function getByProjectID has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  getByProjectID(encodedProjectID, cursorInfo) {
    const projectID = globalID.decode(encodedProjectID).id;
    return models.instance.jobsByProjectId.findAsync({
        project_id: models.datatypes.Long.fromString(projectID),
      }, {
Severity: Minor
Found in packages/reflow-cassandra-connection/lib/connection/reflow/job.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status