Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      if len(myArr) >= 0 { ... }
      
      if len(myArr) < 0 { ... }
      
      var result = len(myArr) >= 0
      

      Compliant Solution

      if len(myArr) > 0 { ... }
      
      if len(myArr) < 42 { ... }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            elena.vilchik Elena Vilchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: