oss-specs/specs

View on GitHub
public/javascript/feature.js

Summary

Maintainability
A
1 hr
Test Coverage

Function expandCollapseDetails has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function expandCollapseDetails() {
      var featureTitleEl = window.document.getElementById('feature-title');
      var tagsButtonEl = window.document.getElementById('expand-collapse-tags');
      var featureDetailsEls = window.document.getElementsByClassName('feature-details');
      var scenarioDetailsEls = window.document.getElementsByClassName('scenario-details');
Severity: Minor
Found in public/javascript/feature.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status