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
powershell_heavy
missing_linux_example
Summary
The documentation shows some Windows bias in the ordering and detail of examples. Windows prerequisites are listed before Linux, and the Windows section is more detailed (e.g., specifying Visual Studio and CMake installation options). The repository cloning example uses Windows command prompt syntax (git clone in a code block labeled 'cmd'), and there are no explicit Linux shell equivalents. Output folder locations are described for both OSes, but the Windows path is emphasized. There are no PowerShell-specific commands, but the overall structure and example ordering favor Windows users. Some Linux-specific details (like package manager alternatives for non-Ubuntu distros) are missing.
Recommendations
  • Alternate the order of Windows and Linux instructions or present them side-by-side to avoid implicit prioritization.
  • Provide equivalent Linux shell commands and examples wherever Windows commands are shown, including repository cloning and file path references.
  • Expand Linux prerequisites to mention common distributions and alternatives to apt (e.g., yum, dnf, zypper).
  • Ensure all code snippets and file path references are shown for both Windows and Linux, using appropriate syntax and conventions.
  • Where possible, use cross-platform tools and commands (e.g., generic git, cmake, make) and clarify any OS-specific steps.
  • Add troubleshooting tips or notes for common Linux issues (e.g., permissions, library paths) to match the detail given for Windows.
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-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-03 00:00 #100 completed Clean Clean
2025-07-31 00:00 #66 completed Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

In Linux, the binaries are in the _./build_ folder underneath the _mosquitto_ folder.

In Windows, the binaries are in the _.\build\Debug_ folder underneath the _mosquitto_ folder.

## Send telemetry

The *mosquitto_telemetry* sample shows how to send a device-to-cloud telemetry message to your IoT hub by using the MQTT library.

Before you run the sample application, run the following command to start the event monitor for your IoT hub. Be sure to use the name of your IoT hub: