Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
windows_first
windows_tools
Summary
The documentation demonstrates a subtle Windows bias by defaulting the Azure Functions runtime OS to 'windows' in the Gradle configuration example, without mentioning Linux as an alternative or providing guidance for Linux users. Additionally, the documentation refers to the Azure portal and Azure CLI, which are cross-platform, but the explicit configuration for 'windows' as the runtime OS may lead Linux users to believe Windows is preferred or required.
Recommendations
  • In the Gradle configuration example, explicitly mention that 'os' can be set to 'linux' as well as 'windows', and provide an example or note for Linux users.
  • Add a short section or note explaining the implications of choosing 'windows' vs 'linux' for the runtime, especially since Java 21 is supported on Linux only.
  • Ensure parity in instructions and examples for both Windows and Linux environments, particularly in configuration files and deployment steps.
  • If there are any OS-specific steps (such as setting JAVA_HOME), provide both Windows and Linux/macOS command examples.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-12 00:00 #243 cancelled Clean Clean
2026-01-11 00:00 #240 completed Clean Clean
2026-01-10 00:00 #237 completed Clean Clean
2026-01-09 00:34 #234 completed Clean Clean
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-12 00:00 #109 completed Clean Clean
2025-08-12 00:00 #78 cancelled Biased Biased
2025-07-15 00:00 #51 completed Biased Biased
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

azurefunctions {
    resourceGroup = 'java-functions-group'
    appName = 'azure-functions-sample-demo'
    pricingTier = 'Consumption'
    region = 'westus'
    runtime {
      os = 'windows'
    }
    localDebug = "transport=dt_socket,server=y,suspend=n,address=5005"
}