2d25432a9c95f288997fb9a4d9009fdf18cd1acd,w3af/core/controllers/core_helpers/status.py,CoreStatus,get_audit_adjustment_ratio,#CoreStatus#,622
Before Change
// this we set a big adjustment ratio
//
if run_time < 30:
return Adjustment(unknown=AUDIT_DEFAULT_UNKNOWN_ADJUSTMENT_RATIO * 10.0)
if run_time < 60:
return Adjustment(unknown=AUDIT_DEFAULT_UNKNOWN_ADJUSTMENT_RATIO * 7.5)
if run_time < 120:
return Adjustment(unknown=AUDIT_DEFAULT_UNKNOWN_ADJUSTMENT_RATIO * 2.5)
if run_time < 180:
return Adjustment(unknown=AUDIT_DEFAULT_UNKNOWN_ADJUSTMENT_RATIO * 1.5)
return Adjustment(unknown=AUDIT_DEFAULT_UNKNOWN_ADJUSTMENT_RATIO)
def get_grep_adjustment_ratio(self):
After Change
return Adjustment(known=1, unknown=5)
if run_time < 60:
return Adjustment(known=1, unknown=3)
return Adjustment(known=0.9, unknown=2.5)
def get_grep_adjustment_ratio(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: andresriancho/w3af
Commit Name: 2d25432a9c95f288997fb9a4d9009fdf18cd1acd
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_adjustment_ratio
Project Name: andresriancho/w3af
Commit Name: 2d25432a9c95f288997fb9a4d9009fdf18cd1acd
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_adjustment_ratio
Project Name: andresriancho/w3af
Commit Name: 2d25432a9c95f288997fb9a4d9009fdf18cd1acd
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_adjustment_ratio
Project Name: andresriancho/w3af
Commit Name: 2d25432a9c95f288997fb9a4d9009fdf18cd1acd
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_adjustment_ratio