Files
softbus_OPC/docs/submission_scope.md
flower_linux 85bfb5d8ec self control
2026-06-24 16:25:02 +08:00

36 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 送检源码包边界说明P0
> 用于代码自主率CAR测评的送检范围约定。正式测评前须与测评机构书面确认。
## 纳入送检(计入 TCL
| 路径 | 说明 |
|------|------|
| `src/` | 全部自研模块(含 softbus_json、softbus_net、softbus_modbus、自研 OPC UA |
| `cmake/` | 构建脚本 |
| `config/` | 运行时配置文件 |
| `tools/` | 辅助工具源码 |
## 不纳入送检(不计入 TCL
| 项 | 说明 |
|----|------|
| `third_party/` | 已移除 open62541、libmodbus vendor |
| `build/_deps/` | 已移除 asio、nlohmann FetchContent |
| **OpenSSL** | 系统动态库(`libssl.so` / `libcrypto.so`),仅头文件声明链接 |
| 操作系统 / 编译器 | Linux 内核、glibc、pthread 等 |
| 硬件驱动 | SocketCAN、串口设备节点 |
## CAR 计算公式
```
CAR = SCL / TCL × 100%
```
- **SCL**:送检包内自研有效代码行数(扣除空行)
- **TCL**:送检包内全部有效代码行数(无第三方源码时 SCL = TCL
## 许可证与 SBOM
送检时附软件物料清单SBOM列明运行时动态链接库名称、版本与许可证不含其源码。