This is a tool that scans git repos, extracts bug fix information from git commits, and aids in the analysis and visualization of that bug fix information.
This tool was orginally created for doing analysis on the Linux kernel; however, this tool can likely be adapted to do analysis on any git repo that includes bug fix information in commit messages in a sufficiently structured way.
$PATH_TO_BUG_HEAT_MAP_BUILDER/heat_map_builder.py build_map $BUG_MAP_FILE_NAMEThis builds the mapping between bugs and source files that subsequent analysis will be based on.
heat_map_builder.py supplies additional commands to do analysis on the file to bug mapping.
Every file containing source code must include copyright and license information. This includes any JS/CSS files that you might be serving out to browsers. (This is to help well-intentioned people avoid accidental copying that doesn't comply with the license.)
Copyright 2022 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.