Branch Coverage

src/panda/hash.cc
Criterion Covered Total %
branch 2 10 20.0


line true false branch
17 1214 101 while (data != end) {
48 0 0 for (hash = i = 0; i < len; ++i) {
61 0 0 if (dest) buf = (unsigned char*) dest;
64 0 0 if (!buf) throw std::bad_alloc();
66 0 0 for (size_t i = 0; i < slen; ++i) buf[i] = ((unsigned char) source[i]) ^ ((unsigned char) key[i % klen]);