6d14ed3ffe70d30e10ceef52b17ffcb54a405b74,w3af/core/controllers/profiling/scan_log_analysis.py,,show_timeout,#Any#,423

Before Change


            timeouts.append(float(match.group(1)))
            timeout_timestamps.append(get_line_epoch(line))

    last_timestamp = get_line_epoch(line)

    if not timeouts:
        print("No socket timeout data found")
        return

After Change


            timeouts.append(float(match.group(1)))
            timeout_timestamps.append(get_line_epoch(line))

    first_timestamp = get_first_timestamp(scan)
    last_timestamp = get_last_timestamp(scan)
    spent_time_epoch = last_timestamp - first_timestamp
    timeout_timestamps = [ts - first_timestamp for ts in timeout_timestamps]

    if not timeouts:
        print("No socket timeout data found")
        return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 13

Instances


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_timeout


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_timeout


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_connection_pool_wait


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_active_threads


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_queue_size_crawl


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_worker_pool_size


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_queue_size_audit


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_queue_size_grep