Coverity Scan: swoole/swoole-src

Project Name swoole/swoole-src
Lines of code analyzed 227,821
On Coverity Scan since Feb 04, 2017
Last build analyzed a while ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
Repository URL https://github.com/swoole/swoole-src.git
Homepage URL https://github.com/swoole/swoole-src
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: c80548fe792691f4791575cd6a230d...

Jan 24, 2024
Last Analyzed
227,821
Lines of Code Analyzed
108,791
Lines of Code in Selected Components
0.99
Defect Density

Defect changes since previous build dated Jan 24, 2024

0
Newly detected
1
Eliminated

Defects by status for current build

613
Total defects
108
Outstanding
461
Fixed
See how defect density for 'swoole/swoole-src' 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
Interface /([^/]+|include/.*) No 7,390 0.81
core /src/core/.* No 2,094 1.91
coroutine /src/coroutine/.* No 3,278 2.44
lock /src/lock/.* No 193 0.00
memory /src/memory/.* No 914 0.00
network /src/network/.* No 3,213 1.24
os /src/os/.* No 2,153 2.79
protocol /src/protocol/.* No 3,426 0.88
reactor /src/reactor/.* No 1,163 1.72
thirdparty /thirdparty/.* No 31,980 0.34
server /src/server/.* No 5,402 1.85
wrapper /src/wrapper/.* No 491 4.07
OS&PHP includes /usr/.*|/home/.* Yes 119,030 N/A
php-ext /ext-src/.* No 49,235 1.02
json-parser ./thirdparty/nlohmann/.* Yes 0 N/A
Other .* No 0 N/A

CWE Top 25 defects

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