<commit_before>""
"******************************** " + $MyInvocation.InvocationName + " ********************************"
if ($env:BUILD_API -eq "NO")
{
  return
}

if ($env:BUILD_PLATFORM -eq "Windows")
{
  $unitTestFramework = '-f net472 '
}
else
{
    $unitTestFramework = '-f netcoreapp2.1 '
    $buildFramework = '-f netcoreapp2.1 '
}

if ($env:BUILD_PLATFORM-eq "Windows" `
  -And $env:UPLOAD_SONARQUBE_API -ne 'NO')
{
  $parms = ''
  $parms = $parms + 'begin '
  $parms = $parms + '/k:"weather" '
  $parms = $parms + '/o:"bellrichm" '
  $parms = $parms + '/v:$env:APPVEYOR_BUILD_VERSION '
  $parms = $parms + '/d:sonar.branch.name=$env:BRANCH_NAME '
  $parms = $parms + '/d:sonar.host.url="https://sonarcloud.io" '
  $parms = $parms + '/d:sonar.login=$env:SONARQUBE_REPO_TOKEN '
  $parms = $parms + '/d:sonar.exclusions="**/Migrations/*, **/obj/**/*, **/*.conf.*, **/e2e/**/*, **/coverage/**/*, **/*spec*" '
  $parms = $parms + '/d:sonar.test.exclusions="**/obj/**/*" '<commit_msg>exclude duplicate code in models<commit_after>""
"******************************** " + $MyInvocation.InvocationName + " ********************************"
if ($env:BUILD_API -eq "NO")
{
  return
}

if ($env:BUILD_PLATFORM -eq "Windows")
{
  $unitTestFramework = '-f net472 '
}
else
{
    $unitTestFramework = '-f netcoreapp2.1 '
    $buildFramework = '-f netcoreapp2.1 '
}

if ($env:BUILD_PLATFORM-eq "Windows" `
  -And $env:UPLOAD_SONARQUBE_API -ne 'NO')
{
  $parms = ''
  $parms = $parms + 'begin '
  $parms = $parms + '/k:"weather" '
  $parms = $parms + '/o:"bellrichm" '
  $parms = $parms + '/v:$env:APPVEYOR_BUILD_VERSION '
  $parms = $parms + '/d:sonar.branch.name=$env:BRANCH_NAME '
  $parms = $parms + '/d:sonar.host.url="https://sonarcloud.io" '
  $parms = $parms + '/d:sonar.login=$env:SONARQUBE_REPO_TOKEN '
  $parms = $parms + '/d:sonar.exclusions="**/Migrations/*, **/obj/**/*, **/*.conf.*, **/e2e/**/*, **/coverage/**/*, **/*spec*" '
  $parms = $parms + '/d:sonar.cpd.exclusions="**/Models/*" '
  $parms = $parms + '/d:sonar.test.exclusions="**/obj/**/*" '
{'fraction_non_alphanumeric': 0.29057337220602525, 'fraction_numerical': 0.007774538386783284, 'mean_word_length': 4.096534653465347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '78247', 'n_tokens_mistral': 863, 'n_tokens_neox': 851, 'n_words': 129}