e6a540f792db2f72147600110aeef26d66fc5c2d,w3af/plugins/tests/audit/test_redos.py,TestREDoS,test_found_redos,#TestREDoS#,40

Before Change


        self.assertEquals(2, len(vulns), vulns)
        
        expected_parameters = {"username", "password"}
        vuln_parameters = set([v.get_token_name() for v in vulns])
        
        self.assertEqual(expected_parameters, vuln_parameters)

After Change


        vulns = self.kb.get("redos", "redos")
        
        expected = [("re", "redos")]
        self.assertExpectedVulnsFound(expected, vulns)
        self.assertAllVulnNamesEqual("ReDoS vulnerability", vulns)


class TestREDoSNegative(PluginTest):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 5

Instances


Project Name: andresriancho/w3af
Commit Name: e6a540f792db2f72147600110aeef26d66fc5c2d
Time: 2018-01-04
Author: andres.riancho@gmail.com
File Name: w3af/plugins/tests/audit/test_redos.py
Class Name: TestREDoS
Method Name: test_found_redos


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 2f02fc841773a2e2efba400f5cecfe294c31de10
Time: 2020-04-16
Author: saulomastelini@gmail.com
File Name: tests/trees/test_isoup_tree.py
Class Name:
Method Name: test_isoup_tree_coverage


Project Name: undertheseanlp/underthesea
Commit Name: 89ad361f08dca73d8f94608c99c729e9987a011d
Time: 2017-10-11
Author: brother.rain.1024@gmail.com
File Name: tests/chunking/test_chunk.py
Class Name: TestChunk
Method Name: test_accuracy


Project Name: arogozhnikov/einops
Commit Name: e89370c2cf1ef9c7f97246b7cfc1de2c73c8c565
Time: 2020-05-23
Author: iamfullofspam@gmail.com
File Name: einops/einops.py
Class Name: TransformRecipe
Method Name: reconstruct_from_shape


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 2f02fc841773a2e2efba400f5cecfe294c31de10
Time: 2020-04-16
Author: saulomastelini@gmail.com
File Name: tests/trees/test_stacked_single_target_hoeffding_tree_regressor.py
Class Name:
Method Name: test_hoeffding_tree_coverage


Project Name: ntucllab/libact
Commit Name: b9aadc05cf2eebe34dda99c47cc727743e911aa2
Time: 2015-11-30
Author: wu1988100483@gmail.com
File Name: libact/labelers/ideal_labeler.py
Class Name: IdealLabeler
Method Name: __init__


Project Name: arogozhnikov/einops
Commit Name: 3244bdf76f1a7aafff39df990913946d565e790f
Time: 2020-05-22
Author: iamfullofspam@gmail.com
File Name: einops/einops.py
Class Name: TransformRecipe
Method Name: reconstruct_from_shape