Skip to content

Commit

Permalink
update ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-georgiou-sonarsource committed Aug 10, 2023
1 parent 6195d0e commit 1bc0abf
Show file tree
Hide file tree
Showing 9 changed files with 554 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"issues": [
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'True'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Ember%20Media%20Manager/dlgSettings.vb#L105",
"region": {
"startLine": 105,
"startColumn": 12,
"endLine": 105,
"endColumn": 26
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"issues": [
{
"id": "S2583",
"message": "Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable.",
"location": [
{
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPILocalization.vb#L242",
"region": {
"startLine": 242,
"startColumn": 32,
"endLine": 242,
"endColumn": 48
}
},
{
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPILocalization.vb#L245",
"region": {
"startLine": 245,
"startColumn": 29,
"endLine": 245,
"endColumn": 130
}
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"issues": [
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPIHTTP.vb#L275",
"region": {
"startLine": 275,
"startColumn": 66,
"endLine": 275,
"endColumn": 76
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPIHTTP.vb#L308",
"region": {
"startLine": 308,
"startColumn": 20,
"endLine": 308,
"endColumn": 30
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPIHTTP.vb#L311",
"region": {
"startLine": 311,
"startColumn": 24,
"endLine": 311,
"endColumn": 34
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPIHTTP.vb#L314",
"region": {
"startLine": 314,
"startColumn": 28,
"endLine": 314,
"endColumn": 38
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPINFO.vb#L461",
"region": {
"startLine": 461,
"startColumn": 32,
"endLine": 461,
"endColumn": 49
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'True'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPINFO.vb#L706",
"region": {
"startLine": 706,
"startColumn": 24,
"endLine": 706,
"endColumn": 34
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'True'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/EmberAPI/clsAPINFO.vb#L978",
"region": {
"startLine": 978,
"startColumn": 20,
"endLine": 978,
"endColumn": 30
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"issues": [
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/generic.EmberCore.MovieExport/dlgExportMovies.vb#L367",
"region": {
"startLine": 367,
"startColumn": 24,
"endLine": 367,
"endColumn": 31
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/generic.EmberCore.MovieExport/dlgExportMovies.vb#L754",
"region": {
"startLine": 754,
"startColumn": 20,
"endLine": 754,
"endColumn": 39
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"issues": [
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'True'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/generic.EmberCore.XBMC/Module.XBMCxCom.vb#L404",
"region": {
"startLine": 404,
"startColumn": 30,
"endLine": 404,
"endColumn": 40
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"issues": [
{
"id": "S2583",
"message": "Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable.",
"location": [
{
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/scraper.EmberCore/TVScraper/dlgTVImageSelect.vb#L989",
"region": {
"startLine": 989,
"startColumn": 16,
"endLine": 989,
"endColumn": 31
}
},
{
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/scraper.EmberCore/TVScraper/dlgTVImageSelect.vb#L989",
"region": {
"startLine": 989,
"startColumn": 43,
"endLine": 989,
"endColumn": 56
}
},
{
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/scraper.EmberCore/TVScraper/dlgTVImageSelect.vb#L992",
"region": {
"startLine": 992,
"startColumn": 13,
"endLine": 992,
"endColumn": 58
}
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"issues": [
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/scraper.EmberCore/TVScraper/clsScrapeTVDB.vb#L674",
"region": {
"startLine": 674,
"startColumn": 44,
"endLine": 674,
"endColumn": 68
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/scraper.EmberCore/TVScraper/clsScrapeTVDB.vb#L694",
"region": {
"startLine": 694,
"startColumn": 40,
"endLine": 694,
"endColumn": 64
}
}
},
{
"id": "S2589",
"message": "Change this condition so that it does not always evaluate to 'False'.",
"location": {
"uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Ember-MM/Addons/scraper.EmberCore/TVScraper/clsScrapeTVDB.vb#L715",
"region": {
"startLine": 715,
"startColumn": 48,
"endLine": 715,
"endColumn": 72
}
}
}
]
}
Loading

0 comments on commit 1bc0abf

Please sign in to comment.