test_class.file: lang/src/test/java/org/eclipse/steady/malice/MaliciousnessAnalyzerLoopTest.java
test_class.identifier: MaliciousnessAnalyzerLoopTest
test_case.body: @Test
    public void testLoop() {
      final MaliciousnessAnalyzerLoop loop = new MaliciousnessAnalyzerLoop();
      final Set<MaliciousnessAnalysisResult> results =
          loop.isMalicious(new File("src/test/resources/zip-slip.zip"));
      assertTrue(results.size() > 0);
      assertEquals(1d, results.iterator().next().getResult(), 0d);
    }
test_case.class_method_signature: MaliciousnessAnalyzerLoopTest.testLoop()
test_case.full_signature: @Test public void testLoop()
test_case.identifier: testLoop
test_case.invocations: isMalicious assertTrue size assertEquals getResult next iterator
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoop()
focal_class.declarator: loader =
        ServiceLoader.load(MaliciousnessAnalyzer.class)
focal_class.modifier: final
focal_class.original_string: final ServiceLoader<MaliciousnessAnalyzer> loader =
        ServiceLoader.load(MaliciousnessAnalyzer.class);
focal_class.type: ServiceLoader<MaliciousnessAnalyzer>
focal_class.var_name: loader
focal_class.file: lang/src/main/java/org/eclipse/steady/malice/MaliciousnessAnalyzerLoop.java
focal_class.identifier: MaliciousnessAnalyzerLoop
focal_class.class_method_signature: MaliciousnessAnalyzerLoop.isMalicious(File _file)
focal_class.full_signature: public Set<MaliciousnessAnalysisResult> isMalicious(File _file)
focal_class.identifier: isMalicious
focal_class.modifiers: public
focal_class.parameters: (File _file)
focal_class.return: Set<MaliciousnessAnalysisResult>
focal_class.signature: Set<MaliciousnessAnalysisResult> isMalicious(File _file)
focal_class.class_method_signature: MaliciousnessAnalyzerLoop.isMalicious(InputStream _is)
focal_class.full_signature: public Set<MaliciousnessAnalysisResult> isMalicious(InputStream _is)
focal_class.identifier: isMalicious
focal_class.modifiers: public
focal_class.parameters: (InputStream _is)
focal_class.return: Set<MaliciousnessAnalysisResult>
focal_class.signature: Set<MaliciousnessAnalysisResult> isMalicious(InputStream _is)
focal_method.body: public Set<MaliciousnessAnalysisResult> isMalicious(File _file) {
      final Set<MaliciousnessAnalysisResult> results = new HashSet<MaliciousnessAnalysisResult>();
      for (MaliciousnessAnalyzer a : loader) {
        results.add(a.isMalicious(_file));
      }
      return results;
    }
focal_method.class_method_signature: MaliciousnessAnalyzerLoop.isMalicious(File _file)
focal_method.full_signature: public Set<MaliciousnessAnalysisResult> isMalicious(File _file)
focal_method.identifier: isMalicious
focal_method.invocations: add isMalicious
focal_method.modifiers: public
focal_method.parameters: (File _file)
focal_method.return: Set<MaliciousnessAnalysisResult>
focal_method.signature: Set<MaliciousnessAnalysisResult> isMalicious(File _file)