Random Forest Approach for Identifying High-Risk Modules by Analyzing Code Complexity and Lines of Code Alterations

Test case failure likelihood increases with: All these factors have been incorporated into our collected data along with the real time test results. Here “Code Complexity”, “Lines of Code Changed” and “Module affected” are considered as features (independent variable) and “Test Outcome” as label (dependent variable). Now will use “label encoding” for “change type” and…