Coverity Scan: Node.js

Project Name Node.js
Lines of code analyzed 3,539,284
On Coverity Scan since Sep 30, 2015
Last build analyzed about 18 hours ago
   
Language C/C++
Secondary Language JavaScript
Repository URL https://github.com/nodejs/node.git
Homepage URL https://nodejs.org
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v26.0.0-pre-a0d8ea42e51

Mar 09, 2026
Last Analyzed
3,539,284
Lines of Code Analyzed
614,039
Lines of Code in Selected Components
0.98
Defect Density

Defect changes since previous build dated Mar 07, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

9,444
Total defects
600
Outstanding
6,979
Fixed
See how defect density for 'Node.js' 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
V8 /deps/v8/.* Yes 1,059,235 N/A
OpenSSL /deps/openssl/.* Yes 473,223 N/A
c-ares /deps/cares/.* Yes 29,026 N/A
zlib /deps/zlib/.* Yes 18,959 N/A
gtest /deps/gtest/.* Yes 0 N/A
npm /deps/npm/.* Yes 0 N/A
ICU /deps/icu-small/.* Yes 307,987 N/A
nghttp2 /deps/nghttp2/.* Yes 20,637 N/A
googletest /deps/googletest/.* Yes 14,706 N/A
brotli /deps/brotli/.* Yes 33,855 N/A
histogram /deps/histogram/.* Yes 1,209 N/A
ngtcp2 /deps/ngtcp2/.* Yes 0 N/A
libuv /deps/uv/.* Yes 17,229 N/A
src ./src/.* No 0 N/A
test ./test/.* No 0 N/A
out /out/.* Yes 571,691 N/A
tools /tools/.* No 922 0.00
system /usr/.* Yes 207,643 N/A
uvwasi /deps/uvwasi/.* No 5,274 0.57
llhttp /deps/llhttp/.* No 10,953 0.00
sqlite /deps/sqlite/.* Yes 169,845 N/A
Other .* No 596,888 1.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 8
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 174
676 Use of Potentially Dangerous Function 16
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