angular/angular.js

View on GitHub
docs/config/processors/error-docs.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function errorDocsProcessor has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function errorDocsProcessor(log, errorNamespaceMap, getMinerrInfo) {
  return {
    $runAfter: ['tags-extracted'],
    $runBefore: ['extra-docs-added'],
    $process: function(docs) {
Severity: Minor
Found in docs/config/processors/error-docs.js - About 1 hr to fix

    Function $process has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        $process: function(docs) {
    
          // Get the extracted min errors to compare with the error docs, and report any mismatch
          var collectedErrors = require('../../../build/errors.json').errors;
          var flatErrors = [];
    Severity: Minor
    Found in docs/config/processors/error-docs.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status