浏览代码

sonarqube Work

/sonarqube_run
Jacob 2 年前
当前提交
e33ec199
共有 45 个文件被更改,包括 6717 次插入26 次删除
  1. 998
      Assets/Art/Font/CheckboxFLF SDF.asset
  2. 10
      Packages/manifest.json
  3. 28
      Packages/packages-lock.json
  4. 11
      ProjectSettings/ProjectSettings.asset
  5. 4
      ProjectSettings/ProjectVersion.txt
  6. 15
      .DS_Store
  7. 3
      Assets/.DS_Store
  8. 1
      ProjectSettings/.DS_Store
  9. 16
      ProjectSettings/BurstAotSettings_StandaloneOSX.json
  10. 167
      ProjectSettings/SceneTemplateSettings.json
  11. 1001
      .sonarqube/bin/SonarScanner.MSBuild.Common.dll
  12. 486
      .sonarqube/bin/SonarScanner.MSBuild.Tasks.dll
  13. 618
      .sonarqube/bin/targets/SonarQube.Integration.targets
  14. 23
      .sonarqube/conf/0/FilesToAnalyze.txt
  15. 1
      .sonarqube/conf/0/ProjectOutFolderPath.txt
  16. 8
      .sonarqube/conf/0/SonarProjectConfig.xml
  17. 83
      .sonarqube/conf/1/FilesToAnalyze.txt
  18. 1
      .sonarqube/conf/1/ProjectOutFolderPath.txt
  19. 8
      .sonarqube/conf/1/SonarProjectConfig.xml
  20. 416
      .sonarqube/conf/Sonar-cs-none.ruleset
  21. 416
      .sonarqube/conf/Sonar-cs.ruleset
  22. 169
      .sonarqube/conf/Sonar-vbnet-none.ruleset
  23. 169
      .sonarqube/conf/Sonar-vbnet.ruleset
  24. 209
      .sonarqube/conf/SonarQubeAnalysisConfig.xml
  25. 844
      .sonarqube/conf/cs/SonarLint.xml
  26. 453
      .sonarqube/conf/vbnet/SonarLint.xml
  27. 87
      .sonarqube/out/0/Issues.json
  28. 18
      .sonarqube/out/0/ProjectInfo.xml
  29. 443
      .sonarqube/out/1/Issues.json
  30. 13
      ProjectSettings/Packages/com.unity.services.vivox/Settings.json
  31. 24
      UserSettings/EditorUserSettings.asset

998
Assets/Art/Font/CheckboxFLF SDF.asset
文件差异内容过多而无法显示
查看文件

10
Packages/manifest.json


{
"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.collab-proxy": "1.11.2",
"com.unity.collab-proxy": "1.15.13",
"com.unity.ide.visualstudio": "2.0.11",
"com.unity.ide.vscode": "1.2.4",
"com.unity.ide.visualstudio": "2.0.14",
"com.unity.ide.vscode": "1.2.5",
"com.unity.render-pipelines.universal": "10.6.0",
"com.unity.render-pipelines.universal": "10.8.1",
"com.unity.services.authentication": "1.0.0-pre.6",
"com.unity.services.core": "1.1.0-pre.11",
"com.unity.services.lobby": "1.0.0-pre.6",

"com.unity.test-framework": "1.1.29",
"com.unity.test-framework": "1.1.31",
"com.unity.textmeshpro": "3.0.6",
"com.unity.toolchain.win-x86_64-linux-x86_64": "0.1.20-preview",
"com.unity.transport": "1.0.0-pre.9",

28
Packages/packages-lock.json


"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "1.11.2",
"version": "1.15.13",
"dependencies": {},
"dependencies": {
"com.unity.services.core": "1.0.1"
},
"url": "https://packages.unity.com"
},
"com.unity.collections": {

"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.11",
"version": "2.0.14",
"depth": 0,
"source": "registry",
"dependencies": {

},
"com.unity.ide.vscode": {
"version": "1.2.4",
"version": "1.2.5",
"depth": 0,
"source": "registry",
"dependencies": {},

"url": "https://packages.unity.com"
},
"com.unity.render-pipelines.core": {
"version": "10.6.0",
"version": "10.8.1",
"com.unity.ugui": "1.0.0"
"com.unity.ugui": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
"version": "10.6.0",
"version": "10.8.1",
"com.unity.render-pipelines.core": "10.6.0",
"com.unity.shadergraph": "10.6.0"
"com.unity.render-pipelines.core": "10.8.1",
"com.unity.shadergraph": "10.8.1"
},
"url": "https://packages.unity.com"
},

"url": "https://packages.unity.com"
},
"com.unity.shadergraph": {
"version": "10.6.0",
"version": "10.8.1",
"com.unity.render-pipelines.core": "10.6.0",
"com.unity.render-pipelines.core": "10.8.1",
"com.unity.searcher": "4.3.2"
},
"url": "https://packages.unity.com"

"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.29",
"version": "1.1.31",
"depth": 0,
"source": "registry",
"dependencies": {

11
ProjectSettings/ProjectSettings.asset


targetDevice: 2
useOnDemandResources: 0
accelerometerFrequency: 60
companyName: Unity
productName: Game-Lobby-Sample
companyName: Unity Technologies
productName: Game Lobby Sample
defaultCursor: {fileID: 2800000, guid: 9367b4ce9024f5b4090fabc2941d2116, type: 3}
cursorHotspot: {x: 0, y: 0}
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}

16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.0
bundleVersion: 1.1
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0

androidSupportedAspectRatio: 1
androidMaxAspectRatio: 2.1
applicationIdentifier:
Standalone: com.unity.services.samples.lobby-rooms
Standalone: com.unity.services.samples.game-lobby
buildNumber:
Standalone: 0
iPhone: 0

switchPlayerConnectionEnabled: 1
switchUseNewStyleFilepaths: 0
switchUseMicroSleepForYield: 1
switchEnableRamDiskSupport: 0
switchRamDiskSpaceSize: 12
ps4NPAgeRating: 12
ps4NPTitleSecret:
ps4NPTrophyPackPath:

metroFTAName:
metroFTAFileTypes: []
metroProtocolName:
vcxProjDefaultLanguage:
XboxOneProductId:
XboxOneUpdateKey:
XboxOneSandboxId:

4
ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2020.3.20f1
m_EditorVersionWithRevision: 2020.3.20f1 (41c4e627c95f)
m_EditorVersion: 2020.3.31f1
m_EditorVersionWithRevision: 2020.3.31f1 (6b54b7616050)

15
.DS_Store


