<commit_before>LISTEN = [
    TestOnEvent('libinjection'),
    TestOnTime(minute='0', hour='23')
]

tests = [
    {
        'name'    : 'libinjection-build-test',
        'listen'  : LISTEN,
        'source'  : CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec'    : ExecuteShell('gcc --version && cd c && make clean && make test'),
    },
    {
        'name': 'libinjection-build-test-g++',
        'listen'  : LISTEN,
        'source': CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec': ExecuteShell('g++ --version && cd c && make clean && CC=g++ make test')
    },
    {
        'name'   : 'libinjection-cppcheck',
        'listen' : LISTEN,
        'source' : CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec'   : ExecuteShell('cppcheck --version && cd c && make cppcheck')
    },
    {
        'name'   : 'libinjection-loc',
        'listen' : LISTEN,
        'source' : CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec'   : ExecuteShell('cd c && cloc.pl libinjection.h libinjection_sqli.c')<commit_msg>add clang builds to CI<commit_after>LISTEN = [
    TestOnEvent('libinjection'),
    TestOnTime(minute='0', hour='23')
]

tests = [
    {
        'name'    : 'libinjection-build-test',
        'listen'  : LISTEN,
        'source'  : CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec'    : ExecuteShell('gcc --version && cd c && make clean && make test'),
    },
    {
        'name': 'libinjection-build-test-g++',
        'listen'  : LISTEN,
        'source': CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec': ExecuteShell('g++ --version && cd c && make clean && CC=g++ make test')
    },
    {
        'name': 'libinjection-build-test-clang',
        'listen'  : LISTEN,
        'source': CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec': ExecuteShell('clang --version && cd c && ./clang.sh')
    },
    {
        'name'   : 'libinjection-cppcheck',
        'listen' : LISTEN,
        'source' : CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec'   : ExecuteShell('cppcheck --version && cd c && make cppcheck')
    },
    {
        'name'   : 'libinjection-loc',
        'listen' : LISTEN,
        'source' : CheckoutGit('https://github.com/client9/libinjection.git'),
        'exec'   : ExecuteShell('cd c && cloc.pl libinjection.h libinjection_sqli.c')
{'fraction_non_alphanumeric': 0.18311002842062526, 'fraction_numerical': 0.0060901339829476245, 'mean_word_length': 2.475317348377997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2944666', 'n_tokens_mistral': 851, 'n_tokens_neox': 812, 'n_words': 137}