e53c47b39cc62ad5d484e284ecef94668bb2a8c1,w3af/core/controllers/profiling/scan_log_analysis.py,,show_total_http_requests,#Any#,95
Before Change
count = 0
for line in scan:
if "returned HTTP code" in line:
count += 1
print("The scan sent %s HTTP requests" % count)
def show_freeze_locations(scan):
After Change
for line in scan:
match = HTTP_CODE_RE.search(line)
if match:
code = match.group(1)
if code in count:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: andresriancho/w3af
Commit Name: e53c47b39cc62ad5d484e284ecef94668bb2a8c1
Time: 2018-01-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_total_http_requests
Project Name: scipy/scipy
Commit Name: 4ab211d6dd50c043cacd24db93a6bc64cfdb9ed5
Time: 2017-07-21
Author: pav@iki.fi
File Name: tools/validate_runtests_log.py
Class Name:
Method Name:
Project Name: MolSSI/QCEngine
Commit Name: 0003e408505b4634961af84c1bd0f1503fe92f95
Time: 2020-07-30
Author: lori.burns@gmail.com
File Name: qcengine/programs/qchem.py
Class Name: QChemHarness
Method Name: get_version