Skip to content

Update - 1 intensity

prajakta bendre requested to merge RuleIntensity into main
  • /null_pointer_1.java
  • /null_pointer_2.java
  • /null_pointer_3.java

Summary by Bito

This PR introduces an Inventory Management System across three Java files that deliberately demonstrate null pointer exception risks. The implementation showcases NPE vulnerabilities in various scenarios including direct iteration, nested loops, stream operations, and complex collection hierarchies to facilitate discussion on proper error handling approaches.

Unit tests added: False

Estimated effort to review (1-5, lower is better): 3
Edited by prajakta bendre

Merge request reports