test_class.declarator: delegate
test_class.modifier: private
test_class.original_string: private Numeric delegate;
test_class.type: Numeric
test_class.var_name: delegate
test_class.declarator: decorator
test_class.modifier: private
test_class.original_string: private NumericLoggingDecorator decorator;
test_class.type: NumericLoggingDecorator
test_class.var_name: decorator
test_class.file: core/src/test/java/dk/alexandra/fresco/logging/arithmetic/NumericLoggingDecoratorTest.java
test_class.identifier: NumericLoggingDecoratorTest
test_case.body: @Test
    public void reset() {
      DRes<SInt> firstArgument = mock(DRes.class);
      DRes<SInt> secondArgument = mock(DRes.class);
      decorator.mult(firstArgument, secondArgument);
      decorator.add(firstArgument, secondArgument);
      decorator.sub(firstArgument, secondArgument);
      decorator.randomBit();
      decorator.randomElement();
  
      Assert.assertEquals(decorator.getLoggedValues().get("MULT_COUNT").intValue(), 1);
      Assert.assertEquals(decorator.getLoggedValues().get("ADD_COUNT").intValue(), 1);
      Assert.assertEquals(decorator.getLoggedValues().get("SUB_COUNT").intValue(), 1);
      Assert.assertEquals(decorator.getLoggedValues().get("BIT_COUNT").intValue(), 1);
      Assert.assertEquals(decorator.getLoggedValues().get("RANDOM_ELEMENT_COUNT").intValue(), 1);
  
      decorator.reset();
  
      Assert.assertEquals(decorator.getLoggedValues().get("MULT_COUNT").intValue(), 0);
      Assert.assertEquals(decorator.getLoggedValues().get("ADD_COUNT").intValue(), 0);
      Assert.assertEquals(decorator.getLoggedValues().get("SUB_COUNT").intValue(), 0);
      Assert.assertEquals(decorator.getLoggedValues().get("BIT_COUNT").intValue(), 0);
      Assert.assertEquals(decorator.getLoggedValues().get("RANDOM_ELEMENT_COUNT").intValue(), 0);
    }
