Analysis of flame retardancy in polymer science