Non Inclusive Language
LFX Security in collaboration with BluBracket scans for non inclusive language. Non inclusive language that depict people unfairly in an insulting manner and exclude people based on their ethnicity, gender or color. Usage of these words or language is not expected use in the open source code.
LFX Security will scan for the non inclusive language which might have been added by the developers unintentionally without their knowledge. Some of the generic non inclusive words that are used in the code are blacklist, whitelist, slave, master.
To view non inclusive language, perform the following steps:
1.Login to LFX Security, select the required project and click click View Dashboard.
View Dashboard
2.Select NON-INCLUSIVE LANGAUGE from the top menu.
Non Inclusive Language
3.The list provides the following details related to the non inclusive language:
  • Detected On - Date and time when the code is scanned
  • Description - Non inclusive language used in the code
  • Repository - Name of the GitHub repository which contains the code from where the non inclusive language has been detected
  • Developer - Name of the developer who has checked in the code in the repository
  • Notify - Notification button which can be used to notify the developer
  • Action Taken - Allows you to take action on the non inclusive language.
When you click on the Description of the non inclusive language, you will be taken to the line of the code where non inclusive language has been used.

Notifying Developer

You have an option to notify the developer who has added non inclusive language in their code. This notification feature will allow the developer to remove or replace the non inclusive language.
You should have the necessary permission to take action related to notifying a developer for non inclusive language. With out necessary permissions, the Notify button will not be available to take action on non inclusive language.
To notify a developer on usage of non inclusive language, perform the following steps:
1.Select NON-INCLUSIVE LANGAUGE from the top menu.
2.Under Notify tab, click Notify.
You can see Notified along with a green tick mark when a notification is sent to the developer.
You cannot send a reminder to developer, if the developers email is marked as private.
3.A confirmation dialog box appears informing that a notification will be sent to developer. Click Send Notification to confirm. A notification email is delivered to developer who has added the non inclusive language.
Confirmation Message
3.You can also send a reminder notification to the developer if the developer has not replaced the non inclusive language even after a notification. Click Remind to send a reminder notification.
You can also send a reminder notification to all the developers at once by clicking on Resend All. A remind notification will sent to the developer.

Actions Performed on the Non Inclusive Language

Project Maintainers can perform various actions on the non inclusive language. These actions will help to mitigate the non inclusive language used for the code and the project. The icon provides you all the required details related to the non inclusive language, based on the details available, you can perform certain actions on these non inclusive language.
To perform actions on the non inclusive language, perform the following steps:
1.Select Non Inclusive Language from the top menu. The non inclusive language words are listed.
2. Click the
icon listed in front of Take Action.
Non Inclusive Details
3. The non inclusive language details box appears with a list of all the details related to the non inclusive language. Click Actions and select the required action to be performed for the listed non inclusive language.
Non Inclusive Language Actions
4.Under Actions, you can see the following actions:
  • Resolve - Use this option to resolve the non inclusive language
  • Ignore - Use this option to ignore the non inclusive language
  • False Positive - Use this option if you think the mentioned non inclusive language is not a non inclusive language

Categorization of Non Inclusive Words

LFX Security allows you to categorize the non inclusive words using various parameters. Following are few of the categories available to filter or categorize non inclusive words:
  • Description Filters
  • Repository Filters
  • Developer Filters
  • Notify Filters
To add filter, perform the following:
1.Click Add Filters + and select the required filters and click Apply Filters.
Last modified 21d ago