Bug 218096

Summary: report-non-inclusive-language should also report total for all the non-inclusive terms
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, bdakin, darin, jbedard, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 213092    
Attachments:
Description Flags
Patch none

Description Aakash Jain 2020-10-22 12:32:48 PDT
report-non-inclusive-language should also report total usage of all the non-inclusive terms combined. The total can be tracked as a metric and we can target to reduce the total for all the non-inclusive terms.
Comment 1 Aakash Jain 2020-10-22 12:34:59 PDT
Created attachment 412121 [details]
Patch
Comment 2 Aakash Jain 2020-10-22 12:38:15 PDT
Also updated the output formatting to make it one-line.

Output before this patch:
[Tools]$report-non-inclusive-language 
total blacklist: 11
total whitelist: 34
total slave: 158


Output after this patch:
[Tools]$report-non-inclusive-language 
Total: 203 (blacklist: 11, whitelist: 34, slave: 158)
Comment 3 EWS 2020-10-22 13:32:58 PDT
Committed r268890: <https://trac.webkit.org/changeset/268890>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 412121 [details].
Comment 4 Radar WebKit Bug Importer 2020-10-22 13:33:50 PDT
<rdar://problem/70587102>