test_case.class_method_signature: NumericLoggingDecoratorTest.reset()
test_case.full_signature: @Test public void reset()
test_case.identifier: reset
test_case.invocations: mock mock mult add sub randomBit randomElement assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues reset assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void reset()
focal_class.declarator: ARITHMETIC_BASIC_MULT = "MULT_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String ARITHMETIC_BASIC_MULT = "MULT_COUNT";
focal_class.type: String
focal_class.var_name: ARITHMETIC_BASIC_MULT
focal_class.declarator: ARITHMETIC_BASIC_ADD = "ADD_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String ARITHMETIC_BASIC_ADD = "ADD_COUNT";
focal_class.type: String
focal_class.var_name: ARITHMETIC_BASIC_ADD
focal_class.declarator: ARITHMETIC_BASIC_SUB = "SUB_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String ARITHMETIC_BASIC_SUB = "SUB_COUNT";
focal_class.type: String
focal_class.var_name: ARITHMETIC_BASIC_SUB
focal_class.declarator: ARITHMETIC_BASIC_BIT = "BIT_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String ARITHMETIC_BASIC_BIT = "BIT_COUNT";
focal_class.type: String
focal_class.var_name: ARITHMETIC_BASIC_BIT
focal_class.declarator: ARITHMETIC_BASIC_RAND = "RANDOM_ELEMENT_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String ARITHMETIC_BASIC_RAND = "RANDOM_ELEMENT_COUNT";
focal_class.type: String
focal_class.var_name: ARITHMETIC_BASIC_RAND
focal_class.declarator: delegate
focal_class.modifier: private
focal_class.original_string: private Numeric delegate;
focal_class.type: Numeric
focal_class.var_name: delegate
focal_class.declarator: addCount
focal_class.modifier: private
focal_class.original_string: private long addCount;
focal_class.type: long
focal_class.var_name: addCount
focal_class.declarator: subCount
focal_class.modifier: private
focal_class.original_string: private long subCount;
focal_class.type: long
focal_class.var_name: subCount
focal_class.declarator: bitCount
focal_class.modifier: private
focal_class.original_string: private long bitCount;
focal_class.type: long
focal_class.var_name: bitCount
focal_class.declarator: randElmCount
focal_class.modifier: private
focal_class.original_string: private long randElmCount;
focal_class.type: long
focal_class.var_name: randElmCount
focal_class.declarator: multCount
focal_class.modifier: private
focal_class.original_string: private long multCount;
focal_class.type: long
focal_class.var_name: multCount
focal_class.file: core/src/main/java/dk/alexandra/fresco/logging/arithmetic/NumericLoggingDecorator.java
focal_class.identifier: NumericLoggingDecorator
focal_class.interfaces: implements Numeric, PerformanceLogger
focal_class.class_method_signature: NumericLoggingDecorator.NumericLoggingDecorator(Numeric delegate)
focal_class.full_signature: public  NumericLoggingDecorator(Numeric delegate)
focal_class.identifier: NumericLoggingDecorator
focal_class.modifiers: public
focal_class.parameters: (Numeric delegate)
focal_class.signature:  NumericLoggingDecorator(Numeric delegate)
focal_class.class_method_signature: NumericLoggingDecorator.add(DRes<SInt> a, DRes<SInt> b)
focal_class.full_signature: @Override public DRes<SInt> add(DRes<SInt> a, DRes<SInt> b)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SInt> a, DRes<SInt> b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> add(DRes<SInt> a, DRes<SInt> b)
focal_class.class_method_signature: NumericLoggingDecorator.add(BigInteger a, DRes<SInt> b)
focal_class.full_signature: @Override public DRes<SInt> add(BigInteger a, DRes<SInt> b)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger a, DRes<SInt> b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> add(BigInteger a, DRes<SInt> b)
focal_class.class_method_signature: NumericLoggingDecorator.sub(DRes<SInt> a, DRes<SInt> b)
focal_class.full_signature: @Override public DRes<SInt> sub(DRes<SInt> a, DRes<SInt> b)
focal_class.identifier: sub
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SInt> a, DRes<SInt> b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> sub(DRes<SInt> a, DRes<SInt> b)
focal_class.class_method_signature: NumericLoggingDecorator.sub(BigInteger a, DRes<SInt> b)
focal_class.full_signature: @Override public DRes<SInt> sub(BigInteger a, DRes<SInt> b)
focal_class.identifier: sub
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger a, DRes<SInt> b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> sub(BigInteger a, DRes<SInt> b)
focal_class.class_method_signature: NumericLoggingDecorator.sub(DRes<SInt> a, BigInteger b)
focal_class.full_signature: @Override public DRes<SInt> sub(DRes<SInt> a, BigInteger b)
focal_class.identifier: sub
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SInt> a, BigInteger b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> sub(DRes<SInt> a, BigInteger b)
focal_class.class_method_signature: NumericLoggingDecorator.mult(DRes<SInt> a, DRes<SInt> b)
focal_class.full_signature: @Override public DRes<SInt> mult(DRes<SInt> a, DRes<SInt> b)
focal_class.identifier: mult
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SInt> a, DRes<SInt> b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> mult(DRes<SInt> a, DRes<SInt> b)
focal_class.class_method_signature: NumericLoggingDecorator.mult(BigInteger a, DRes<SInt> b)
focal_class.full_signature: @Override public DRes<SInt> mult(BigInteger a, DRes<SInt> b)
focal_class.identifier: mult
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger a, DRes<SInt> b)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> mult(BigInteger a, DRes<SInt> b)
focal_class.class_method_signature: NumericLoggingDecorator.randomBit()
focal_class.full_signature: @Override public DRes<SInt> randomBit()
focal_class.identifier: randomBit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> randomBit()
focal_class.class_method_signature: NumericLoggingDecorator.randomElement()
focal_class.full_signature: @Override public DRes<SInt> randomElement()
focal_class.identifier: randomElement
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> randomElement()
focal_class.class_method_signature: NumericLoggingDecorator.known(BigInteger value)
focal_class.full_signature: @Override public DRes<SInt> known(BigInteger value)
focal_class.identifier: known
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger value)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> known(BigInteger value)
focal_class.class_method_signature: NumericLoggingDecorator.input(BigInteger value, int inputParty)
focal_class.full_signature: @Override public DRes<SInt> input(BigInteger value, int inputParty)
focal_class.identifier: input
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger value, int inputParty)
focal_class.return: DRes<SInt>
focal_class.signature: DRes<SInt> input(BigInteger value, int inputParty)
focal_class.class_method_signature: NumericLoggingDecorator.open(DRes<SInt> secretShare)
focal_class.full_signature: @Override public DRes<BigInteger> open(DRes<SInt> secretShare)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SInt> secretShare)
focal_class.return: DRes<BigInteger>
focal_class.signature: DRes<BigInteger> open(DRes<SInt> secretShare)
focal_class.class_method_signature: NumericLoggingDecorator.open(DRes<SInt> secretShare, int outputParty)
focal_class.full_signature: @Override public DRes<BigInteger> open(DRes<SInt> secretShare, int outputParty)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SInt> secretShare, int outputParty)
focal_class.return: DRes<BigInteger>
focal_class.signature: DRes<BigInteger> open(DRes<SInt> secretShare, int outputParty)
focal_class.class_method_signature: NumericLoggingDecorator.reset()
focal_class.full_signature: @Override public void reset()
focal_class.identifier: reset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: NumericLoggingDecorator.getLoggedValues()
focal_class.full_signature: @Override public Map<String, Long> getLoggedValues()
focal_class.identifier: getLoggedValues
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Long>
focal_class.signature: Map<String, Long> getLoggedValues()
focal_method.body: @Override
    public void reset() {
      this.multCount = 0;
      this.addCount = 0;
      this.subCount = 0;
      this.bitCount = 0;
      this.randElmCount = 0;
    }
focal_method.class_method_signature: NumericLoggingDecorator.reset()
focal_method.full_signature: @Override public void reset()
focal_method.identifier: reset
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void reset()