Class LtUnitTestMissing

java.lang.Object
org.eolang.lints.units.LtUnitTestMissing
All Implemented Interfaces:
Lint<Map<String,com.jcabi.xml.XML>>

public final class LtUnitTestMissing extends Object implements Lint<Map<String,com.jcabi.xml.XML>>
A test is missing for a live EO program.
Since:
0.1.0
  • Constructor Details

    • LtUnitTestMissing

      public LtUnitTestMissing()
  • Method Details

    • defects

      public Collection<Defect> defects(Map<String,com.jcabi.xml.XML> pkg) throws IOException
      Description copied from interface: Lint
      Find and return defects.
      Specified by:
      defects in interface Lint<Map<String,com.jcabi.xml.XML>>
      Parameters:
      pkg - The entity to analyze (could be XML or Path)
      Returns:
      Defects
      Throws:
      IOException
    • name

      public String name()
      Description copied from interface: Lint
      Name of the lint.
      Specified by:
      name in interface Lint<Map<String,com.jcabi.xml.XML>>
      Returns:
      Lint name
    • motive

      public String motive() throws Exception
      Description copied from interface: Lint
      Returns motive for a lint, explaining why this lint exists.
      Specified by:
      motive in interface Lint<Map<String,com.jcabi.xml.XML>>
      Returns:
      Motive text about lint
      Throws:
      Exception - if something went wrong