Coverity Scan: QEMU

Project Name QEMU
Lines of code analyzed 1,909,177
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: pull-target-arm-20200317-226-g...

Mar 19, 2020
Last Analyzed
1,909,177
Lines of Code Analyzed
0.06
Defect Density

Defect changes since previous build dated Mar 05, 2020

112
Newly detected
56
Eliminated

Defects by status for current build

1,570
Total defects
114
Outstanding
1,099
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 146,084 0.31
cris (/include)?/hw/cris/.*|/target/cris/.* No 6,164 0.00
hppa /target/hppa/.* No 5,764 0.00
i386 (/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c No 55,618 0.04
lm32 (/include)?/hw/lm32/.*|/target/lm32/.*|/hw/.*/(milkymist|lm32).* No 6,386 0.00
m68k (/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.* No 15,282 0.13
microblaze (/include)?/hw/microblaze/.*|/target/microblaze/.* No 3,601 0.00
mips (/include)?/hw/mips/.*|/target/mips/.* No 50,414 0.00
nios2 (/include)?/hw/nios2/.*|/target/nios2/.* No 2,308 0.43
ppc (/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic|spapr).* No 85,858 0.14
riscv (/include)?/hw/riscv/.*|/target/riscv/.* No 11,200 0.00
s390 (/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.* No 34,752 0.06
sh4 (/include)?/hw/sh4/.*|/target/sh4/.* No 6,100 0.00
sparc (/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c No 18,354 0.05
tilegx /target/tilegx/.* No 4,099 0.00
tricore (/include)?/hw/tricore/.*|/target/tricore/.* No 12,516 0.00
unicore32 (/include)?/hw/unicore32/.*|/target/unicore32/.* No 3,063 0.00
9pfs /hw/9pfs/.*|/fsdev/.* No 12,155 0.00
audio (/include)?/(audio|hw/audio)/.* No 18,825 0.00
block /block.*|(/include?)(/hw)?/block/.*|(/include)?/hw/ide/.*|/qemu-(img|io).*|/(aio|async|thread-pool).* No 92,837 0.09
bt /bt.*|/hw/bt/.* No 0 N/A
char /qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.* No 9,639 0.00
capstone /capstone/.* No 0 N/A
crypto (/include)?/crypto/.*|/hw/.*/crypto.* No 8,647 0.00
disas (/include)?/disas.* No 65,212 0.03
fpu (/include)?(/fpu|/libdecnumber)/.* No 15,893 0.06
io (/include)?/io/.* No 6,224 0.00
ipmi (/include)?/hw/ipmi/.* No 3,868 0.00
libvixl /disas/libvixl/.* No 0 N/A
migration (/include)?/migration/.* No 27,487 0.07
monitor /qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..* No 69,093 0.00
nbd /nbd/.*|/include/block/nbd.*|/qemu-nbd\.c No 6,358 0.00
net (/include)?(/hw)?/(net|rdma)/.* No 65,796 0.09
pci /hw/pci.*|/include/hw/pci.* No 17,031 0.23
qemu-ga /qga/.* No 8,574 0.12
scsi /hw/scsi/.*|/include/hw/scsi/.* No 27,551 0.00
slirp /.*slirp.* No 95 0.00
tcg /accel/tcg/.*|/replay/.*|/(.*/)?softmmu.* No 12,225 0.00
trace /.*trace.*\.[ch] No 58,655 0.00
ui (/include)?(/ui|/hw/display|/hw/input)/.* No 61,145 0.03
usb /hw/usb/.*|/include/hw/usb/.* No 29,321 0.10
user /linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/exec/user/.* No 51,101 0.06
util /util/.*|/include/qemu/.* No 24,298 0.00
xen .*/xen.* No 17,037 0.00
(headers) /include/.* No 28,825 0.03
virtiofsd /tools/virtiofsd/.* No 6,965 0.14
Other .* No 648,702 0.02

CWE Top 25 defects

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