*****Example input file Starts here *
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile1.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L51
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile2.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L43
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile3.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L43
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile4.java
Equality tests should not be made with floating point values. 7 days ago
L86
Bug misra
Critical
Open
Not assigned
5min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile5.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L65
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L83
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L86
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile6.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L108
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L110
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L131
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L133
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L158
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L160
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L185
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L214
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L237
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L263
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L265
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L31
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L146
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L199
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L293
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago
L310
Vulnerability cwe, error-handling
Critical
Open
Not assigned
20min effort
*****Example input file Ends here *
***Expected output example Start****
File Name Type Severity Line Solution Time to Fix Status Assigned
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L31 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L146 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L199 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L293 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L310 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned
* Powershell script Begin*** $input = Get-Content input.txt $array = @() $RecordPosition = 1 $input | foreach-object { $writeobj = $false $obj = New-Object System.Object
} $array | Export-Csv -path output$(((get-date).ToUniversalTime()).ToString("yyyyMMddThhmmssZ")).csv -NoTypeInformation ***** Powershell Script Ends ****
*****Example input file Starts here * Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile1.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago L51
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile2.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago L43
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile3.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago L43
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile4.java
Equality tests should not be made with floating point values. 7 days ago L86
Bug misra Critical
Open
Not assigned
5min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile5.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago L65
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L83
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L86
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile6.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago L108
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L110
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L131
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L133
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L158
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L160
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L185
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L214
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L237
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L263
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L265
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java
Define and throw a dedicated exception instead of using a generic one. 7 days ago L31
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L146
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L199
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L293
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
Define and throw a dedicated exception instead of using a generic one. 7 days ago L310
Vulnerability cwe, error-handling Critical
Open
Not assigned
20min effort
*****Example input file Ends here * ***Expected output example Start****
File Name Type Severity Line Solution Time to Fix Status Assigned Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L31 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L146 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L199 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L293 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned Java :: Test_Trunk :: SonarQube Scanner src/Test/Testfile7.java Vulnerabilty Critical L310 Define and throw a dedicated exception instead of using a generic one. 20min effort Open Not assigned
** Expected out example End *****