libcafeweather (clang-tools 1:16.0-57) - scan-build results

User:root@865d2d0efa6a
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (19)
Date:Sun Feb 11 01:51:29 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs16
Logic error
Dereference of null pointer1
Out-of-bound access2
Unix Stream API Error
Resource Leak1
Unused code
Dead assignment3
Dead initialization7
Unreachable code2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unused codeDead assignmentweather-wx.cwx_finish381View Report
Unused codeDead assignmentweather.c_weather_info_fill4971View Report
Unused codeDead assignmentweather-metar.cmetar_parse4541View Report
Unused codeDead initializationweather-bom.cbom_finish331View Report
Unused codeDead initializationweather-sun.ccalc_sun21651View Report
Unused codeDead initializationweather-sun.ccalc_sun21641View Report
Unused codeDead initializationweather-metar.cmetar_finish4911View Report
Unused codeDead initializationweather-iwin.ciwin_finish3851View Report
Unused codeDead initializationweather-wx.cwx_finish301View Report
Unused codeDead initializationweather-met.cmet_finish1491View Report
Logic errorDereference of null pointerweather-met.cmet_reprocess11123View Report
Logic errorOut-of-bound accessweather-met.cmet_reprocess11144View Report
Logic errorOut-of-bound accessweather-metar.cmetar_tok_vis1699View Report
Unix Stream API ErrorResource Leaktest_metar.cmain738View Report
Unused codeUnreachable codeweather-metar.cmetar_tok_vis1771View Report
Unused codeUnreachable codeweather-sun.cweather_info_next_sun_event3391View Report