test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/LoginModuleStatsTest.java
test_class.identifier: LoginModuleStatsTest
test_case.body: @Test
      public void testLoginError() throws Exception {
          ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
          StatisticsProvider sp = new DefaultStatisticsProvider(executor);
  
          LoginModuleStats s = new LoginModuleStats(sp);
          s.loginError();
          assertEquals(1, s.getLoginErrors());
          assertNotNull(s.getLoginErrorsHistory());
      }
test_case.class_method_signature: LoginModuleStatsTest.testLoginError()
test_case.full_signature: @Test public void testLoginError()
test_case.identifier: testLoginError
test_case.invocations: newSingleThreadScheduledExecutor loginError assertEquals getLoginErrors assertNotNull getLoginErrorsHistory
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoginError()
focal_class.declarator: statisticsProvider
focal_class.modifier: private final
focal_class.original_string: private final StatisticsProvider statisticsProvider;
focal_class.type: StatisticsProvider
focal_class.var_name: statisticsProvider
focal_class.declarator: LOGIN_ERRORS = "LOGIN_ERRORS"
focal_class.modifier: static final
focal_class.original_string: static final String LOGIN_ERRORS = "LOGIN_ERRORS";
focal_class.type: String
focal_class.var_name: LOGIN_ERRORS
focal_class.declarator: loginErrors
focal_class.modifier: private final
focal_class.original_string: private final MeterStats loginErrors;
focal_class.type: MeterStats
focal_class.var_name: loginErrors
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/LoginModuleStats.java
focal_class.identifier: LoginModuleStats
focal_class.interfaces: implements LoginModuleMBean, LoginModuleMonitor
focal_class.class_method_signature: LoginModuleStats.LoginModuleStats(StatisticsProvider statisticsProvider)
focal_class.full_signature: public  LoginModuleStats(StatisticsProvider statisticsProvider)
focal_class.identifier: LoginModuleStats
focal_class.modifiers: public
focal_class.parameters: (StatisticsProvider statisticsProvider)
focal_class.signature:  LoginModuleStats(StatisticsProvider statisticsProvider)
focal_class.class_method_signature: LoginModuleStats.loginError()
focal_class.full_signature: @Override public void loginError()
focal_class.identifier: loginError
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loginError()
focal_class.class_method_signature: LoginModuleStats.getLoginErrors()
focal_class.full_signature: @Override public long getLoginErrors()
focal_class.identifier: getLoginErrors
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getLoginErrors()
focal_class.class_method_signature: LoginModuleStats.getLoginErrorsHistory()
focal_class.full_signature: @Override public CompositeData getLoginErrorsHistory()
focal_class.identifier: getLoginErrorsHistory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CompositeData
focal_class.signature: CompositeData getLoginErrorsHistory()
focal_class.class_method_signature: LoginModuleStats.getTimeSeriesData(String name, String desc)
focal_class.full_signature: private CompositeData getTimeSeriesData(String name, String desc)
focal_class.identifier: getTimeSeriesData
focal_class.modifiers: private
focal_class.parameters: (String name, String desc)
focal_class.return: CompositeData
focal_class.signature: CompositeData getTimeSeriesData(String name, String desc)
focal_class.class_method_signature: LoginModuleStats.getTimeSeries(String name)
focal_class.full_signature: private TimeSeries getTimeSeries(String name)
focal_class.identifier: getTimeSeries
focal_class.modifiers: private
focal_class.parameters: (String name)
focal_class.return: TimeSeries
focal_class.signature: TimeSeries getTimeSeries(String name)
focal_method.body: @Override
      public void loginError() {
          loginErrors.mark();
      }
focal_method.class_method_signature: LoginModuleStats.loginError()
focal_method.full_signature: @Override public void loginError()
focal_method.identifier: loginError
focal_method.invocations: mark
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void loginError()