oss-specs/specs

View on GitHub
lib/specifications/repository-types/git/project-data.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function getProjectData has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function getProjectData(projectData, targetBranchName) {
  var currentRef;
  var repository;
  var remoteUrl;
  var headCommit;
Severity: Minor
Found in lib/specifications/repository-types/git/project-data.js - About 1 hr to fix

Function generateRepoMetaData has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

function generateRepoMetaData(projectData, sha, tagsAndBranches, currentBranchName, files, remoteUrl) {
Severity: Minor
Found in lib/specifications/repository-types/git/project-data.js - About 45 mins to fix

There are no issues that match your filters.

Category
Status