75a053cd12ec210c70e5140289e2106434e60d62,w3af/core/controllers/core_helpers/status.py,CoreStatus,get_crawl_input_speed,#CoreStatus#,214

Before Change



    def get_crawl_input_speed(self):
        dc = self._w3af_core.strategy.get_discovery_consumer()
        return None if dc is None else round_or_None(dc.in_queue.get_input_rpm())

    def get_crawl_output_speed(self):
        dc = self._w3af_core.strategy.get_discovery_consumer()
        return None if dc is None else round_or_None(dc.in_queue.get_output_rpm())

After Change



    def get_crawl_input_speed(self):
        dc = self._w3af_core.strategy.get_discovery_consumer()
        return 0 if dc is None else dc.in_queue.get_input_rpm()

    def get_crawl_output_speed(self):
        dc = self._w3af_core.strategy.get_discovery_consumer()
        return 0 if dc is None else dc.in_queue.get_output_rpm()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: andresriancho/w3af
Commit Name: 75a053cd12ec210c70e5140289e2106434e60d62
Time: 2018-07-23
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/core_helpers/status.py
Class Name: CoreStatus
Method Name: get_crawl_input_speed


Project Name: andresriancho/w3af
Commit Name: 75a053cd12ec210c70e5140289e2106434e60d62
Time: 2018-07-23
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/core_helpers/status.py
Class Name: CoreStatus
Method Name: get_audit_input_speed


Project Name: andresriancho/w3af
Commit Name: 75a053cd12ec210c70e5140289e2106434e60d62
Time: 2018-07-23
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/core_helpers/status.py
Class Name: CoreStatus
Method Name: get_grep_input_speed