If my vavle cover is not on tight enough will that cause me to fail smog?

I failed smog cuz my car burn a little too much HC but everything else is a pass. when I got home I notice that my vavle cover wasnt tight enough only hand tight and when the engine gets very hot there is small oil starts leaking out . will that cause me to burn more HC?
6 answers 6