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

tarantool / tarantool / 9416809538
88%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2024 12:26PM UTC
Jobs 1
Files 513
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jun 2024 12:15PM UTC coverage: 87.114% (+0.04%) from 87.077%
9416809538

push

github

locker
key_def: Introduce `__len` metamethod

The metamethod is a way to key_def length introspection.

Closes #10111

@TarantoolBot document
Title: key_def length introspection

To check key_def length (parts count) there is a standard lua operator
`#` (`__len` metamethod).

Example:

```lua
function is_full_pkey(space, key)
    return #space.index[0].parts == #key
end
```

67695 of 120727 branches covered (56.07%)

5 of 6 new or added lines in 1 file covered. (83.33%)

19 existing lines in 11 files now uncovered.

100393 of 115243 relevant lines covered (87.11%)

2442399.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9416809538.1 07 Jun 2024 12:26PM UTC 0
87.11
GitHub Action Run
Source Files on build 9416809538
Detailed source file information is not available for this build.
  • Back to Repo
  • 90f33049 on github
  • Prev Build on master (#9415593681)
  • Next Build on master (#9417076239)
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