INNER CODE UNIT · Python
render_all_vendors
crocs-muni/JCAlgTest · AlgTest_Process/cplc.py:400
def render_all_vendors():
files_with_cplc = {}
files_without_cplc = []
walk_dir = '..\\..\\algtest_results\\javacard\\Profiles\\results\\'
process_jcalgtest_files(walk_dir, files_with_cplc, files_without_cplc)
print(files_with_cplc.keys())
compute_stats(files_with_cplc)
vendors = ['', 'NXP', 'Infineon', 'Gemalto', 'Feitian', 'G&D', 'Idemia']
#vendors = ['']
#vendors = ['G&D']
for vendor in vendors:
generate_graph(files_with_cplc, vendor)
print('Cards with CPLC: {}'.format(len(files_with_cplc)))
print('Cards without CPLC: {}'.format(len(files_without_cplc)))