Coverity Scan: tiff

Project Name tiff
Lines of code analyzed 151,630
On Coverity Scan since May 11, 2007
Last build analyzed 1 day ago
   
Language C/C++
Repository URL https://gitlab.com/libtiff/libtiff
Homepage URL http://www.simplesystems.org/libtiff/
License Other: Hylafax

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v4.7.2-24-g1ac62678

Aug 11, 2026
Last Analyzed
151,630
Lines of Code Analyzed
91,719
Lines of Code in Selected Components
0.08
Defect Density

Defect changes since previous build dated Aug 09, 2026

2
Newly detected
5
Eliminated

Defects by status for current build

206
Total defects
7
Outstanding
197
Fixed
See how defect density for 'tiff' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
fax2ps .*/tools/fax2ps\.c$ No 422 0.00
fax2tiff .*/tools/fax2tiff\.c$ No 458 0.00
mkg3states .*/tools/mkg3states\.c$ No 215 0.00
pal2rgb .*/tools/pal2rgb\.c$ No 473 0.00
ppm2tiff .*/tools/ppm2tiff\.c$ No 505 0.00
raw2tiff .*/tools/raw2tiff\.c$ No 895 0.00
rgb2ycbcr .*/tools/rgb2ycbcr\.c$ No 433 0.00
thumbnail .*/tools/thumbnail\.c$ No 758 0.00
tiff2bw .*/tools/tiff2bw\.c$ No 553 0.00
tiff2pdf .*/tools/tiff2pdf\.c$ No 6,072 0.16
tiff2ps .*/tools/tiff2ps\.c$ No 3,007 0.00
tiff2rgba .*/tools/tiff2rgba\.c$ No 534 0.00
tiffcmp .*/tools/tiffcmp\.c$ No 701 0.00
tiffcp .*/tools/tiffcp\.c$ No 2,318 0.00
tiffcrop .*/tools/tiffcrop\.c$ No 10,752 0.09
tiffdither .*/tools/tiffdither\.c$ No 338 0.00
tiffdump .*/tools/tiffdump\.c$ No 896 0.00
tiffgt .*/tools/tiffgt\.c$ No 0 N/A
tiffinfo .*/tools/tiffinfo\.c$ No 730 0.00
tiffmedian .*/tools/tiffmedian\.c$ No 919 0.00
tiffset .*/tools/tiffset\.c$ No 449 0.00
tiffsplit .*/tools/tiffsplit\.c$ No 377 0.00
tools_common .*/tools/tiff_tools\.[ch]$ No 48 0.00
contrib_addtiffo .*/contrib/addtiffo/[^\.]*\.[ch]$ No 1,608 1.87
contrib .*/contrib/(?!addtiffo).*/[^\.]*\.[ch]$ No 1,251 0.00
port files .*/port/[^/]*$ No 20 0.00
libtiff config ^\.[^/]*$ No 0 N/A
system headers ^/usr/include/.* Yes 55,941 N/A
gcc headers ^/usr/lib/gcc/.* Yes 3,970 N/A
local headers ^/usr/local/include/.* Yes 0 N/A
libtiff .*/libtiff/[^/]*(\.c|\.h|\.hxx|\.cxx)$ No 53,291 0.04
Other .* No 51 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 2
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project