Coverity Scan: Node.js

Project Name Node.js
Lines of code analyzed 2,888,673
On Coverity Scan since Sep 30, 2015
Last build analyzed about 1 hour 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: v24.0.0-pre-f38cefa04b

Nov 07, 2024
Last Analyzed
2,888,673
Lines of Code Analyzed
225,840
Lines of Code in Selected Components
8.31
Defect Density

Defect changes since previous build dated Nov 06, 2024

36
Newly detected
117
Eliminated

Defects by status for current build

7,143
Total defects
1,876
Outstanding
5,205
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 961,899 N/A
OpenSSL /deps/openssl/.* Yes 368,261 N/A
c-ares /deps/cares/.* Yes 27,379 N/A
zlib /deps/zlib/.* Yes 18,660 N/A
gtest /deps/gtest/.* Yes 0 N/A
npm /deps/npm/.* Yes 0 N/A
ICU /deps/icu-small/.* Yes 301,460 N/A
nghttp2 /deps/nghttp2/.* Yes 20,684 N/A
googletest /deps/googletest/.* Yes 14,559 N/A
brotli /deps/brotli/.* Yes 32,532 N/A
histogram /deps/histogram/.* Yes 1,209 N/A
ngtcp2 /deps/ngtcp2/.* Yes 42,446 N/A
libuv /deps/uv/.* Yes 16,956 N/A
src ./src/.* No 0 N/A
test ./test/.* No 0 N/A
out /out/.* Yes 541,906 N/A
tools /tools/.* No 2,356 0.42
system /usr/.* Yes 148,600 N/A
uvwasi /deps/uvwasi/.* No 5,073 0.39
llhttp /deps/llhttp/.* No 11,036 0.00
sqlite /deps/sqlite/.* Yes 166,282 N/A
Other .* No 200,085 0.88

CWE Top 25 defects

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