de862a87aa70488369fc30a0c9534c5bd88c99a7,logger/xp.py,Experiment,SumMetric,#Experiment#Any#Any#,80

Before Change


        assert name not in list(self.metrics[tag].keys()), \
            "metric with tag {} and name {} already exists".format(tag, name)

        metric = SumMetric_(name, tag)
        self.metrics[tag][name] = metric

        return metric

    def ParentWrapper(self, name, tag="default", children=()):

        for child in children:

After Change


        return self.NewMetric_(name, tag, TimeMetric_)

    def SumMetric(self, name, tag="default"):
        return self.NewMetric_(name, tag, SumMetric_)

    def ParentWrapper(self, name, tag="default", children=()):

        for child in children:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: oval-group/logger
Commit Name: de862a87aa70488369fc30a0c9534c5bd88c99a7
Time: 2017-05-03
Author: leonardbj@hotmail.fr
File Name: logger/xp.py
Class Name: Experiment
Method Name: SumMetric


Project Name: oval-group/logger
Commit Name: de862a87aa70488369fc30a0c9534c5bd88c99a7
Time: 2017-05-03
Author: leonardbj@hotmail.fr
File Name: logger/xp.py
Class Name: Experiment
Method Name: AvgMetric


Project Name: oval-group/logger
Commit Name: de862a87aa70488369fc30a0c9534c5bd88c99a7
Time: 2017-05-03
Author: leonardbj@hotmail.fr
File Name: logger/xp.py
Class Name: Experiment
Method Name: TimeMetric