5e5e3c15078e705f9d91ac1dc3a425755dffbd2f,app/lib/CVEs.py,last,getcve,#last#,88

Before Change


                        e = g
                if self.subscorelookup:
                    e["exploitCVSS"]=(math.ceil(exploitabilityScore(e)*10)/10)
                    e["impactCVSS"]=(math.ceil(impactScore(e)*10)/10)
                e.pop("_id")
        else:
            e = None

After Change


                if self.subscorelookup:
                    exploitCVSS=exploitabilityScore(e)
                    impactCVSS =impactScore(e)
                    e["exploitCVSS"]=(math.ceil(exploitCVSS*10)/10) if type(exploitCVSS) is not str else exploitCVSS
                    e["impactCVSS"]=(math.ceil(impactCVSS*10)/10) if type(impactCVSS) is not str else impactCVSS
                e.pop("_id")
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: cve-search/cve-search
Commit Name: 5e5e3c15078e705f9d91ac1dc3a425755dffbd2f
Time: 2015-03-06
Author: pieterjan.moreels@gmail.com
File Name: app/lib/CVEs.py
Class Name: last
Method Name: getcve


Project Name: librosa/librosa
Commit Name: 1cdfcfa8a884ffb5f670812ee4b528a76f367be9
Time: 2016-05-07
Author: brian.mcfee@nyu.edu
File Name: librosa/core/constantq.py
Class Name:
Method Name: __fft_filters


Project Name: librosa/librosa
Commit Name: b7c2f6e9ccd65a53d8ae9aa0d3ee287ce9c93019
Time: 2014-02-07
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: estimate_tuning