Coverity Scan: GRUB

Project Name GRUB
Lines of code analyzed 349,452
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: grub-2.16-rc2

Sep 13, 2026
Last Analyzed
349,452
Lines of Code Analyzed
0.05
Defect Density

Defect changes since previous build dated Sep 06, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

734
Total defects
19
Outstanding
598
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,966 0.00
fs .*/grub-core/fs/.* No 27,895 0.04
loader .*/grub-core/loader/.* No 11,114 0.27
Other .* No 187,861 0.02

CWE Top 25 defects

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