platform_build/tools/warn
Chih-Hung Hsieh 4b020cd1d3 Add warning type into TopDirs and TopFiles index
* The index was a directory or file path.
  This change adds additional entries that have
  warning type prefix in the index.
* In the "Directories/Files with at least 1% warnings"
  section, the list will include number of warnings for
  (1) "all warnings in a directory/file"
  (2) "warnings of a type in a directory/file"
  (3) "warnings of a type in all directories/files"
  Examples:
    4273 (8.7%) frameworks/av/...
    4130 (8.4%) packages/...
    2427 (5.0%) [google-explicit-constructor] */...
    1628 (3.3%) [cert-err34-c] */...
    1099 (2.2%) [google-runtime-int] bionic/tests/math_data/...
     608 (1.2%) [cert-err34-c] external/...

Bug: 231245501
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I13bb54c846ad514334f78c5a71e994a131a92963
2022-05-17 11:46:15 -07:00
..
.pylintrc Fix more pylint warnings. 2021-04-30 14:32:25 -07:00
__init__.py Split warn.py into multiple files 2019-12-17 15:12:31 -08:00
android_project_list.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00
chrome_project_list.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00
cpp_warn_patterns.py Add new clang-tidy and clang warning patterns 2021-10-08 13:18:24 -07:00
html_writer.py Add warning type into TopDirs and TopFiles index 2022-05-17 11:46:15 -07:00
java_warn_patterns.py Add one more Java warning pattern 2021-06-10 14:33:54 -07:00
make_warn_patterns.py Add new Asm/C++/Java/Make warning patterns 2021-06-02 21:34:49 +00:00
other_warn_patterns.py Add one Asm warning pattern 2021-06-08 14:52:45 -07:00
OWNERS Split warn.py into multiple files 2019-12-17 15:12:31 -08:00
severity.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00
tidy_warn_patterns.py Lower severity of 3 tidy warnings 2022-01-20 16:13:12 -08:00
warn.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00
warn_common.py Handle warning lines from RBE 2021-09-03 14:23:55 -07:00