repowisezortos293/lichii

Code health of zortos293/lichii

Repowise scores zortos293/lichii at 7.4 out of 10 for code health, which reads as good, alongside maintainability 8.2 and static performance 9.9 on the same scale. There are 5,453 open findings across the three pillars, and the lowest-scoring file is texture_cache.h at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

700 critical, 1,131 high, 2,436 medium, 1,186 low.

Hotspots

546 files are flagged as hotspots. The top 5:

  • src/core/hle/service/nx2_gsv.h: 150 commits in the last 90 days from 28 contributors with 20 recent bug fixes
  • src/shader_recompiler/frontend/ampere/lower_to_maxwell.h: 160 commits in the last 90 days from 27 contributors with 27 recent bug fixes
  • src/video_core/renderer_vulkan/vk_rasterizer.cpp: 149 commits in the last 90 days from 31 contributors with 20 recent bug fixes
  • src/video_core/texture_cache/texture_cache.h: 167 commits in the last 90 days from 29 contributors with 18 recent bug fixes
  • src/video_core/engines/kepler_compute.cpp: 71 commits in the last 90 days from 16 contributors with 11 recent bug fixes

Lowest-scoring files

  • src/video_core/texture_cache/texture_cache.h: 1.0 out of 10 with 18 bug fixes in the last 180 days
  • src/core/hle/service/nx2_gsv.h: 1.0 out of 10 with 20 bug fixes in the last 180 days
  • src/video_core/buffer_cache/buffer_cache.h: 1.0 out of 10 with 15 bug fixes in the last 180 days
  • src/video_core/renderer_vulkan/vk_rasterizer.cpp: 1.0 out of 10 with 20 bug fixes in the last 180 days
  • src/core/file_sys/patch_manager.cpp: 1.0 out of 10 with 6 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 18 had a bug fix in the last 180 days. Across all 4,141 scored files, 15.6% had a bug fix in that window.

Dead code and refactoring

Repowise found 1,641 unused exports. 349 refactoring targets across 349 files would raise the score.

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

Related guide: Best dead code detection tools by language