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

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 ID Status Bias Status
2025-09-12 00:00 #109 completed ✅ Clean
2025-08-12 00:00 #78 in_progress ❌ Biased
2025-07-15 00:00 #51 completed ❌ Biased
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ 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" }