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

JuliaLang / julia / #37846
77%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2024 11:24AM UTC
Jobs 1
Files 354
Run time 1min
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

22 Jul 2024 01:06AM UTC coverage: 86.908% (+0.8%) from 86.098%
#37846

push

local

web-flow
Preserve Git objects from being garbage collected (#55142)

This issue has been discussed
[here](https://discourse.julialang.org/t/preserve-against-garbage-collection-in-libgit2/117095).

In most cases, thanks to the specialization of `Base.unsafe_convert`, it
is sufficient to replace `obj.ptr` by `obj` in `ccalls` to fix the
issue.

In other cases, for example when a pointer to an internal string is
returned, the code has to be wrapped in `GC.https://github.com/preserve
obj begin ... end` block.

All `LibGit2` tests run successfully. I have left a few `FIXME` comments
where I have doubts about the code, notably with `Ptr{Ptr{Cvoid}}`
arguments.

71 of 73 new or added lines in 15 files covered. (97.26%)

560 existing lines in 28 files now uncovered.

76034 of 87488 relevant lines covered (86.91%)

15443040.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
76.52
-22.56% stdlib/LibGit2/src/remote.jl

Uncovered Existing Lines

Lines Coverage ∆ File
1
25.17
-0.66% base/strings/cstring.jl
1
96.21
0.0% stdlib/LinearAlgebra/src/diagonal.jl
1
89.64
-0.05% base/compiler/tfuncs.jl
1
96.51
-0.32% base/strings/util.jl
1
70.67
0.4% stdlib/LibGit2/src/tree.jl
2
88.73
-1.27% stdlib/LibGit2/src/gitcredential.jl
2
48.91
-2.17% base/multimedia.jl
2
91.67
-1.85% stdlib/Markdown/src/parse/util.jl
2
91.18
-0.91% base/logging/logging.jl
3
78.26
-13.04% base/locks-mt.jl
3
71.43
-21.9% stdlib/Markdown/src/IPython/IPython.jl
3
86.0
-6.0% stdlib/Markdown/src/parse/parse.jl
6
94.39
-5.61% base/secretbuffer.jl
8
63.64
-24.24% stdlib/Markdown/src/Julia/interp.jl
10
60.25
30.59% base/threadingconstructs.jl
14
66.67
-33.33% stdlib/Markdown/src/render/terminal/formatting.jl
15
80.25
-4.7% stdlib/LibGit2/src/LibGit2.jl
15
87.89
-7.89% stdlib/Markdown/src/Common/block.jl
20
81.35
-7.81% stdlib/LibGit2/src/types.jl
22
70.97
-23.66% base/logging/ConsoleLogger.jl
24
76.52
-22.56% stdlib/LibGit2/src/remote.jl
31
59.8
-30.39% stdlib/Markdown/src/render/html.jl
32
57.95
-36.36% stdlib/Markdown/src/render/plain.jl
35
37.78
-39.4% base/libdl.jl
39
53.51
-34.21% stdlib/Markdown/src/GitHub/table.jl
45
23.98
-18.29% stdlib/LibGit2/src/callbacks.jl
48
47.71
-31.23% stdlib/Markdown/src/render/terminal/render.jl
174
1.08
-93.46% stdlib/Profile/src/Allocs.jl
Jobs
ID Job ID Ran Files Coverage
1 #37846.1 22 Jul 2024 11:24AM UTC 354
86.91
Source Files on build #37846
  • Tree
  • List 354
  • Changed 298
  • Source Changed 0
  • Coverage Changed 60
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a1e0f5d9 on github
  • Prev Build on master
  • Next Build on master
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

© 2025 Coveralls, Inc