Analysis Of Human Affect And Bug Patterns To Improve Software Quality And Security