Apollo / Autonomous driving / Customer demonstration proposal
A real automotive codebase.
A measurable quality journey.
Apollo is Baidu's open-source autonomous-driving platform: perception, localization, prediction, planning, and control, connected through Cyber RT middleware.
lines of code, excluding comments and blank lines
C++: 447,579 code lines · C: 23,731 code lines
703,440 physical lines, including blanks and comments.
Languages & roles
C++ / C for native components; Python / Shell for tools and automation; JavaScript / TypeScript for Dreamview UI; Protocol Buffers for message schemas. This LOC count covers C/C++ only.
Build & analysis setup
Linux + Docker + Bazel. Capture compiler invocations with Parasoft cpptesttrace, then analyze the agreed targets. The prior local scan used //cyber/..., not the entire repository. GPU dependencies vary with the selected modules.
tools/bazel.rc; a C++17 configuration also exists. Confirm effective compiler flags and language-mode alignment for MISRA C++:2023 before the baseline. Agree a separate ruleset for C sources.Inventory: local checkout, 04 October 2026, scc 4.1.0; C/C++ source and header extensions; repository ignores respected; .git and .cache excluded. Repository inventory is not scan coverage.
Sources: Apollo README, tools/bazel.rc, local LOC measurement · https://github.com/zuwasi/apollo
← Swipe to navigate → · Arrow keys / Space · Next: the animated demonstration workflow