cvut/fittable

View on GitHub
src/components/EventDetail.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function eventExceptions has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  eventExceptions () {
    const { appliedExceptions } = this.props.data.details

    if (appliedExceptions && appliedExceptions.length > 0) {
      const exceptionDesc = this.props.data.cancelled ? 'detail.cancelled' : 'detail.modified'
Severity: Minor
Found in src/components/EventDetail.jsx - About 1 hr to fix

    Function eventBasicProps has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      eventBasicProps () {
        const { data } = this.props
        const seqNumber = data.sequenceNumber || '?'
    
        const nameButton = (
    Severity: Minor
    Found in src/components/EventDetail.jsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status