@GNUser: few small proposals for YOUR script: 
1. a typo, provides.db instead of infofile, but is just in a commented row, no influence. 
2. will be nice to say also date issued, aside version, in script help, no influence. 
3. From total (ex: 2839 info files), to process only those WITHOUT *-doc.tcz,[134] *-locale.tcz [58], *-dev.tcz [752], *-gir.tcz [164]; 
so, calc 2839-134-58-752-164 ->1731; calc 1731/2839 ->0.60972, basically process only 61% info files. 
Because the extension creator sent "tcz + doc.tcz + locale.tcz", so do not count it 3 times. (like when someone use "submitqc" procedure for a tcz, will create also its complementary files). 
And "-dev.tcz + -gir.tcz" by juanito [1891 infos], (with calc 1891/2839 -> 66.6% of total) I hope he will not be upset. IMMV. 
If my proposal is undesirable, then maybe to add a parameter in calling the script.