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

OSGeo / gdal / 23366843593
72%

Build:
DEFAULT BRANCH: master
Ran 21 Mar 2026 01:28AM UTC
Jobs 1
Files 2062
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

20 Mar 2026 11:36PM UTC coverage: 71.893% (-0.01%) from 71.907%
23366843593

push

github

web-flow
Update C# Samples (#14187)

NOTE : For the avoidance of doubt this PR ONLY changes the C# samples. No Core GDAL code or C# bindings are effected.

While testing another PR - I realised that two of the C# tests based on the samples were failing because the OGR Datasource object was not been disposed correctly and this meant that the written data was corrupted. I think that until the most recent changes GDAL was more forgiving.

The samples are still very valuable as testing tools and examples of code despite being 20 yaers old; therefore I have updated the samples to explictly Dispose (mostly using the IDisposable pattern) the major companents (mostly GDAL Dataset, Layer, Band etc and OGR Datasource, Layer, Feature and Geometry. I also did a bit of tidying in the process.

The functionality and results of the samples and the related tests are NOT changed.

Note that I have used the longform using pattern rather than the shortform version for backwards compatability.

I have also added the .editorconfig used to avoid the problem in the future.

611380 of 850406 relevant lines covered (71.89%)

317833.16 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.83
-2.17% frmts/gtiff/libgeotiff/geo_tiffp.c
1
53.35
-0.08% frmts/gtiff/libtiff/tif_dir.c
1
84.29
-0.17% frmts/gtiff/libtiff/tif_lzw.c
1
79.55
-0.2% port/cpl_multiproc.cpp
1
90.3
0.09% port/cpl_string.cpp
1
46.49
-0.88% third_party/LercLib/Lerc_c_api_impl.cpp
1
51.96
0.0% third_party/LercLib/Lerc.cpp
2
87.74
-0.12% port/cpl_vsil_curl_streaming.cpp
2
69.81
1.13% port/cpl_vsisimple.cpp
2
88.38
-0.7% third_party/LercLib/BitStuffer2.cpp
2
71.69
0.38% third_party/LercLib/Lerc2.h
3
34.69
0.02% frmts/gtiff/libtiff/tif_dirread.c
3
77.42
-1.94% frmts/gtiff/libtiff/tif_packbits.c
3
66.22
-0.45% frmts/gtiff/libtiff/tif_read.c
3
90.91
-0.83% port/cplstringlist.cpp
3
89.31
-0.28% port/cpl_vsil.cpp
4
44.54
-0.89% frmts/gtiff/libtiff/tif_dirinfo.c
6
87.86
-0.75% port/cpl_minixml.cpp
6
94.35
-4.84% port/cpl_sha1.cpp
110
83.46
-8.5% port/cpl_aws.cpp
Jobs
ID Job ID Ran Files Coverage
1 23366843593.1 21 Mar 2026 01:28AM UTC 2062
71.89
GitHub Action Run
Source Files on build 23366843593
  • Tree
  • List 2062
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23366843593
  • e7390821 on github
  • Prev Build on master (#23356860908)
  • Next Build on master (#23377380858)
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