line |
true |
false |
branch |
26
|
2 |
0 |
if (charenc == NULL) return ENC_UTF_8; |
27
|
2 |
0 |
for (encoding = encodings; encoding->name != 0; encoding++) { |
28
|
0 |
2 |
if (strcmp(encoding->name, charenc) == 0) break; |
30
|
2 |
0 |
if (encoding->name == NULL) return ENC_UNKNOWN; |
41
|
2 |
0 |
if (stemmer == NULL) return NULL; |
43
|
2 |
0 |
if (enc == ENC_UNKNOWN) return NULL; |
45
|
2 |
0 |
for (module = modules; module->name != 0; module++) { |
46
|
2 |
0 |
if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; |
|
0 |
2 |
if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; |
48
|
2 |
0 |
if (module->name == NULL) return NULL; |
55
|
0 |
2 |
if (stemmer->env == NULL) |
67
|
2 |
0 |
if (stemmer == 0) return; |
68
|
2 |
0 |
if (stemmer->close == 0) return; |
78
|
0 |
16 |
if (SN_set_current(stemmer->env, size, (const symbol *)(word))) |
84
|
16 |
0 |
if (ret < 0) return NULL; |