Bud1   .Ilocblob  @� @� @� @..gitIlocblob�������.gitlg1ScompЖf.gitmoDDblob�Svn��A.gitmodDblob�Svn��A.gitph1Scomp�P
.gitignoreIlocblob�������.ideaIlocblobg������
.sonarqubeIlocblob�������.vsIlocblob�~������.yamatoIlocblob ������.yamatobwspblob�bplist00�

]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{1168, 1332}, {1174, 706}} %1=I`myz{|}~��.yamatolg1Scomp.yamatomoDDblob҄<'��A.yamatomodDblob҄<'��A.yamatoph1Scomp.yamatovSrnlongAssetsIlocblob�.������Assetslg1Scomp�AssetsmoDDblobM���s��AAssetsmodDblobM���s��AAssetsph1Scomp"�)com.unity.services.samples.game-lobby.slnIlocblob��������LibraryIlocblobg.������
LICENSE.mdIlocblob.������LogsIlocblob��������objIlocblobA~������PackagesIlocblob�.������Packageslg1ScompC�PackagesmoDDblob$���s��APackagesmodDblob$���s��APackagesph1ScompPProjectSettingsIlocblob�.������ProjectSettingsbwspblob�bplist00�

]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{506, 1860}, {920, 436}} %1=I`myz{|}~��ProjectSettingsicvpblob�bplist00�
_backgroundColorBlue[gridSpacingXtextSize_backgroundColorRed^backgroundType_backgroundColorGreen[gridOffsetX[gridOffsetY_scrollPositionY\showItemInfo_viewOptionsVersion_scrollPositionXYarrangeBy]labelOnBottomXiconSize_showIconPreview#?�#@K#@(##@s@Tnone #@P +AMVkz��������"+4=?HQRTYZcdProjectSettingslg1Scomp�@ProjectSettingsmoDDblobE��(v��AProjectSettingsmodDblobE��(v��AProjectSettingsph1Scomp@ProjectSettingsvSrnlong README.mdIlocblobA������� UserSettingsIlocblob�.������~DocumentationIlocblobA.������~Documentationlg1Scomp�*~DocumentationmoDDblob�1��s��A~DocumentationmodDblob�1��s��A~Documentationph1Scomp� E DSDB `�(0@� @� @PackagesIlocblob�.������Packageslg1ScompC�PackagesmoDDblob$���s��APackagesmodDblob$���s��APackagesph1ScompPProjectSettingsIlocblob�.������ProjectSettingsbwspblob�bplist00�

]ShowStatusBar[ShowPathbar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar  _{{506, 1860}, {920, 436}} %1=I`myz{|}~��ProjectSettingsicvpblob�bplist00�
_backgroundColorBlue[gridSpacingXtextSize_backgroundColorRed^backgroundType_backgroundColorGreen[gridOffsetX[gridOffsetY_scrollPositionY\showItemInfo_viewOptionsVe

3
Assets/.DS_Store


Bud1
1Scomp�Artlg1Scomp�>�ArtmoDDblob�^x�s��AArtmodDblob�^x�s��AArtph1Scomp��Prefabslg1Scomp��PrefabsmoDDblob�ay�s��APrefabsmodDblob�ay�s��APrefabsph1Scomp�Rendererlg1Scomp�RenderermoDDblob��{�s��ARenderermodDblob��{�s��ARendererph1Scomp@Sceneslg1Scomp�/ScenesmoDDblob��{�s��AScenesmodDblob��{�s��AScenesph1ScompScriptslg1Scomp yScriptsmoDDblob��{�s��AScriptsmodDblob��{�s��AScriptsph1Scomp� TextMesh Prolg1Scomp:�� TextMesh PromoDDbloba�n�s��A TextMesh PromodDbloba�n�s��A TextMesh Proph1Scomp>`  @� @� @� @ E
DSDB `� @� @� @

1
ProjectSettings/.DS_Store
文件差异内容过多而无法显示
查看文件

16
ProjectSettings/BurstAotSettings_StandaloneOSX.json


{
"MonoBehaviour": {
"Version": 4,
"EnableBurstCompilation": true,
"EnableOptimisations": true,
"EnableSafetyChecks": false,
"EnableDebugInAllBuilds": false,
"UsePlatformSDKLinker": false,
"CpuMinTargetX32": 0,
"CpuMaxTargetX32": 0,
"CpuMinTargetX64": 0,
"CpuMaxTargetX64": 0,
"CpuTargetsX64": 72,
"OptimizeFor": 0
}
}

167
ProjectSettings/SceneTemplateSettings.json


{
"templatePinStates": [],
"dependencyTypeInfos": [
{
"userAdded": false,
"type": "UnityEngine.AnimationClip",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Animations.AnimatorController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.AnimatorOverrideController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Audio.AudioMixerController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ComputeShader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Cubemap",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.GameObject",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.LightingDataAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.LightingSettings",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Material",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.MonoScript",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicMaterial",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicsMaterial2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.VolumeProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.SceneAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.Shader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ShaderVariantCollection",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Timeline.TimelineAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
}
],
"defaultDependencyTypeInfo": {
"userAdded": false,
"type": "<default_scene_template_dependencies>",
"ignore": false,
"defaultInstantiationMode": 1,
"supportsModification": true
},
"newSceneOverride": 0
}

1001
.sonarqube/bin/SonarScanner.MSBuild.Common.dll
文件差异内容过多而无法显示
查看文件

486
.sonarqube/bin/SonarScanner.MSBuild.Tasks.dll
文件差异内容过多而无法显示
查看文件

618
.sonarqube/bin/targets/SonarQube.Integration.targets


<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
This file contains targets to integrate SonarQube and MSBuild.
The targets will produce an output folder structure containing information required by the sonar-scanner.
A subdirectory will be created for each MSBuild project. Information about the project
will be written to a file called "ProjectInfo.xml". Additional files may also be written
containing information required by different analyzers. In particular, a file will be written
containing the list of files in the project that should be analyzed by the sonar-scanner.
The output will only be produced if the property $(SonarQubeTempPath) and is specified.
$(SonarQubeTempPath) is the root folder under which per-analysis output should be written.
Excluding projects and files from SonarQube analysis
****************************************************
Individual projects can excluded from SonarQube analysis by setting the property $(SonarQubeExclude) e.g.
<SonarQubeExclude>true</SonarQubeExclude>
Individual files can be excluded from analysis by setting the <SonarQubeExclude> metadata item e.g.
<Compile Include="Logger.cs">
<SonarQubeExclude>true</SonarQubeExclude>
</Compile>
Project is also excluded if it's recognized as a Fakes or a Temp project. These projects are auto-generated.
Test projects
*************
The analysis performed by SonarQube varies depending on whether a project is a test project or not.
A project can be explicitly marked as being a test or product project by setting the property $(SonarQubeTestProject) e.g.
<SonarQubeTestProject>true</SonarQubeTestProject>
If $(SonarQubeTestProject) is not set explicitly then the project is categorized as a Test project if:
* Is a Fakes or a Temp project explicitly marked as SonarQubeExclude=false
* Has one of the expected test project GUIDs ("3AC096D0-A1C2-E12C-1390-A8335801FDAB" or legacy "82A7F48D-3B50-4B1E-B82E-3ADA8210C358").
* Has a TestContainer project capability.
* References a known unit test related assembly.
* Deprecated: Project name matches "sonar.msbuild.testProjectPattern" parameter. Use SonarQubeTestProject=true instead.
Otherwise it is a Product project.
Supplying analysis setting in a project file
********************************************
Project-level analysis settings can be specified in a project file using following
syntax:
<ItemGroup>
<SonarQubeSetting Include="sonar.my.analysis.setting">
<Value>42</Value>
</SonarQubeSetting>
</ItemGroup>
Settings specified in the project file will override those specified on the SonarQube server.
Specifying additional types of file to be analysed
**************************************************
The Scanner for MSBuild will automatically collect all of the common
file types that can be analysed by the various Sonar language plugins
(e.g. C# files, TypeScript, TSQL, C++ include and source files etc).
The full list of item types that will be included for analysis is
specified in $(SQAnalysisFileItemTypes) property below.
If you have any additional item types that you want to have analyzed,
you can specify them setting the property $(SQAdditionalAnalysisFileItemTypes)
in the project being analysed e.g.
<SQAdditionalAnalysisFileItemTypes>MyCustomFileType1;MyCustomFileType</SQAdditionalAnalysisFileItemTypes>
Specific handling of Razor builds
**************************************************
During the compilation of an SDK-style MSBuild project with Razor, MSBuild executes 2 build targets:
CoreCompile to compile the main code and RazorCoreCompile to compile ".cshtml" view files.
Since it is not possible to execute one target more than once, there's a logic that prevents RazorCoreCompile
from overriding output files from CoreCompile step:
* CoreCompile produces output files in directory "X", where X represents project specific unique number.
* Directory "X" with CoreCompile results is renamed to "X.tmp" before RazorCoreCompile and new empty directory "X" is prepared.
* RazorCoreCompile produces its output to the current directory "X".
* Directory "X" with Razor output is renamed to "X.Razor".
* Directory "X.tmp" with original output is renamed back to "X".
-->
<!-- **************************************************************************** -->
<!-- SonarQube MSBuild Integration implementation logic -->
<!-- **************************************************************************** -->
<!-- Note: where possible, these targets avoid taking dependencies on specific
managed or C++- targets e.g. they use
"AfterTargets='Build'" which is general rather than
"AfterTargets='CoreCompile'" which is specific to managed projects.
-->
<!-- Safeguard against importing this .targets file multiple times -->
<PropertyGroup>
<SonarQubeTargetsImported>true</SonarQubeTargetsImported>
</PropertyGroup>
<!-- Set defaults if explicit values have not been provided -->
<PropertyGroup Condition=" $(SonarQubeTempPath) != '' ">
<SonarQubeConfigPath Condition=" $(SonarQubeConfigPath) == '' ">$(SonarQubeTempPath)\conf</SonarQubeConfigPath>
<SonarQubeOutputPath Condition=" $(SonarQubeOutputPath) == '' ">$(SonarQubeTempPath)\out</SonarQubeOutputPath>
<!-- Specify the ItemGroups to be analyzed -->
<SQAnalysisFileItemTypes Condition=" $(SQAnalysisFileItemTypes) == '' ">AndroidEnvironment;AndroidJavaSource;AndroidResource;ApplicationDefinition;Build;ClCompile;ClInclude;Compile;Content;DeploymentExtensionConfiguration;EmbeddedResource;EntityDeploy;None;Page;PostDeploy;PRIResource;PreDeploy;RefactorLog;Resource;Script;ScriptCode;TypeScriptCompile;$(SQAdditionalAnalysisFileItemTypes)</SQAnalysisFileItemTypes>
</PropertyGroup>
<!-- **************************************************************************** -->
<!-- Using tasks -->
<!-- **************************************************************************** -->
<PropertyGroup Condition=" $(SonarQubeTempPath) != '' AND $(SonarQubeBuildTasksAssemblyFile) == '' ">
<!-- Assume that the tasks assembly is in the same location as this targets file
or in a parent directory unless another location has already been specified. -->
<SonarQubeBuildTasksAssemblyFile>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), SonarScanner.MSBuild.Tasks.dll))\SonarScanner.MSBuild.Tasks.dll</SonarQubeBuildTasksAssemblyFile>
</PropertyGroup>
<!-- Unescape the paths to work around the issue "MSBuild 4.0 UsingTask cannot have a path with parentheses".
See https://connect.microsoft.com/VisualStudio/feedback/details/713690/msbuild-4-0-usingtask-cannot-have-a-path-with-parentheses -->
<UsingTask TaskName="WriteProjectConfigFile" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<UsingTask TaskName="WriteProjectInfoFile" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<UsingTask TaskName="IsTestFileByName" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<UsingTask TaskName="IsTestByReference" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<UsingTask TaskName="GetAnalyzerSettings" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<UsingTask TaskName="MakeUniqueDir" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<UsingTask TaskName="WriteZeroLengthFiles" AssemblyFile="$([MSBUILD]::Unescape($(SonarQubeBuildTasksAssemblyFile)))" />
<!-- **************************************************************************** -->
<!-- **************************************************************************** -->
<!-- Targets -->
<!-- **************************************************************************** -->
<!-- **************************************************************************** -->
<Target Name="SkippingSonarQubeAnalysis" BeforeTargets="Build"
Condition=" $(SonarQubeTempPath) == '' ">
<Message Importance="high" Text="Sonar: ($(MSBuildProjectFile)) Skipping dumping compile outputs because SonarQubeTempPath has not been specified" />
</Target>
<Target Name="FailIfLowerThanMSBuild14"
Condition=" $(SonarQubeTempPath) != '' AND $(MSBuildToolsVersion) != '14.0' AND $(MSBuildToolsVersion) != '15.0' AND $(MSBuildToolsVersion) != 'Current'"
BeforeTargets="Build">
<Message Importance="high" Text="Sonar: ($(MSBuildProjectFile)) Current MSBuildToolsVersion: $(MSBuildToolsVersion)" />
<Message Importance="high" Text="Sonar: ($(MSBuildProjectFile)) Current MSBuildAssemblyVersion: $(MSBuildAssemblyVersion)" />
<Error Text="SonarQube analysis is only supported with MSBuild 14 or later." />
</Target>
<Target Name="SonarResolveReferencesMsBuild14"
AfterTargets="ResolveAssemblyReferences"
Condition=" $(SonarQubeTempPath) != '' AND $(MSBuildToolsVersion) == '14.0'">
<ItemGroup>
<SonarResolvedReferences Include="@(%(ReferencePath.FusionName))" />
</ItemGroup>
</Target>
<Target Name="SonarResolveReferences"
AfterTargets="FindReferenceAssembliesForReferences"
Condition=" $(SonarQubeTempPath) != '' AND $(MSBuildToolsVersion) != '14.0'">
<ItemGroup>
<SonarResolvedReferences Include="@(%(ReferencePathWithRefAssemblies.FusionName))" />
</ItemGroup>
</Target>
<!-- **************************************************************************** -->
<!-- Categorize as a product or test project -->
<!-- **************************************************************************** -->
<!-- This target is a utility target: it won't be executed unless a target that depends on it is executed. -->
<Target Name="SonarCategoriseProject"
DependsOnTargets="SonarResolveReferencesMsBuild14;SonarResolveReferences"
Condition=" $(SonarQubeTempPath) != '' ">
<Message Text="Sonar: ($(MSBuildProjectFile)) Categorizing project as test or product code..." />
<Message Condition="$(SonarQubeTestProject) != ''" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) SonarQubeTestProject has been set explicitly to $(SonarQubeTestProject)." />
<!-- Fakes detection -->
<PropertyGroup>
<IsFakesProject Condition="$(AssemblyName.EndsWith('.fakes', System.StringComparison.OrdinalIgnoreCase))">true</IsFakesProject>
</PropertyGroup>
<!-- Before deciding to exclude or tag as test such a project, make sure it is not a legitimate project that happens to be called something.fakes
In this case, we require from the user to explicitely state whether the project is to be analyzed/considered a test project -->
<PropertyGroup Condition="$(IsFakesProject) == 'true' and $(SonarQubeExclude) == ''">
<SonarQubeExclude>true</SonarQubeExclude>
</PropertyGroup>
<PropertyGroup Condition="$(IsFakesProject) == 'true' and $(SonarQubeTestProject) == ''">
<SonarQubeTestProject>true</SonarQubeTestProject>
</PropertyGroup>
<Message Condition="$(IsFakesProject) == 'true' and $(SonarQubeExclude) == 'true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project is a temporary project generated by Microsoft Fakes and will be ignored." />
<!-- Temporary project detection -->
<!-- Some kinds of project have logic to trigger additional special builds based on the same project file
e.g. WPF projects build a temporary assembly before the main compilation takes place.
We only want to analyze the "normal" build of the project, so we should turn off analysis for the known cases. -->
<PropertyGroup>
<!-- Special case 1: WPF projects call the task Windows.GenerateTemporaryTargetAssembly in PresentationBuildTasks. -->
<IsTempProject Condition="$(MSBuildProjectFile.EndsWith('.tmp_proj', System.StringComparison.OrdinalIgnoreCase))">true</IsTempProject>
<IsTempProject Condition="$(MSBuildProjectFile.EndsWith('_wpftmp.csproj', System.StringComparison.OrdinalIgnoreCase))">true</IsTempProject>
<IsTempProject Condition="$(MSBuildProjectFile.EndsWith('_wpftmp.vbproj', System.StringComparison.OrdinalIgnoreCase))">true</IsTempProject>
</PropertyGroup>
<PropertyGroup Condition="$(IsTempProject) == 'true' AND $(SonarQubeExclude)==''" >
<SonarQubeExclude>true</SonarQubeExclude>
</PropertyGroup>
<Message Condition="$(IsTempProject) == 'true' AND $(SonarQubeExclude)=='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project is a temporary project and will be excluded." />
<PropertyGroup Condition=" $(SonarQubeTestProject) == '' ">
<!-- The MS Test project type guid -->
<SonarQubeMsTestProjectTypeGuid>3AC096D0-A1C2-E12C-1390-A8335801FDAB</SonarQubeMsTestProjectTypeGuid>
<tmpSonarHasMSTestProjectTypeGuid Condition=" $(ProjectTypeGuids.ToUpperInvariant().Contains('$(SonarQubeMsTestProjectTypeGuid)')) ">true</tmpSonarHasMSTestProjectTypeGuid>
<SonarQubeTestProject Condition=" $(tmpSonarHasMSTestProjectTypeGuid)=='true' ">true</SonarQubeTestProject>
</PropertyGroup>
<Message Condition="$(tmpSonarHasMSTestProjectTypeGuid)=='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project has the MSTest project type guid -> test project." />
<PropertyGroup Condition=" $(SonarQubeTestProject) == '' ">
<!-- The legacy Service tag added by the Test Explorer window -->
<tmpSQServiceList>@(Service)</tmpSQServiceList>
<tmpSonarHasServiceTag Condition="$(tmpSQServiceList.ToUpperInvariant().Contains('{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}')) ">true</tmpSonarHasServiceTag>
<SonarQubeTestProject Condition="$(tmpSonarHasServiceTag)=='true'">true</SonarQubeTestProject>
</PropertyGroup>
<Message Condition="$(tmpSonarHasServiceTag)=='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project has the legacy Test Explorer Service tag {82A7F48D-3B50-4B1E-B82E-3ADA8210C358} -> test project." />
<PropertyGroup Condition=" $(SonarQubeTestProject) == '' ">
<!-- The ProjectCapability for test projects -->
<tmpSQProjectCapabilities>@(ProjectCapability)</tmpSQProjectCapabilities>
<tmpSonarHasTestContainerCapability Condition="$(tmpSQProjectCapabilities.ToUpperInvariant().Contains('TESTCONTAINER')) ">true</tmpSonarHasTestContainerCapability>
<SonarQubeTestProject Condition="$(tmpSonarHasTestContainerCapability)=='true'">true</SonarQubeTestProject>
</PropertyGroup>
<Message Condition="$(tmpSonarHasTestContainerCapability)=='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project has the ProjectCapability 'TestContainer' -> test project." />
<IsTestByReference Condition=" $(SonarQubeTestProject) == '' "
References="@(SonarResolvedReferences)">
<Output TaskParameter="TestReference" PropertyName="tmpSonarTestReferenceResult" />
</IsTestByReference>
<PropertyGroup Condition=" $(SonarQubeTestProject) == '' ">
<SonarQubeTestProject Condition="$(tmpSonarTestReferenceResult)!=''">true</SonarQubeTestProject>
</PropertyGroup>
<Message Condition="$(tmpSonarTestReferenceResult)!=''" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project is evaluated as a test project based on the '$(tmpSonarTestReferenceResult)' reference." />
<!-- If we haven't already determined whether the project is a test project then check its path/name against the regular expression in the config file -->
<IsTestFileByName Condition=" $(SonarQubeTestProject) == '' "
AnalysisConfigDir="$(SonarQubeConfigPath)"
FullFilePath="$(MSBuildProjectFullPath)">
<Output TaskParameter="IsTest" PropertyName="tmpSonarIsTestFileByNameResult" />
</IsTestFileByName>
<PropertyGroup Condition=" $(SonarQubeTestProject) == '' ">
<SonarQubeTestProject>$(tmpSonarIsTestFileByNameResult)</SonarQubeTestProject>
</PropertyGroup>
<Message Condition="$(tmpSonarIsTestFileByNameResult)=='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) project is evaluated as a test project based on the project name." />
<Message Importance="normal" Condition="$(SonarQubeTestProject)=='false'" Text="Sonar: ($(MSBuildProjectFile)) categorized as MAIN project (production code)." />
<Message Importance="normal" Condition="$(SonarQubeTestProject)=='true'" Text="Sonar: ($(MSBuildProjectFile)) categorized as TEST project (test code)." />
</Target>
<!-- **************************************************************************** -->
<!-- Calculate the set of files to be analyzed -->
<!-- **************************************************************************** -->
<!-- This target is a utility target: it won't be executed unless a target that
depends on it is executed.
-->
<Target Name="SonarWriteFilesToAnalyze"
Condition=" $(SonarQubeTempPath) != '' ">
<!-- Include all of contents of the specified item groups, but exclude
any that have the metadata 'SonarQubeExclude' set, or that are auto-generated -->
<ItemGroup Condition="('$(SQAnalysisFileItemTypes)' != '')">
<SonarQubeAnalysisFileItems Include="$(SQAnalysisFileItemTypes)" />
<SonarQubeAnalysisFiles Include="@(%(SonarQubeAnalysisFileItems.Identity))" />
<SonarQubeAnalysisFiles Remove="@(SonarQubeAnalysisFiles)" Condition=" %(SonarQubeAnalysisFiles.SonarQubeExclude) == 'true' OR %(SonarQubeAnalysisFiles.AutoGen) == 'true' OR %(SonarQubeAnalysisFiles.FullPath) == '$(TargetFrameworkMonikerAssemblyAttributesPath)'" />
</ItemGroup>
<!-- Exclude items under the intermediate output folder e.g. XAML files that are auto-generated on build -->
<PropertyGroup>
<!-- Calculate the full path to the base intermediate folder -->
<SQFullIntermediateOutputPath>$([System.IO.Path]::Combine($(MSBuildProjectDirectory),$(BaseIntermediateOutputPath)))</SQFullIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<!-- Remove based on absolute path -->
<SQIntermediateFiles Include="$(SQFullIntermediateOutputPath)**\*.*" />
<!-- Remove based on relative path -->
<SQIntermediateFiles Include="$(BaseIntermediateOutputPath)**\*.*" />
<SonarQubeAnalysisFiles Remove="@(SQIntermediateFiles)" />
</ItemGroup>
<PropertyGroup>
<!-- Set a property indicating whether there are any files to analyze -->
<AnalysisFilesExist Condition=" @(SonarQubeAnalysisFiles) != '' ">true</AnalysisFilesExist>
</PropertyGroup>
<!-- Write the list of files -->
<PropertyGroup>
<!-- Set the file name for the list file -->
<AnalysisFileList>$(ProjectSpecificConfDir)\FilesToAnalyze.txt</AnalysisFileList>
</PropertyGroup>
<Message Condition="$(AnalysisFilesExist)!='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) No files were found to analyse" />
<Message Condition="$(AnalysisFilesExist)=='true'" Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) Number of files to analyse: @(SonarQubeAnalysisFiles->Count()). The list of files to be analyzed is in $(AnalysisFileList)." />
<!-- Write out a list of files to analyze that will be passed to the sonar-scanner -->
<WriteLinesToFile Condition=" $(AnalysisFilesExist) == 'true' "
File="$(AnalysisFileList)"
Lines="%(SonarQubeAnalysisFiles.FullPath)"
Overwrite="false"
Encoding="utf-8" />
</Target>
<Target Name="SonarCreateProjectSpecificDirs" BeforeTargets="OverrideRoslynCodeAnalysisProperties;SonarWriteProjectData;SonarWriteFilesToAnalyze" Condition=" $(SonarQubeTempPath) != '' ">
<!-- **************************************************************************** -->
<!-- Create the project-specific directories for conf and out -->
<!-- Create folder with unique name in the .sonarqube/out/ folder -->
<MakeUniqueDir Path="$(SonarQubeOutputPath)">
<Output TaskParameter="UniquePath" PropertyName="ProjectSpecificOutDir" />
<Output TaskParameter="UniqueName" PropertyName="UniqueName" />
</MakeUniqueDir>
<!-- Create .sonarqube/conf/ sub-folder with the same unique name -->
<PropertyGroup>
<ProjectSpecificConfDir>$(SonarQubeConfigPath)\$(UniqueName)</ProjectSpecificConfDir>
</PropertyGroup>
<MakeDir Directories="$(ProjectSpecificConfDir)" />
</Target>
<!-- SonarWriteProjectData has to be invoked after the Build target, so it can pick up the results for C++ projects. -->
<Target Name="InvokeSonarWriteProjectData_NonRazorProject"
DependsOnTargets="SonarCategoriseProject;SonarWriteFilesToAnalyze;SonarCreateProjectSpecificDirs"
AfterTargets="Build"
Condition=" $(SonarQubeTempPath) != '' AND ('@(RazorCompile)'=='' OR ('@(RazorCompile)'!='' AND '$(UseRazorSourceGenerator)'=='true')) ">
<CallTarget Targets="SonarWriteProjectData" />
</Target>
<Target Name="InvokeSonarWriteProjectData_RazorProject"
DependsOnTargets="SonarCategoriseProject;SonarWriteFilesToAnalyze;SonarCreateProjectSpecificDirs"
BeforeTargets="SonarPrepareRazorProjectCodeAnalysis"
AfterTargets="CoreCompile"
Condition=" $(SonarQubeTempPath) != '' AND '@(RazorCompile)'!='' AND ('$(UseRazorSourceGenerator)'=='' OR '$(UseRazorSourceGenerator)'=='false') ">
<CallTarget Targets="SonarWriteProjectData" />
</Target>
<Target Name="SonarWriteProjectData" >
<PropertyGroup>
<SonarErrorLogExists Condition=" $(SonarErrorLog) != '' AND $([System.IO.File]::Exists($(SonarErrorLog))) == 'true' ">true</SonarErrorLogExists>
</PropertyGroup>
<ItemGroup>
<SonarReportFilePath Condition= "$(SonarErrorLogExists) == 'true'" Include="$(SonarErrorLog)" />
</ItemGroup>
<ItemGroup>
<SonarQubeSetting Include="sonar.$(SQLanguage).roslyn.reportFilePaths" Condition=" @(SonarReportFilePath) != '' ">
<!-- Join the paths with | -->
<!-- This delimiter needs to be the same as PropertiesFileGenerator.RoslynReportPathsDelimiter -->
<Value>@(SonarReportFilePath->'%(identity)','|')</Value>
</SonarQubeSetting>
<SonarQubeSetting Include="sonar.$(SQLanguage).analyzer.projectOutPaths" Condition= "$(SonarErrorLogExists) == 'true'">
<Value>$(ProjectSpecificOutDir)</Value>
</SonarQubeSetting>
</ItemGroup>
<!-- Record the list of files as an analysis result -->
<ItemGroup Condition=" $(AnalysisFilesExist) == 'true' ">
<AnalysisResults Include="$(AnalysisFileList)">
<Id>FilesToAnalyze</Id>
</AnalysisResults>
</ItemGroup>
<CallTarget Targets="FixUpTestProjectOutputs" />
<WriteProjectInfoFile ProjectName="$(MSBuildProjectName)"
FullProjectPath="$(MSBuildProjectFullPath)"
ProjectLanguage="$(Language)"
ProjectGuid="$(ProjectGuid)"
SolutionConfigurationContents="$(CurrentSolutionConfigurationContents)"
IsTest="$(SonarQubeTestProject)"
IsExcluded="$(SonarQubeExclude)"
AnalysisResults="@(AnalysisResults)"
AnalysisSettings="@(SonarQubeSetting)"
OutputFolder="$(ProjectSpecificOutDir)"
CodePage="$(CodePage)"
Configuration="$(Configuration)"
Platform="$(Platform)"
TargetFramework="$(TargetFramework)" />
<Message Importance="high" Text="Sonar: ($(MSBuildProjectFile)) Project processed successfully" />
</Target>
<!--
Set the Razor specific error log properties.
Move the results of the core compilation to a temporary folder to prevent RazorCoreCompilation from overriding its content.
The contents will be moved back in SonarFinishRazorProjectCodeAnalysis target.
-->
<Target Name="SonarPrepareRazorProjectCodeAnalysis" BeforeTargets="RazorCoreCompile" AfterTargets="CoreCompile" Condition="'@(RazorCompile)'!='' AND ('$(UseRazorSourceGenerator)'=='' OR '$(UseRazorSourceGenerator)'=='false')" >
<PropertyGroup Condition=" $(SonarErrorLog) != '' ">
<!-- https://github.com/SonarSource/sonar-scanner-msbuild/issues/1015 Respect user-provided value. When set, users should provide unique path for each build (project and target framework). -->
<RazorSonarErrorLogName Condition=" $(RazorCompilationErrorLog) == '' ">Issues$(RazorTargetNameSuffix).json</RazorSonarErrorLogName>
<RazorCompilationErrorLog Condition=" $(RazorSonarErrorLogName) != '' ">$(ProjectSpecificOutDir)\$(RazorSonarErrorLogName)</RazorCompilationErrorLog>
<ErrorLog>$(RazorCompilationErrorLog)</ErrorLog>
<!-- Keep the path so that we could set SonarQubeSetting with sonar.language.roslyn.reportFilePaths -->
<RazorSonarErrorLog>$(RazorCompilationErrorLog)</RazorSonarErrorLog>
</PropertyGroup>
<PropertyGroup>
<SonarTemporaryProjectSpecificOutDir>$(ProjectSpecificOutDir).tmp</SonarTemporaryProjectSpecificOutDir>
</PropertyGroup>
<ItemGroup>
<CoreCompileOutFiles Include="$(ProjectSpecificOutDir)\**\*.*"/>
</ItemGroup>
<Move
SourceFiles="@(CoreCompileOutFiles)"
DestinationFolder="$(SonarTemporaryProjectSpecificOutDir)\%(RecursiveDir)" />
<Message Importance="high" Text="Sonar: Preparing for Razor compilation, moved files (@(CoreCompileOutFiles)) to $(SonarTemporaryProjectSpecificOutDir)." />
</Target>
<!-- In case of Razor compilation the output files generated during the core compilation step are already moved into a temporary folder.
This target renames output directories to their final state and creates the ProjectInfo.xml for them.
-->
<Target Name="SonarFinishRazorProjectCodeAnalysis" AfterTargets="RazorCoreCompile;InvokeSonarWriteProjectData_RazorProject" Condition=" $(SonarTemporaryProjectSpecificOutDir) != '' AND '@(RazorCompile)'!='' AND ('$(UseRazorSourceGenerator)'=='' OR '$(UseRazorSourceGenerator)'=='false') ">
<PropertyGroup>
<RazorSonarProjectSpecificOutDir>$(ProjectSpecificOutDir).Razor</RazorSonarProjectSpecificOutDir>
<RazorSonarProjectInfo>$(RazorSonarProjectSpecificOutDir)\ProjectInfo.xml</RazorSonarProjectInfo>
</PropertyGroup>
<ItemGroup>
<RazorCompilationOutFiles Include="$(ProjectSpecificOutDir)\**\*.*"/>
<SonarTempFiles Include="$(SonarTemporaryProjectSpecificOutDir)\**\*.*"/>
</ItemGroup>
<!-- Move main and Razor results to their final location. -->
<Move
SourceFiles="@(RazorCompilationOutFiles)"
DestinationFolder="$(RazorSonarProjectSpecificOutDir)\%(RecursiveDir)" />
<Message Importance="high" Text="Sonar: After Razor compilation, moved files (@(RazorCompilationOutFiles)) to $(RazorSonarProjectSpecificOutDir)." />
<Move
SourceFiles="@(SonarTempFiles)"
DestinationFolder="$(ProjectSpecificOutDir)\%(RecursiveDir)" />
<Message Importance="high" Text="Sonar: After Razor compilation, moved files (@(SonarTempFiles)) to $(ProjectSpecificOutDir) and will remove the temporary folder." />
<RemoveDir Directories="$(SonarTemporaryProjectSpecificOutDir)" />
<PropertyGroup>
<!-- This overwrites the previously set 'RazorSonarErrorLog' in 'SonarPrepareRazorProjectCodeAnalysis'
if 'RazorSonarErrorLogName' is set, which means 'RazorCompilationErrorLog' was null.
The condition is a bit difficult to follow, it would be easier to change it or also add "$(RazorSonarErrorLog) != ''" -->
<RazorSonarErrorLog Condition=" $(RazorSonarErrorLogName) != '' ">$(RazorSonarProjectSpecificOutDir)\$(RazorSonarErrorLogName)</RazorSonarErrorLog>
<RazorSonarErrorLogExists Condition=" $(RazorSonarErrorLog) != '' AND $([System.IO.File]::Exists($(RazorSonarErrorLog))) == 'true' ">true</RazorSonarErrorLogExists>
</PropertyGroup>
<ItemGroup>
<RazorSonarReportFilePath Condition= "$(RazorSonarErrorLogExists) == 'true'" Include="$(RazorSonarErrorLog)" />
<RazorSonarQubeSetting Include="sonar.$(SQLanguage).roslyn.reportFilePaths" Condition=" @(RazorSonarReportFilePath) != '' ">
<!-- Join the paths with | -->
<!-- This delimiter needs to be the same as PropertiesFileGenerator.RoslynReportPathsDelimiter -->
<Value>@(RazorSonarReportFilePath->'%(identity)','|')</Value>
</RazorSonarQubeSetting>
<RazorSonarQubeSetting Include="sonar.$(SQLanguage).analyzer.projectOutPaths" Condition= "$(RazorSonarErrorLogExists) == 'true'">
<Value>$(RazorSonarProjectSpecificOutDir)</Value>
</RazorSonarQubeSetting>
</ItemGroup>
<!-- Create the ProjectInfo.xml for the Razor part. -->
<WriteProjectInfoFile ProjectName="$(MSBuildProjectName)"
FullProjectPath="$(MSBuildProjectFullPath)"
ProjectLanguage="$(Language)"
ProjectGuid="$(ProjectGuid)"
SolutionConfigurationContents="$(CurrentSolutionConfigurationContents)"
IsTest="$(SonarQubeTestProject)"
IsExcluded="$(SonarQubeExclude)"
AnalysisResults="@(AnalysisResults)"
AnalysisSettings="@(RazorSonarQubeSetting)"
OutputFolder="$(RazorSonarProjectSpecificOutDir)"
CodePage="$(CodePage)"
Configuration="$(Configuration)"
Platform="$(Platform)"
TargetFramework="$(TargetFramework)" />
</Target>
<Target Name="FixUpTestProjectOutputs" Condition="$(SonarQubeTestProject)=='true'" >
<Message Importance="low" Text="Sonar: ($(MSBuildProjectFile)) Fixing up test project outputs..." />
<ItemGroup>
<!-- Select specific metrics files that should not be uploaded for test files.
Assumption: these files will be in a sub-folder under the project-specific output folder. -->
<SQTestMetricFiles Include="$(ProjectSpecificOutDir)\*\metrics.pb" />
<SQTestMetricFiles Include="$(ProjectSpecificOutDir)\*\token-cpd.pb" />
</ItemGroup>
<Message Importance="low" Text="Sonar: ($(MSBuildProjectFile)) Selected test metric file: @(SQTestMetricFiles)" />
<WriteZeroLengthFiles FullFilePaths="@(SQTestMetricFiles)" />
</Target>
<!-- **************************************************************************** -->
<!-- Code analysis -->
<!-- **************************************************************************** -->
<!-- Implementation notes:
We want to override any code analysis-related properties that are set in the
project file. To do this, we need to execute our targets at the correct
point in the build.
Note that both the FxCop and Roslyn targets use a property called "CodeAnalysisRuleSet".
The FxCop targets use this value directly. However, the Roslyn targets use it
as input to the "ResolveCodeAnalysisRuleSet" target, which sets the property
"ResolvedCodeAnalysisRuleset".
We override the property "ResolveCodeAnalysisRuleSet" with the path to our Roslyn ruleset.
-->
<PropertyGroup>
<SQLanguage Condition="$(Language) == 'C#'">cs</SQLanguage>
<SQLanguage Condition="$(Language) == 'VB'">vbnet</SQLanguage>
</PropertyGroup>
<!-- **************************************************************************** -->
<!-- Roslyn analysis section -->
<!-- **************************************************************************** -->
<!-- Override VS2019 properties to make sure analysis runs in the scanner build.
We need to run before BeforeCompile that executes _ComputeSkipAnalyzers target.
We don't need to override this for excluded projects. -->
<Target Name="SonarOverrideRunAnalyzers"
Condition=" $(SonarQubeTempPath) != '' AND $(SonarQubeExclude) != 'true' "
BeforeTargets="BeforeCompile">
<PropertyGroup>
<RunAnalyzers>true</RunAnalyzers>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
</PropertyGroup>
</Target>
<!-- Set the properties required to run Roslyn analysis as part of the build.
Analysis is controlled by the following properties:
ResolvedCodeAnalysisRuleSet - the full path to the ruleset to use
ErrorLog and RazorCompilationErrorLog - the file path for the error reporting file
We want to run after the core "ResolveCodeAnalysisRuleSet" target which assigns a value to "ResolvedCodeAnalysisRuleSet".
Conditions:
* project is excluded -> turn off Roslyn analysis
* project is a test project and parameter sonar.dotnet.excludeTestProjects=true -> run only metrics rules
* otherwise, use the analyzer settings loaded from the config file (removing any existing analyzers)
-->
<Target Name="OverrideRoslynCodeAnalysisProperties"
Condition=" $(SonarQubeTempPath) != '' "
DependsOnTargets="SonarCategoriseProject;SonarWriteFilesToAnalyze"
AfterTargets="ResolveCodeAnalysisRuleSet"
BeforeTargets="CoreCompile">
<PropertyGroup>
<!-- Make sure no warnings are treated as errors -->
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsAsErrors></WarningsAsErrors>
<!-- The Roslyn analyzers output messages with different warning levels. This is tied to the diagnostic severity and currently
is translated as follows - error: 0, warning: 1, info: 4. To avoid issues being missed override the warning level by setting it to max tolerance.-->
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<CallTarget Targets="SetRoslynCodeAnalysisProperties" Condition="$(SonarQubeExclude) != 'true'" />
</Target>
<Target Name="SetRoslynCodeAnalysisProperties">
<!-- Fetch the relevant settings from the config file -->
<GetAnalyzerSettings AnalysisConfigDir="$(SonarQubeConfigPath)"
Language="$(SQLanguage)"
CurrentProjectDirectoryPath="$(MSBuildProjectDirectory)"
OriginalAnalyzers="@(Analyzer)"
OriginalAdditionalFiles="@(AdditionalFiles)"
OriginalRulesetFilePath="$(ResolvedCodeAnalysisRuleset)"
ProjectSpecificConfigDirectory="$(ProjectSpecificConfDir)"
IsTestProject="$(SonarQubeTestProject)">
<Output TaskParameter="RuleSetFilePath" PropertyName="SQRuleSetFilePath" />
<Output TaskParameter="AnalyzerFilePaths" ItemName="SQAnalyzerFilePaths" />
<Output TaskParameter="AdditionalFilePaths" ItemName="SQAdditionalFiles" />
</GetAnalyzerSettings>
<PropertyGroup>
<!-- https://github.com/SonarSource/sonar-scanner-msbuild/issues/1015 Respect user-provided value. When set, users should provide unique path for each build (project and target framework). -->
<!-- https://jira.sonarsource.com/browse/SONARMSBRU-211 - the full path should be unique per project and target framework. -->
<ErrorLog Condition=" $(ErrorLog) == '' ">$(ProjectSpecificOutDir)\Issues.json</ErrorLog>
<!-- Keep the path so that we could set SonarQubeSetting with sonar.language.roslyn.reportFilePaths -->
<SonarErrorLog>$(ErrorLog)</SonarErrorLog>
</PropertyGroup>
<PropertyGroup>
<ResolvedCodeAnalysisRuleSet>$(SQRuleSetFilePath)</ResolvedCodeAnalysisRuleSet>
<SonarProjectOutFolderFilePath>$(ProjectSpecificConfDir)\ProjectOutFolderPath.txt</SonarProjectOutFolderFilePath>
</PropertyGroup>
<!--SonarProjectOutFolderFilePath is generated only for backward compatibility with CSharp and VBNet analyzers before 8.20 -->
<WriteLinesToFile File="$(SonarProjectOutFolderFilePath)" Lines="$(ProjectSpecificOutDir)" Overwrite="true" />
<WriteProjectConfigFile ConfigDir="$(ProjectSpecificConfDir)"
AnalysisConfigPath="$(SonarQubeConfigPath)\SonarQubeAnalysisConfig.xml"
ProjectPath="$(MSBuildProjectFullPath)"
FilesToAnalyzePath ="$(AnalysisFileList)"
OutPath="$(ProjectSpecificOutDir)"
IsTest="$(SonarQubeTestProject)"
TargetFramework="$(TargetFramework)">
<Output TaskParameter="ProjectConfigFilePath" PropertyName="SonarProjectConfigFilePath" />
</WriteProjectConfigFile>
<ItemGroup>
<!-- Clear the original set of analyzers and additional files -->
<Analyzer Remove="@(Analyzer)" />
<AdditionalFiles Remove="@(AdditionalFiles)" />
<!-- Use the set of analyzers and additional files calculated by the GetAnalyzerSettings task -->
<Analyzer Include="@(SQAnalyzerFilePaths)" />
<AdditionalFiles Include="@(SQAdditionalFiles)" />
<AdditionalFiles Include="$(SonarProjectConfigFilePath)" />
<AdditionalFiles Include="$(SonarProjectOutFolderFilePath)" />
</ItemGroup>
<Message Importance="normal" Text="Sonar: ($(MSBuildProjectFile)) Analysis configured successfully with $(SonarProjectConfigFilePath)." />
</Target>
<!-- **************************************************************************** -->
<!-- End of Roslyn analysis section-->
<!-- **************************************************************************** -->
</Project>

23
.sonarqube/conf/0/FilesToAnalyze.txt


/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMPro.cginc
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile Overlay.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_Bitmap.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMPro_Mobile.cginc
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF SSD.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF-Surface-Mobile.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF-Surface.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_Bitmap-Custom-Atlas.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile SSD.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMPro_Properties.cginc
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMPro_Surface.cginc
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile Masking.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF Overlay.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_Bitmap-Mobile.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Sprites/EmojiOne.json
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Shaders/TMP_Sprite.shader
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/TextMesh Pro/Fonts/Bangers - OFL.txt

1
.sonarqube/conf/0/ProjectOutFolderPath.txt


/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/out/0

8
.sonarqube/conf/0/SonarProjectConfig.xml


<?xml version="1.0" encoding="utf-8"?>
<SonarProjectConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sonarsource.com/msbuild/analyzer/2021/1">
<AnalysisConfigPath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/conf/SonarQubeAnalysisConfig.xml</AnalysisConfigPath>
<ProjectPath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assembly-CSharp.csproj</ProjectPath>
<FilesToAnalyzePath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/conf/0/FilesToAnalyze.txt</FilesToAnalyzePath>
<OutPath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/out/0</OutPath>
<ProjectType>Product</ProjectType>
</SonarProjectConfig>

83
.sonarqube/conf/1/FilesToAnalyze.txt


/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LocalMenuState.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/CreateMenuUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/Observed.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/InLobbyUserUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/LogHandler.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Auth/Identity.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/Countdown.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/Messenger.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Lobby/AsyncRequestLobby.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LocalMenuStateObserver.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Lobby/LobbyContentHeartbeat.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/UpdateSlow.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/ObserverBehaviour.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/IInGameInputHandler.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Vivox/VivoxUserHandler.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/InGameRunner.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/LobbyUserVolumeUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LocalLobby.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/SymbolData.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/CountdownUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/PlayerCursor.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/DisplayCodeUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Relay/AsyncRequestRelay.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/Locator.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/PlayerData.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/BackButtonUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Relay/RelayUtpSetup.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/MainMenuUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/RelayAddressUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/GameManager.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/ExitButtonUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/LobbyNameUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/SymbolContainer.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/SymbolObject.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/ReadyCheckUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/Scorer.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/UserNameUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/ShowWhenLobbyStateUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/UITinter.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Lobby/ToLocalLobby.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Lobby/LobbyAPIInterface.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LocalLobbyObserver.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LobbyUserAudio.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/GameStateVisibilityUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LobbyUser.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Auth/NameGenerator.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Auth/SubIdentity_Authentication.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/StartLobbyButtonUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/EndGameButtonUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/ObserverPanel.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/InLobbyUserList.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Relay/RelayPendingApproval.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/AsyncRequest.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/LobbyButtonUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/RelayNGOUtpSetup.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/RecolorForLobbyType.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Relay/RelayUtpHost.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/NetworkedDataStore.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/SymbolKillVolume.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LobbyServiceData.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LobbyUserObserver.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/ResultsUserUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/JoinCreateLobbyUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/NameChangeUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/SetupInGame.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Lobby/LobbyAsyncRequests.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/SpinnerUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/UIPanelBase.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/LobbyServiceDataObserver.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/JoinMenuUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Relay/RelayAPIInterface.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/EmoteButtonUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/EmoteType.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Game/ServerAddress.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/RateLimitVisibility.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/SequenceSelector.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/UserStateVisibilityUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Vivox/VivoxSetup.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/UI/PopUpUI.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Relay/RelayUtpClient.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/NGO/IntroOutroRunner.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/Infrastructure/LogHandlerSettings.cs
/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/Assets/Scripts/GameLobby/GamelobbySample.asmdef

1
.sonarqube/conf/1/ProjectOutFolderPath.txt


/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/out/1

8
.sonarqube/conf/1/SonarProjectConfig.xml


<?xml version="1.0" encoding="utf-8"?>
<SonarProjectConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sonarsource.com/msbuild/analyzer/2021/1">
<AnalysisConfigPath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/conf/SonarQubeAnalysisConfig.xml</AnalysisConfigPath>
<ProjectPath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/csproj/GamelobbySample.csproj</ProjectPath>
<FilesToAnalyzePath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/conf/1/FilesToAnalyze.txt</FilesToAnalyzePath>
<OutPath>/Users/jacob.lorentzen/Projects/com.unity.services.samples.game-lobby/.sonarqube/out/1</OutPath>
<ProjectType>Product</ProjectType>
</SonarProjectConfig>

416
.sonarqube/conf/Sonar-cs-none.ruleset


<?xml version="1.0" encoding="utf-8"?>
<RuleSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="Rules for SonarQube" Description="This rule set was automatically generated from SonarQube" ToolsVersion="14.0">
<Rules AnalyzerId="SonarAnalyzer.Security" RuleNamespace="SonarAnalyzer.Security">
<Rule Id="S5146" Action="None" />
<Rule Id="S2078" Action="None" />
<Rule Id="S5145" Action="None" />
<Rule Id="S2076" Action="None" />
<Rule Id="S3649" Action="None" />
<Rule Id="S5144" Action="None" />
<Rule Id="S6096" Action="None" />
<Rule Id="S5334" Action="None" />
<Rule Id="S2631" Action="None" />
<Rule Id="S2091" Action="None" />
<Rule Id="S5135" Action="None" />
<Rule Id="S5167" Action="None" />
<Rule Id="S5131" Action="None" />
<Rule Id="S2083" Action="None" />
</Rules>
<Rules AnalyzerId="SonarAnalyzer.CSharp" RuleNamespace="SonarAnalyzer.CSharp">
<Rule Id="S3431" Action="None" />
<Rule Id="S2221" Action="None" />
<Rule Id="S2228" Action="None" />
<Rule Id="S2115" Action="None" />
<Rule Id="S3444" Action="None" />
<Rule Id="S3443" Action="None" />
<Rule Id="S3329" Action="None" />
<Rule Id="S4502" Action="None" />
<Rule Id="S4507" Action="None" />
<Rule Id="S4635" Action="None" />
<Rule Id="S5773" Action="None" />
<Rule Id="S5547" Action="None" />
<Rule Id="S5542" Action="None" />
<Rule Id="S4210" Action="None" />
<Rule Id="S4787" Action="None" />
<Rule Id="S4423" Action="None" />
<Rule Id="S3216" Action="None" />
<Rule Id="S4426" Action="None" />
<Rule Id="S1155" Action="None" />
<Rule Id="S2486" Action="None" />
<Rule Id="S5753" Action="None" />
<Rule Id="S3330" Action="None" />
<Rule Id="S4790" Action="None" />
<Rule Id="S1301" Action="None" />
<Rule Id="S3967" Action="None" />
<Rule Id="S2612" Action="None" />
<Rule Id="S3874" Action="None" />
<Rule Id="S4834" Action="None" />
<Rule Id="S1905" Action="None" />
<Rule Id="S5042" Action="None" />
<Rule Id="S3928" Action="None" />
<Rule Id="S1607" Action="None" />
<Rule Id="S2933" Action="None" />
<Rule Id="S2931" Action="None" />
<Rule Id="S5693" Action="None" />
<Rule Id="S122" Action="None" />
<Rule Id="S2077" Action="None" />
<Rule Id="S1199" Action="None" />
<Rule Id="S4220" Action="None" />
<Rule Id="S5443" Action="None" />
<Rule Id="S5445" Action="None" />
<Rule Id="S2053" Action="None" />
<Rule Id="S4261" Action="None" />
<Rule Id="S4036" Action="None" />
<Rule Id="S5122" Action="None" />
<Rule Id="S2092" Action="None" />
<Rule Id="S2225" Action="None" />
<Rule Id="S2583" Action="None" />
<Rule Id="S881" Action="None" />
<Rule Id="S2688" Action="None" />
<Rule Id="S2201" Action="None" />
<Rule Id="S2681" Action="None" />
<Rule Id="S1116" Action="None" />
<Rule Id="S1121" Action="None" />
<Rule Id="S2692" Action="None" />
<Rule Id="S2386" Action="None" />
<Rule Id="S4564" Action="None" />
<Rule Id="S5659" Action="None" />
<Rule Id="S1172" Action="None" />
<Rule Id="S2278" Action="None" />
<Rule Id="S3366" Action="None" />
<Rule Id="S3457" Action="None" />
<Rule Id="S2245" Action="None" />
<Rule Id="S3218" Action="None" />
<Rule Id="S927" Action="None" />
<Rule Id="S2259" Action="None" />
<Rule Id="S1168" Action="None" />
<Rule Id="S2257" Action="None" />
<Rule Id="S3346" Action="None" />
<Rule Id="S1163" Action="None" />
<Rule Id="S4432" Action="None" />
<Rule Id="S818" Action="None" />
<Rule Id="S2251" Action="None" />
<Rule Id="S4792" Action="None" />
<Rule Id="S1659" Action="None" />
<Rule Id="S1656" Action="None" />
<Rule Id="S1764" Action="None" />
<Rule Id="S2971" Action="None" />
<Rule Id="S1698" Action="None" />
<Rule Id="S3875" Action="None" />
<Rule Id="S1696" Action="None" />
<Rule Id="S3871" Action="None" />
<Rule Id="S3998" Action="None" />
<Rule Id="S1699" Action="None" />
<Rule Id="S2674" Action="None" />
<Rule Id="S3881" Action="None" />
<Rule Id="S1313" Action="None" />
<Rule Id="S3971" Action="None" />
<Rule Id="S1449" Action="None" />
<Rule Id="S1206" Action="None" />
<Rule Id="S1944" Action="None" />
<Rule Id="S1854" Action="None" />
<Rule Id="S1862" Action="None" />
<Rule Id="S3927" Action="None" />
<Rule Id="S131" Action="None" />
<Rule Id="S126" Action="None" />
<Rule Id="S3904" Action="None" />
<Rule Id="S2068" Action="None" />
<Rule Id="S5332" Action="None" />
<Rule Id="S112" Action="None" />
<Rule Id="S4487" Action="None" />
<Rule Id="S2184" Action="None" />
<Rule Id="S2183" Action="None" />
<Rule Id="S106" Action="None" />
<Rule Id="S3168" Action="None" />
<Rule Id="S2197" Action="None" />
<Rule Id="S2070" Action="None" />
<Rule Id="S3257" Action="None" />
<Rule Id="S3011" Action="None" />
<Rule Id="S1075" Action="None" />
<Rule Id="S4583" Action="None" />
<Rule Id="S2178" Action="None" />
<Rule Id="S1145" Action="None" />
<Rule Id="S5034" Action="None" />
<Rule Id="S2699" Action="None" />
<Rule Id="S3234" Action="None" />
<Rule Id="S3693" Action="None" />
<Rule Id="S4784" Action="None" />
<Rule Id="S2255" Action="None" />
<Rule Id="S121" Action="None" />
<Rule Id="S4818" Action="None" />
<Rule Id="S2758" Action="None" />
<Rule Id="S3966" Action="None" />
<Rule Id="S4226" Action="None" />
<Rule Id="S4586" Action="None" />
<Rule Id="S2290" Action="None" />
<Rule Id="S1697" Action="None" />
<Rule Id="S3887" Action="None" />
<Rule Id="S4025" Action="None" />
<Rule Id="S4829" Action="None" />
<Rule Id="S4823" Action="None" />
<Rule Id="S4142" Action="None" />
<Rule Id="S3358" Action="None" />
<Rule Id="S2589" Action="None" />
<Rule Id="S1006" Action="None" />
<Rule Id="S2275" Action="None" />
<Rule Id="S3925" Action="None" />
<Rule Id="S5766" Action="None" />
<Rule Id="S2755" Action="None" />
<Rule Id="S4260" Action="None" />
<Rule Id="S4035" Action="None" />
<Rule Id="S3415" Action="None" />
<Rule Id="S4212" Action="None" />
<Rule Id="S4433" Action="None" />
<Rule Id="S1104" Action="None" />
<Rule Id="S3984" Action="None" />
<Rule Id="S4136" Action="None" />
<Rule Id="S4275" Action="None" />
<Rule Id="S4004" Action="None" />
<Rule Id="S2952" Action="None" />
<Rule Id="S3240" Action="None" />
<Rule Id="S3949" Action="None" />
<Rule Id="S4830" Action="None" />
<Rule Id="S1479" Action="None" />
<Rule Id="S4143" Action="None" />
<Rule Id="S4524" Action="None" />
<Rule Id="S2479" Action="None" />
<Rule Id="S1128" Action="None" />
<Rule Id="S4201" Action="None" />
<Rule Id="S2252" Action="None" />
<Rule Id="S109" Action="None" />
<Rule Id="S2857" Action="None" />
<Rule Id="S2302" Action="None" />
<Rule Id="S3972" Action="None" />
<Rule Id="S1134" Action="None" />
<Rule Id="S1147" Action="None" />
<Rule Id="S2234" Action="None" />
<Rule Id="S1144" Action="None" />
<Rule Id="S3440" Action="None" />
<Rule Id="S3776" Action="None" />
<Rule Id="S3897" Action="None" />
<Rule Id="S2325" Action="None" />
<Rule Id="S4069" Action="None" />
<Rule Id="S1117" Action="None" />
<Rule Id="S2326" Action="None" />
<Rule Id="S1244" Action="None" />
<Rule Id="S2219" Action="None" />
<Rule Id="S4211" Action="None" />
<Rule Id="S1066" Action="None" />
<Rule Id="S2365" Action="None" />
<Rule Id="S125" Action="None" />
<Rule Id="S127" Action="None" />
<Rule Id="S1048" Action="None" />
<Rule Id="S3220" Action="None" />
<Rule Id="S3902" Action="None" />
<Rule Id="S3900" Action="None" />
<Rule Id="S907" Action="None" />
<Rule Id="S2190" Action="None" />
<Rule Id="S1751" Action="None" />
<Rule Id="S101" Action="None" />
<Rule Id="S100" Action="None" />
<Rule Id="S2737" Action="None" />
<Rule Id="S4049" Action="None" />
<Rule Id="S4040" Action="None" />
<Rule Id="S3884" Action="None" />
<Rule Id="S2551" Action="None" />
<Rule Id="S2436" Action="None" />
<Rule Id="S1226" Action="None" />
<Rule Id="S4039" Action="None" />
<Rule Id="S103" Action="None" />
<Rule Id="S104" Action="None" />
<Rule Id="S105" Action="None" />
<Rule Id="S1067" Action="None" />
<Rule Id="S107" Action="None" />
<Rule Id="S108" Action="None" />
<Rule Id="S110" Action="None" />
<Rule Id="S1109" Action="None" />
<Rule Id="S1110" Action="None" />
<Rule Id="S1118" Action="None" />
<Rule Id="S1123" Action="None" />
<Rule Id="S1125" Action="None" />
<Rule Id="S113" Action="None" />
<Rule Id="S1135" Action="None" />
<Rule Id="S1151" Action="None" />
<Rule Id="S1185" Action="None" />
<Rule Id="S1186" Action="None" />
<Rule Id="S1192" Action="None" />
<Rule Id="S1200" Action="None" />
<Rule Id="S1210" Action="None" />
<Rule Id="S1215" Action="None" />
<Rule Id="S1227" Action="None" />
<Rule Id="S1264" Action="None" />
<Rule Id="S1309" Action="None" />
<Rule Id="S134" Action="None" />
<Rule Id="S138" Action="None" />
<Rule Id="S1450" Action="None" />
<Rule Id="S1451" Action="None" />
<Rule Id="S1481" Action="None" />
<Rule Id="S1541" Action="None" />
<Rule Id="S1643" Action="None" />
<Rule Id="S1694" Action="None" />
<Rule Id="S1821" Action="None" />
<Rule Id="S1848" Action="None" />
<Rule Id="S1858" Action="None" />
<Rule Id="S1871" Action="None" />
<Rule Id="S1939" Action="None" />
<Rule Id="S1940" Action="None" />
<Rule Id="S1994" Action="None" />
<Rule Id="S2114" Action="None" />
<Rule Id="S2123" Action="None" />
<Rule Id="S2148" Action="None" />
<Rule Id="S2156" Action="None" />
<Rule Id="S2187" Action="None" />
<Rule Id="S2223" Action="None" />
<Rule Id="S2291" Action="None" />
<Rule Id="S2292" Action="None" />
<Rule Id="S2306" Action="None" />
<Rule Id="S2327" Action="None" />
<Rule Id="S2328" Action="None" />
<Rule Id="S2330" Action="None" />
<Rule Id="S2333" Action="None" />
<Rule Id="S2339" Action="None" />
<Rule Id="S2342" Action="None" />
<Rule Id="S2344" Action="None" />
<Rule Id="S2345" Action="None" />
<Rule Id="S2346" Action="None" />
<Rule Id="S2357" Action="None" />
<Rule Id="S2360" Action="None" />
<Rule Id="S2368" Action="None" />
<Rule Id="S2372" Action="None" />
<Rule Id="S2376" Action="None" />
<Rule Id="S2387" Action="None" />
<Rule Id="S2437" Action="None" />
<Rule Id="S2696" Action="None" />
<Rule Id="S2701" Action="None" />
<Rule Id="S2743" Action="None" />
<Rule Id="S2757" Action="None" />
<Rule Id="S2760" Action="None" />
<Rule Id="S2761" Action="None" />
<Rule Id="S2930" Action="None" />
<Rule Id="S2934" Action="None" />
<Rule Id="S2953" Action="None" />
<Rule Id="S2955" Action="None" />
<Rule Id="S2995" Action="None" />
<Rule Id="S2996" Action="None" />
<Rule Id="S2997" Action="None" />
<Rule Id="S3005" Action="None" />
<Rule Id="S3010" Action="None" />
<Rule Id="S3052" Action="None" />
<Rule Id="S3060" Action="None" />
<Rule Id="S3169" Action="None" />
<Rule Id="S3172" Action="None" />
<Rule Id="S3215" Action="None" />
<Rule Id="S3217" Action="None" />
<Rule Id="S3235" Action="None" />
<Rule Id="S3236" Action="None" />
<Rule Id="S3237" Action="None" />
<Rule Id="S3241" Action="None" />
<Rule Id="S3242" Action="None" />
<Rule Id="S3244" Action="None" />
<Rule Id="S3246" Action="None" />
<Rule Id="S3247" Action="None" />
<Rule Id="S3249" Action="None" />
<Rule Id="S3251" Action="None" />
<Rule Id="S3253" Action="None" />
<Rule Id="S3254" Action="None" />
<Rule Id="S3256" Action="None" />
<Rule Id="S3261" Action="None" />
<Rule Id="S3262" Action="None" />
<Rule Id="S3263" Action="None" />
<Rule Id="S3264" Action="None" />
<Rule Id="S3265" Action="None" />
<Rule Id="S3343" Action="None" />
<Rule Id="S3353" Action="None" />
<Rule Id="S3376" Action="None" />
<Rule Id="S3397" Action="None" />
<Rule Id="S3400" Action="None" />
<Rule Id="S3427" Action="None" />
<Rule Id="S3433" Action="None" />
<Rule Id="S3441" Action="None" />
<Rule Id="S3442" Action="None" />
<Rule Id="S3445" Action="None" />
<Rule Id="S3447" Action="None" />
<Rule Id="S3449" Action="None" />
<Rule Id="S3450" Action="None" />
<Rule Id="S3451" Action="None" />
<Rule Id="S3453" Action="None" />
<Rule Id="S3456" Action="None" />
<Rule Id="S3458" Action="None" />
<Rule Id="S3459" Action="None" />
<Rule Id="S3464" Action="None" />
<Rule Id="S3466" Action="None" />
<Rule Id="S3532" Action="None" />
<Rule Id="S3597" Action="None" />
<Rule Id="S3598" Action="None" />
<Rule Id="S3600" Action="None" />
<Rule Id="S3603" Action="None" />
<Rule Id="S3604" Action="None" />
<Rule Id="S3610" Action="None" />
<Rule Id="S3626" Action="None" />
<Rule Id="S3655" Action="None" />
<Rule Id="S3717" Action="None" />
<Rule Id="S3869" Action="None" />
<Rule Id="S3872" Action="None" />
<Rule Id="S3876" Action="None" />
<Rule Id="S3877" Action="None" />
<Rule Id="S3880" Action="None" />
<Rule Id="S3885" Action="None" />
<Rule Id="S3889" Action="None" />
<Rule Id="S3898" Action="None" />
<Rule Id="S3903" Action="None" />
<Rule Id="S3906" Action="None" />
<Rule Id="S3908" Action="None" />
<Rule Id="S3909" Action="None" />
<Rule Id="S3923" Action="None" />
<Rule Id="S3926" Action="None" />
<Rule Id="S3937" Action="None" />
<Rule Id="S3956" Action="None" />
<Rule Id="S3962" Action="None" />
<Rule Id="S3963" Action="None" />
<Rule Id="S3973" Action="None" />
<Rule Id="S3981" Action="None" />
<Rule Id="S3990" Action="None" />
<Rule Id="S3992" Action="None" />
<Rule Id="S3993" Action="None" />
<Rule Id="S3994" Action="None" />
<Rule Id="S3995" Action="None" />
<Rule Id="S3996" Action="None" />
<Rule Id="S3997" Action="None" />
<Rule Id="S4000" Action="None" />
<Rule Id="S4002" Action="None" />
<Rule Id="S4005" Action="None" />
<Rule Id="S4015" Action="None" />
<Rule Id="S4016" Action="None" />
<Rule Id="S4017" Action="None" />
<Rule Id="S4018" Action="None" />
<Rule Id="S4019" Action="None" />
<Rule Id="S4022" Action="None" />
<Rule Id="S4023" Action="None" />
<Rule Id="S4026" Action="None" />
<Rule Id="S4027" Action="None" />
<Rule Id="S4041" Action="None" />
<Rule Id="S4047" Action="None" />
<Rule Id="S4050" Action="None" />
<Rule Id="S4052" Action="None" />
<Rule Id="S4055" Action="None" />
<Rule Id="S4056" Action="None" />
<Rule Id="S4057" Action="None" />
<Rule Id="S4058" Action="None" />
<Rule Id="S4059" Action="None" />
<Rule Id="S4060" Action="None" />
<Rule Id="S4061" Action="None" />
<Rule Id="S4070" Action="None" />
<Rule Id="S4144" Action="None" />
<Rule Id="S4158" Action="None" />
<Rule Id="S4159" Action="None" />
<Rule Id="S4200" Action="None" />
<Rule Id="S4214" Action="None" />
<Rule Id="S4225" Action="None" />
<Rule Id="S4277" Action="None" />
<Rule Id="S4428" Action="None" />
<Rule Id="S4456" Action="None" />
<Rule Id="S4457" Action="None" />
<Rule Id="S4462" Action="None" />
<Rule Id="S4581" Action="None" />
</Rules>
</RuleSet>

416
.sonarqube/conf/Sonar-cs.ruleset


<?xml version="1.0" encoding="utf-8"?>
<RuleSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="Rules for SonarQube" Description="This rule set was automatically generated from SonarQube" ToolsVersion="14.0">
<Rules AnalyzerId="SonarAnalyzer.Security" RuleNamespace="SonarAnalyzer.Security">
<Rule Id="S5146" Action="Warning" />
<Rule Id="S2078" Action="Warning" />
<Rule Id="S5145" Action="Warning" />
<Rule Id="S2076" Action="Warning" />
<Rule Id="S3649" Action="Warning" />
<Rule Id="S5144" Action="Warning" />
<Rule Id="S6096" Action="Warning" />
<Rule Id="S5334" Action="Warning" />
<Rule Id="S2631" Action="Warning" />
<Rule Id="S2091" Action="Warning" />
<Rule Id="S5135" Action="Warning" />
<Rule Id="S5167" Action="Warning" />
<Rule Id="S5131" Action="Warning" />
<Rule Id="S2083" Action="Warning" />
</Rules>
<Rules AnalyzerId="SonarAnalyzer.CSharp" RuleNamespace="SonarAnalyzer.CSharp">
<Rule Id="S3431" Action="None" />
<Rule Id="S2221" Action="None" />
<Rule Id="S2228" Action="None" />
<Rule Id="S2115" Action="Warning" />
<Rule Id="S3444" Action="Warning" />
<Rule Id="S3443" Action="Warning" />
<Rule Id="S3329" Action="Warning" />
<Rule Id="S4502" Action="Warning" />
<Rule Id="S4507" Action="Warning" />
<Rule Id="S4635" Action="Warning" />
<Rule Id="S5773" Action="Warning" />
<Rule Id="S5547" Action="Warning" />
<Rule Id="S5542" Action="Warning" />
<Rule Id="S4210" Action="Warning" />
<Rule Id="S4787" Action="None" />
<Rule Id="S4423" Action="Warning" />
<Rule Id="S3216" Action="None" />
<Rule Id="S4426" Action="Warning" />
<Rule Id="S1155" Action="Warning" />
<Rule Id="S2486" Action="Warning" />
<Rule Id="S5753" Action="Warning" />
<Rule Id="S3330" Action="Warning" />
<Rule Id="S4790" Action="Warning" />
<Rule Id="S1301" Action="None" />
<Rule Id="S3967" Action="None" />
<Rule Id="S2612" Action="Warning" />
<Rule Id="S3874" Action="None" />
<Rule Id="S4834" Action="None" />
<Rule Id="S1905" Action="Warning" />
<Rule Id="S5042" Action="Warning" />
<Rule Id="S3928" Action="Warning" />
<Rule Id="S1607" Action="Warning" />
<Rule Id="S2933" Action="Warning" />
<Rule Id="S2931" Action="None" />
<Rule Id="S5693" Action="Warning" />
<Rule Id="S122" Action="None" />
<Rule Id="S2077" Action="Warning" />
<Rule Id="S1199" Action="Warning" />
<Rule Id="S4220" Action="Warning" />
<Rule Id="S5443" Action="Warning" />
<Rule Id="S5445" Action="Warning" />
<Rule Id="S2053" Action="Warning" />
<Rule Id="S4261" Action="None" />
<Rule Id="S4036" Action="Warning" />
<Rule Id="S5122" Action="Warning" />
<Rule Id="S2092" Action="Warning" />
<Rule Id="S2225" Action="Warning" />
<Rule Id="S2583" Action="Warning" />
<Rule Id="S881" Action="None" />
<Rule Id="S2688" Action="Warning" />
<Rule Id="S2201" Action="Warning" />
<Rule Id="S2681" Action="Warning" />
<Rule Id="S1116" Action="Warning" />
<Rule Id="S1121" Action="Warning" />
<Rule Id="S2692" Action="Warning" />
<Rule Id="S2386" Action="Warning" />
<Rule Id="S4564" Action="None" />
<Rule Id="S5659" Action="Warning" />
<Rule Id="S1172" Action="Warning" />
<Rule Id="S2278" Action="None" />
<Rule Id="S3366" Action="None" />
<Rule Id="S3457" Action="Warning" />
<Rule Id="S2245" Action="Warning" />
<Rule Id="S3218" Action="Warning" />
<Rule Id="S927" Action="Warning" />
<Rule Id="S2259" Action="Warning" />
<Rule Id="S1168" Action="Warning" />
<Rule Id="S2257" Action="Warning" />
<Rule Id="S3346" Action="Warning" />
<Rule Id="S1163" Action="Warning" />
<Rule Id="S4432" Action="None" />
<Rule Id="S818" Action="Warning" />
<Rule Id="S2251" Action="Warning" />
<Rule Id="S4792" Action="Warning" />
<Rule Id="S1659" Action="None" />
<Rule Id="S1656" Action="Warning" />
<Rule Id="S1764" Action="Warning" />
<Rule Id="S2971" Action="Warning" />
<Rule Id="S1698" Action="None" />
<Rule Id="S3875" Action="Warning" />
<Rule Id="S1696" Action="None" />
<Rule Id="S3871" Action="Warning" />
<Rule Id="S3998" Action="Warning" />
<Rule Id="S1699" Action="Warning" />
<Rule Id="S2674" Action="None" />
<Rule Id="S3881" Action="Warning" />
<Rule Id="S1313" Action="Warning" />
<Rule Id="S3971" Action="Warning" />
<Rule Id="S1449" Action="None" />
<Rule Id="S1206" Action="Warning" />
<Rule Id="S1944" Action="Warning" />
<Rule Id="S1854" Action="Warning" />
<Rule Id="S1862" Action="Warning" />
<Rule Id="S3927" Action="Warning" />
<Rule Id="S131" Action="None" />
<Rule Id="S126" Action="None" />
<Rule Id="S3904" Action="Warning" />
<Rule Id="S2068" Action="Warning" />
<Rule Id="S5332" Action="Warning" />
<Rule Id="S112" Action="Warning" />
<Rule Id="S4487" Action="Warning" />
<Rule Id="S2184" Action="Warning" />
<Rule Id="S2183" Action="Warning" />
<Rule Id="S106" Action="None" />
<Rule Id="S3168" Action="Warning" />
<Rule Id="S2197" Action="None" />
<Rule Id="S2070" Action="None" />
<Rule Id="S3257" Action="None" />
<Rule Id="S3011" Action="Warning" />
<Rule Id="S1075" Action="Warning" />
<Rule Id="S4583" Action="Warning" />
<Rule Id="S2178" Action="Warning" />
<Rule Id="S1145" Action="None" />
<Rule Id="S5034" Action="Warning" />
<Rule Id="S2699" Action="Warning" />
<Rule Id="S3234" Action="None" />
<Rule Id="S3693" Action="None" />
<Rule Id="S4784" Action="None" />
<Rule Id="S2255" Action="None" />
<Rule Id="S121" Action="None" />
<Rule Id="S4818" Action="None" />
<Rule Id="S2758" Action="None" />
<Rule Id="S3966" Action="Warning" />
<Rule Id="S4226" Action="None" />
<Rule Id="S4586" Action="Warning" />
<Rule Id="S2290" Action="Warning" />
<Rule Id="S1697" Action="None" />
<Rule Id="S3887" Action="Warning" />
<Rule Id="S4025" Action="None" />
<Rule Id="S4829" Action="None" />
<Rule Id="S4823" Action="None" />
<Rule Id="S4142" Action="None" />
<Rule Id="S3358" Action="Warning" />
<Rule Id="S2589" Action="Warning" />
<Rule Id="S1006" Action="Warning" />
<Rule Id="S2275" Action="Warning" />
<Rule Id="S3925" Action="Warning" />
<Rule Id="S5766" Action="Warning" />
<Rule Id="S2755" Action="Warning" />
<Rule Id="S4260" Action="Warning" />
<Rule Id="S4035" Action="Warning" />
<Rule Id="S3415" Action="Warning" />
<Rule Id="S4212" Action="None" />
<Rule Id="S4433" Action="Warning" />
<Rule Id="S1104" Action="Warning" />
<Rule Id="S3984" Action="Warning" />
<Rule Id="S4136" Action="Warning" />
<Rule Id="S4275" Action="Warning" />
<Rule Id="S4004" Action="None" />
<Rule Id="S2952" Action="None" />
<Rule Id="S3240" Action="None" />
<Rule Id="S3949" Action="None" />
<Rule Id="S4830" Action="Warning" />
<Rule Id="S1479" Action="