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:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a strong Windows bias. All command-line examples for project creation, file creation, environment variable setup, and program execution use PowerShell syntax, with no equivalent Bash or Linux/macOS shell commands provided. Windows tools and patterns (e.g., PowerShell's New-Item, $Env:VAR) are used exclusively, and Linux alternatives are not mentioned or shown. This may hinder Linux/macOS users, who form a significant portion of the Java development community.
Recommendations:
  • For every PowerShell example, provide an equivalent Bash/Linux/macOS shell example side-by-side or in a tabbed interface.
  • When showing environment variable setup, include both PowerShell ($Env:VAR=) and Bash (export VAR=) syntax.
  • For file creation, show both New-Item (PowerShell) and touch (Bash) commands.
  • For running Java programs, show both Windows (java .\demo.java) and Linux/macOS (java ./demo.java) command syntax.
  • Explicitly state that the instructions apply to both Windows and Linux/macOS, and highlight any OS-specific differences.
  • Consider using cross-platform-neutral language and tools where possible, or at least avoid presenting Windows as the default or only option.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

$Env:SUBSCRIPTION_KEY="<subscription-key>"
cd DemoProject New-Item demo.java
java .\demo.java
$Env:AZURE_CLIENT_ID="<client-id>" A$Env:AZURE_CLIENT_SECRET="<client-secret>" $Env:AZURE_TENANT_ID="<tenant-id>" $Env:MAPS_CLIENT_ID="<maps-client-id>"