Coverity Scan: QEMU

Project Name QEMU
Lines of code analyzed 1,364,212
On Coverity Scan since Apr 17, 2013
Last build analyzed 9 days ago
   
Language C/C++
Repository URL git://git.qemu.org/qemu.git
Homepage URL http://www.qemu.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v2.10.0-476-g04ef33052c

Sep 12, 2017
Last Analyzed
1,364,212
Lines of Code Analyzed
0.01
Defect Density

Defect changes since previous build dated Aug 08, 2017

2
Newly detected
2
Eliminated

Defects by status for current build

1,266
Total defects
10
Outstanding
860
Fixed
See how defect density for 'QEMU' 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
alpha (/include)?/hw/alpha/.*|/target/alpha/.* No 5,511 0.00
arm (/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|digic|exynos|imx|omap|stellaris|pxa2xx|versatile|zynq|cadence).*|/hw/net/xgmac.c|/hw/ssi/xilinx_spips.c|/target/arm/.* No 101,623 0.00
cris (/include)?/hw/cris/.*|/target/cris/.* No 6,306 0.00
hppa /target/hppa/.* No 4,050 0.00
i386 (/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c No 48,980 0.02
lm32 (/include)?/hw/lm32/.*|/target/lm32/.*|/hw/.*/(milkymist|lm32).* No 6,429 0.00
m68k (/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.* No 9,162 0.00
microblaze (/include)?/hw/microblaze/.*|/target/microblaze/.* No 3,502 0.00
mips (/include)?/hw/mips/.*|/target/mips/.* No 37,357 0.00
nios2 (/include)?/hw/nios2/.*|/target/nios2/.* No 1,901 0.00
ppc (/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic|spapr).* No 71,570 0.01
s390 (/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.* No 26,574 0.00
sh4 (/include)?/hw/sh4/.*|/target/sh4/.* No 6,144 0.00
sparc (/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c No 16,204 0.00
tilegx /target/tilegx/.* No 4,130 0.00
tricore (/include)?/hw/tricore/.*|/target/tricore/.* No 12,442 0.00
unicore32 (/include)?/hw/unicore32/.*|/target/unicore32/.* No 3,165 0.00
9pfs /hw/9pfs/.*|/fsdev/.* No 12,171 0.00
audio (/include)?/(audio|hw/audio)/.* No 18,840 0.00
block /block.*|(/include?)(/hw)?/block/.*|(/include)?/hw/ide/.*|/qemu-(img|io).*|/(aio|async|thread-pool).* No 73,802 0.00
bt /bt.*|/hw/bt/.* No 4,683 0.00
char /qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.* No 8,666 0.00
crypto (/include)?/crypto/.* No 7,985 0.00
libvixl /disas/libvixl/.* No 10,929 0.00
disas (/include)?/disas.* No 37,721 0.00
fpu (/include)?(/fpu|/libdecnumber)/.* No 15,758 0.00
io (/include)?/io/.* No 5,348 0.00
ipmi (/include)?/hw/ipmi/.* No 3,146 0.00
migration (/include)?/migration/.* No 19,917 0.00
monitor /qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..* No 40,215 0.00
nbd /nbd/.*|/include/block/nbd.*|/qemu-nbd\.c No 4,924 0.00
net (/include)?(/hw)?/net/.* No 49,012 0.02
pci /hw/pci.*|/include/hw/pci.* No 11,731 0.00
qemu-ga /qga/.* No 8,277 0.00
scsi /hw/scsi/.*|/include/hw/scsi/.* No 24,303 0.00
slirp /.*slirp.* No 9,045 0.33
tcg /cpu-exec\..*|/translate-all\..*|/cputlb\..*|/tcg/.*|/include/exec/[^/]*|/softmmu.* No 14,476 0.00
trace /.*trace.*\.[ch] No 36,870 0.00
ui (/include)?(/ui|/hw/display|/hw/input)/.* No 50,779 0.00
usb /hw/usb/.*|/include/hw/usb/.* No 28,782 0.00
user /linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/exec/user/.* No 35,686 0.03
util /util/.*|/include/qemu/.* No 19,333 0.05
xen .*/xen.* No 14,588 0.07
(headers) /include/.* No 18,047 0.00
Other .* No 416,863 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