Research Article

A Buffer Overflow Prediction Approach Based on Software Metrics and Machine Learning

Table 8

Decision tree algorithm-specific operation results.

ā€‰Before feature selection (%)After feature selection (%)
PrecisionRecallF1PrecisionRecallF1

Good95.8593.0494.4296.1193.0494.55

Good Sink47.1553.149.9547.1553.149.95

Good Source000000

Good Auxiliary98.5698.1398.3598.5698.1398.34

Bad77.2773.9975.677.2773.9975.6

Bad Sink000000

Bad Source95.7499.5196.5493.7599.696.59

Average59.2259.6959.2758.9859.6959.33

Accuracy87.4487.51

Time11.997.59