repowisealiyun/simai

Code health of aliyun/simai

Repowise scores aliyun/simai at 6.8 out of 10 for code health, which reads as fair, alongside maintainability 6.7 and static performance 9.8 on the same scale. There are 453 open findings across the three pillars, and the lowest-scoring file is Layer.cc at 1.2. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

41 critical, 86 high, 128 medium, 124 low.

Lowest-scoring files

  • astra-sim-alibabacloud/astra-sim/workload/Layer.cc: 1.2 out of 10
  • astra-sim-alibabacloud/astra-sim/system/Sys.cc: 1.9 out of 10
  • astra-sim-alibabacloud/astra-sim/workload/Workload.cc: 2.1 out of 10
  • astra-sim-alibabacloud/astra-sim/system/AstraParamParse.hh: 2.3 out of 10
  • astra-sim-alibabacloud/astra-sim/network_frontend/ns3/entry.h: 2.9 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 3 had a bug fix in the last 180 days. Across all 299 scored files, 5.0% had a bug fix in that window.

Dead code and refactoring

Repowise found 37 unused exports. 50 refactoring targets across 50 files would raise the score.

More on simai: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language