Coverity Scan: Node.js

Project Name Node.js
Lines of code analyzed 2,064,928
On Coverity Scan since Sep 30, 2015
Last build analyzed 1 day ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
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: v18.0.0-pre-ef35175527

Jan 21, 2022
Last Analyzed
2,064,928
Lines of Code Analyzed
70,379
Lines of Code in Selected Components
12.53
Defect Density

Defect changes since previous build dated Jan 20, 2022

5
Newly detected
3
Eliminated

Defects by status for current build

3,700
Total defects
882
Outstanding
2,798
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 658,338 N/A
OpenSSL /deps/openssl/.* Yes 369,211 N/A
c-ares /deps/cares/.* Yes 12,516 N/A
http-parser /deps/http_parser/.* Yes 0 N/A
zlib /deps/zlib/.* Yes 10,145 N/A
gtest /deps/gtest/.* Yes 0 N/A
npm /deps/npm/.* Yes 0 N/A
ICU /deps/icu-small/.* Yes 288,908 N/A
nghttp2 /deps/nghttp2/.* Yes 18,780 N/A
node-inspect /deps/node-inspect/.* Yes 0 N/A
googletest /deps/googletest/.* Yes 14,096 N/A
brotli /deps/brotli/.* Yes 30,196 N/A
histogram /deps/histogram/.* Yes 1,139 N/A
llhttp /deps/llhttp/.* Yes 15,406 N/A
ngtcp2 /deps/ngtcp2/.* Yes 36,812 N/A
libuv /deps/uv/.* Yes 14,992 N/A
uvwasi /deps/uvwasi/.* Yes 4,666 N/A
src ./src/.* No 0 N/A
test ./test/.* No 0 N/A
out /out/.* Yes 369,390 N/A
tools /tools/.* No 242 4.13
system /usr/.* Yes 149,954 N/A
Other .* No 89,661 0.70

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 9
190 Integer Overflow or Wraparound 2
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