Coverity Scan: Xilinx/XRT

Project Name Xilinx/XRT
Lines of code analyzed 1,092,736
On Coverity Scan since Feb 27, 2019
Last build analyzed about 7 hours ago
   
Language C/C++
Repository URL https://github.com/Xilinx/XRT.git
Homepage URL https://github.com/Xilinx/XRT
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: trunk

Jun 01, 2025
Last Analyzed
1,092,736
Lines of Code Analyzed
619,062
Lines of Code in Selected Components
1.21
Defect Density

Defect changes since previous build dated May 30, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

2,193
Total defects
748
Outstanding
1,320
Fixed
See how defect density for 'Xilinx/XRT' 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
Boost /usr/include/boost/.* Yes 191,413 N/A
Google /usr/include/google/.* Yes 15,736 N/A
Misc 3rd party /usr/local/lib/.* Yes 0 N/A
RapidJson /usr/include/rapidjson/.* Yes 9,081 N/A
System C++ /usr/include/c\+\+/.* Yes 113,383 N/A
Linux kernel headers /usr/src/.* Yes 138,429 N/A
OpenCL /usr/include/CL/.* Yes 5,632 N/A
aiebu .*/aiebu/.* No 191,007 0.72
xdp .*/xdp/.* No 29,562 2.71
api .*/core/common/api/.* No 12,745 0.16
coreutil .*/core/common/.* No 38,644 0.70
kmd .*/usr/src/xrt.* No 134,709 0.33
xbtracer .*/xbtracer/.* No 2,681 2.98
xbreplay .*/xbreplay/.* No 2,058 8.75
tools .*/core/tools/.* No 23,982 4.75
nlohmann .*/core/common/json/nlohmann/.* Yes 0 N/A
elfio .*/core/common/elf/.* Yes 0 N/A
Other .* No 183,892 1.51

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 2
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 19
676 Use of Potentially Dangerous Function 4
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