Coverity Scan: GRUB

Project Name GRUB
Lines of code analyzed 329,864
On Coverity Scan since Nov 02, 2014
Last build analyzed 3 days ago
   
Language C/C++
Secondary Language Java
Repository URL https://gitlab.freedesktop.org/gnu-grub/grub.git
Homepage URL http://www.gnu.org/software/grub/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 3429f46

Jul 30, 2026
Last Analyzed
329,864
Lines of Code Analyzed
0.09
Defect Density

Defect changes since previous build dated Jul 29, 2026

14
Newly detected
17
Eliminated

Defects by status for current build

725
Total defects
29
Outstanding
582
Fixed
See how defect density for 'GRUB' 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
gcrypt .*/grub-core/lib/libgcrypt-grub/* No 46,767 0.17
gnulib .*/grub-core/lib/gnulib/* No 40,309 0.07
json .*/grub-core/lib/json/* No 684 0.00
zstd .*/grub-core/lib/zstd/* No 6,212 0.00
minilzo .*/grub-core/lib/minilzo/* No 9,644 0.00
util .*/util/* No 18,962 0.00
fs .*/grub-core/fs/.* No 27,249 0.00
loader .*/grub-core/loader/.* No 11,025 0.27
Other .* No 185,312 0.08

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 3
676 Use of Potentially Dangerous Function 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