Coverity Scan: ilcc/qemu

Project Name ilcc/qemu
Lines of code analyzed 527,389
On Coverity Scan since Jul 24, 2015
Last build analyzed a while ago
   
Language C/C++
Repository URL https://github.com/ilcc/qemu.git
Homepage URL https://github.com/ilcc/qemu
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 59d6c34

Mar 03, 2016
Last Analyzed
527,389
Lines of Code Analyzed
0.52
Defect Density

Defect changes since previous build dated Mar 03, 2016

187
Newly detected
53
Eliminated

Defects by status for current build

407
Total defects
273
Outstanding
130
Fixed
See how defect density for 'ilcc/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 0 N/A
arm (/include)?/hw/arm/.*|(/include)?/hw/.*/(exynos|allwinner-a10|digic|imx|omap|stellaris|pxa2xx|versatile|cadence).*|/hw/net/xgmac.c|hw/misc/zynq_slcr.c|/hw/ssi/xilinx_spips.c|/target-arm/.* No 0 N/A
cris (/include)?/hw/cris/.*|/target-cris/.* No 0 N/A
i386 (/include)?/hw/i386/.*|/target-i386/.*|/hw/intc/[a-z].*apic\.c No 36,412 0.74
lm32 (/include)?/hw/lm32/.*|/target-lm32/.*|/hw/.*/(milkymist|lm32).* No 10 0.00
m68k (/include)?/hw/m68k/.*|/target-m68k/.*|(/include)?/hw(/.*)?/mcf.* No 0 N/A
microblaze (/include)?/hw/microblaze/.*|/target-microblaze/.* No 0 N/A
mips (/include)?/hw/mips/.*|/target-mips/.* No 0 N/A
openrisc (/include)?/hw/openrisc/.*|/target-openrisc/.* No 0 N/A
ppc (/include)?/hw/ppc/.*|/target-ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic).* No 0 N/A
s390 (/include)?/hw/s390x/.*|/target-s390x/.*|/hw/intc/s390_flic.* No 10 0.00
sh4 (/include)?/hw/sh4/.*|/target-sh4/.* No 0 N/A
sparc (/include)?/hw/sparc(64)?.*|/target-sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c No 0 N/A
tricore (/include)?/hw/tricore/.*|/target-tricore/.* No 0 N/A
unicore32 (/include)?/hw/unicore32/.*|/target-unicore32/.* No 0 N/A
9pfs /hw/9pfs/.*|/fsdev/.* No 206 0.00
xtensa (/include)?/hw/xtensa/.*|/target-xtensa/.* No 0 N/A
audio (/include)?/(audio|hw/audio)/.* No 13,752 0.51
block /block.*|/include/block/.*|/qemu-img.*|/qemu-io.*|/.*coroutine.*|/aio.*|/async\.c|(/include)?/hw/block/.*|(/include)?/hw/ide/.* No 55,168 1.21
bt /bt.*|/hw/bt/.* No 4,610 2.39
char /qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.* No 6,954 1.15
disas (/include)?/disas.* No 6,596 0.61
fpu (/include)?(/fpu|/libdecnumber)/.* No 7,428 0.54
libcacard /libcacard/.*|/hw/usb/ccid.* No 4,666 0.43
migration (/include)?/migration/.* No 7,039 0.71
monitor /qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..* No 32,712 0.31
nbd /nbd.[ch]|/qemu-nbd.c No 1,820 2.20
net (/include)?(/hw)?/net/.* No 24,425 0.41
pci /hw/pci.*|/include/hw/pci.* No 8,507 0.12
qemu-ga /qga/.* No 6,360 0.94
scsi /hw/scsi/.*|/include/hw/scsi/.* No 13,235 0.45
slirp /.*slirp.* No 6,977 3.44
tcg /cpu-exec\..*|/translate-all\..*|/cputlb\..*|/tcg/.*|/include/exec/[^/]*|/softmmu.* No 12,376 0.73
trace /.*trace.*\.[ch] No 8,350 0.00
ui (/include)?(/ui|/hw/display|/hw/input)/.* No 31,243 0.35
usb /hw/usb/.*|/include/hw/usb/.* No 19,189 0.10
user /linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/exec/user/.* No 0 N/A
util /util/.*|/include/qemu/.* No 11,825 1.01
xen .*/xen.* No 115 0.00
(headers) /include/.* No 13,247 0.45
Other .* No 194,157 0.19

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 3
190 Integer Overflow or Wraparound 20
676 Use of Potentially Dangerous Function 2
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