Coverity Scan: QEMU

Project Name QEMU
Lines of code analyzed 1,493,185
On Coverity Scan since Apr 17, 2013
Last build analyzed 1 day 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.12.0-rc2-50-g915d34c5f9

Apr 24, 2018
Last Analyzed
1,493,185
Lines of Code Analyzed
0.06
Defect Density

Defect changes since previous build dated Feb 14, 2018

71
Newly detected
35
Eliminated

Defects by status for current build

1,385
Total defects
91
Outstanding
891
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,450 0.00
arm (/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|stellaris|pxa2xx|versatile|zynq|cadence).*|/hw/net/xgmac.c|/hw/ssi/xilinx_spips.c|/target/arm/.* No 113,495 0.08
cris (/include)?/hw/cris/.*|/target/cris/.* No 6,268 0.00
hppa /target/hppa/.* No 5,954 0.00
i386 (/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c No 49,935 0.06
lm32 (/include)?/hw/lm32/.*|/target/lm32/.*|/hw/.*/(milkymist|lm32).* No 6,372 0.00
m68k (/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.* No 13,818 0.36
microblaze (/include)?/hw/microblaze/.*|/target/microblaze/.* No 3,635 0.00
mips (/include)?/hw/mips/.*|/target/mips/.* No 37,321 0.00
nios2 (/include)?/hw/nios2/.*|/target/nios2/.* No 1,892 0.00
ppc (/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic|spapr).* No 74,092 0.03
riscv (/include)?/hw/riscv/.*|/target/riscv/.* No 7,036 0.99
s390 (/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.* No 28,840 0.03
sh4 (/include)?/hw/sh4/.*|/target/sh4/.* No 6,124 0.00
sparc (/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c No 17,783 0.00
tilegx /target/tilegx/.* No 4,123 0.00
tricore (/include)?/hw/tricore/.*|/target/tricore/.* No 12,433 0.00
unicore32 (/include)?/hw/unicore32/.*|/target/unicore32/.* No 3,131 0.00
9pfs /hw/9pfs/.*|/fsdev/.* No 12,214 0.00
audio (/include)?/(audio|hw/audio)/.* No 18,878 0.05
block /block.*|(/include?)(/hw)?/block/.*|(/include)?/hw/ide/.*|/qemu-(img|io).*|/(aio|async|thread-pool).* No 82,645 0.10
bt /bt.*|/hw/bt/.* No 4,681 0.00
char /qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.* No 8,289 0.00
crypto (/include)?/crypto/.* No 8,008 0.00
capstone /capstone/.* No 0 N/A
disas (/include)?/disas.* No 51,795 0.02
fpu (/include)?(/fpu|/libdecnumber)/.* No 15,160 0.07
io (/include)?/io/.* No 6,073 0.00
ipmi (/include)?/hw/ipmi/.* No 3,179 0.00
libvixl /disas/libvixl/.* No 0 N/A
migration (/include)?/migration/.* No 21,842 0.14
monitor /qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..* No 65,967 0.00
nbd /nbd/.*|/include/block/nbd.*|/qemu-nbd\.c No 5,778 0.35
net (/include)?(/hw)?/net/.* No 54,844 0.02
pci /hw/pci.*|/include/hw/pci.* No 12,708 0.00
qemu-ga /qga/.* No 8,324 0.00
scsi /hw/scsi/.*|/include/hw/scsi/.* No 23,760 0.00
slirp /.*slirp.* No 9,044 0.33
tcg /cpu-exec\..*|/translate-all\..*|/cputlb\..*|/tcg/.*|/include/exec/[^/]*|/softmmu.* No 18,039 0.00
trace /.*trace.*\.[ch] No 46,556 0.00
ui (/include)?(/ui|/hw/display|/hw/input)/.* No 53,670 0.06
usb /hw/usb/.*|/include/hw/usb/.* No 29,088 0.14
user /linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/exec/user/.* No 37,182 0.24
util /util/.*|/include/qemu/.* No 20,695 0.10
xen .*/xen.* No 15,035 0.07
(headers) /include/.* No 21,319 0.00
Other .* No 521,825 0.05

CWE Top 25 defects

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