If you create a fragment without adding it to the activity using the fragment transaction manager it will show up as a false positive.