• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / crud / 21294069470

23 Jan 2026 04:54PM UTC coverage: 73.505% (-15.0%) from 88.463%
21294069470

Pull #477

github

ita-sammann
test: dump xlogs and snaps for debug
Pull Request #477: test: attempt to mitigate replication bug on cluster start

1 of 2 new or added lines in 1 file covered. (50.0%)

856 existing lines in 47 files now uncovered.

4253 of 5786 relevant lines covered (73.51%)

55.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.35
/crud/common/call_cache.lua
1
local func_name_to_func_cache = {}
19✔
2

3
local function func_name_to_func(func_name)
4
    if func_name_to_func_cache[func_name] then
320✔
5
        return func_name_to_func_cache[func_name]
235✔
6
    end
7

8
    local current = _G
85✔
9
    for part in string.gmatch(func_name, "[^%.]+") do
253✔
10
        current = rawget(current, part)
168✔
11
        if current == nil then
168✔
UNCOV
12
            error(("Function '%s' is not registered"):format(func_name))
×
13
        end
14
    end
15

16
    if type(current) ~= "function" then
85✔
17
        error(func_name .. " is not a function")
×
18
    end
19

20
    func_name_to_func_cache[func_name] = current
85✔
21
    return current
85✔
22
end
23

24
local function reset()
UNCOV
25
    func_name_to_func_cache = {}
×
26
end
27

28
return {
19✔
29
    func_name_to_func = func_name_to_func,
19✔
30
    reset = reset,
19✔
31
}
19✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc