<commit_before>#!/bin/sh

PREVIOUS_DIR=`pwd`
git clone -b 1.90 https://github.com/danmar/cppcheck.git /tmp/cppcheck
cd /tmp/cppcheck
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" -j
sudo make -s install
cppcheck --version
cd $PREVIOUS_DIR<commit_msg>Add -Wno-inline to keep the log clean<commit_after>#!/bin/sh

PREVIOUS_DIR=`pwd`
git clone -b 1.90 https://github.com/danmar/cppcheck.git /tmp/cppcheck
cd /tmp/cppcheck
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function -Wno-inline" -j
sudo make -s install
cppcheck --version
cd $PREVIOUS_DIR
{'fraction_non_alphanumeric': 0.12530120481927712, 'fraction_numerical': 0.00963855421686747, 'mean_word_length': 4.614864864864865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2877703', 'n_tokens_mistral': 334, 'n_tokens_neox': 315, 'n_words': 74}