packages/miew/src/gfx/VolumeBounds.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function constructor has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor(bBox, volInfo) {
    const { delta } = volInfo // {x: XY, y : XZ, z: YZ}
    const { obtuseAngle } = volInfo // 1 - obtuse, 0 - acute

    const bSize = new Vector3()
Severity: Minor
Found in packages/miew/src/gfx/VolumeBounds.js - About 1 hr to fix

    Function _getBaseVertices has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      _getBaseVertices(delta, obtuseAngle) {
        const projTable = VolumeBounds._projectionTable
    
        const proj = (index, inv) => {
          // tricky function to take account of projections: their position(related to box) and sign
    Severity: Minor
    Found in packages/miew/src/gfx/VolumeBounds.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status