b10c11e8f77cafaef0e4cb12406c5c7d9adf2c2d,w3af/core/controllers/profiling/scan_log_analysis/data/file_sizes.py,,show_file_sizes,#Any#Any#,7

Before Change


    if latest_xml_size_line is None:
        return

    print(latest_xml_size_line)

After Change


    for line in scan:
        match = XML_OUTPUT_SIZE.search(line)
        if match:
            latest_xml_size = match.group(1)

    data = {"debug_log": stat_info.st_size,
            "xml_output": latest_xml_size}

    return KeyValueOutput("file_sizes", "output file sizes (bytes)", data)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: andresriancho/w3af
Commit Name: b10c11e8f77cafaef0e4cb12406c5c7d9adf2c2d
Time: 2018-10-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis/data/file_sizes.py
Class Name:
Method Name: show_file_sizes


Project Name: akkana/scripts
Commit Name: 58f3386dc1878e9d4ef38552c35c3c7f8909d95b
Time: 2019-05-10
Author: akkana@shallowsky.com
File Name: mpl_smart_dates.py
Class Name:
Method Name: test_interval


Project Name: Rostlab/nalaf
Commit Name: 38031f27041ca74754bdbd773588ef43935d3307
Time: 2015-09-27
Author: carsten.uhlig@gmail.com
File Name: nala/bootstrapping/__init__.py
Class Name: Iteration
Method Name: __init__