Coverity Scan: swoole/swoole-src

Project Name swoole/swoole-src
Lines of code analyzed 174,455
On Coverity Scan since Feb 04, 2017
Last build analyzed 20 days 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: b39ca0d

May 28, 2019
Last Analyzed
174,455
Lines of Code Analyzed
93,241
Lines of Code in Selected Components
0.78
Defect Density

Defect changes since previous build dated May 09, 2019

24
Newly detected
23
Eliminated

Defects by status for current build

273
Total defects
73
Outstanding
199
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 42,847 0.68
core /src/core/.* No 3,673 2.72
coroutine /src/coroutine/.* No 3,110 0.32
lock /src/lock/.* No 353 0.00
memory /src/memory/.* No 1,178 0.00
network /src/network/.* No 3,616 0.83
os /src/os/.* No 1,114 0.00
pipe /src/pipe/.* No 275 0.00
protocol /src/protocol/.* No 2,877 0.35
reactor /src/reactor/.* No 1,477 0.00
thirdparty /thirdparty/.* No 15,623 0.77
Coverity Build Tool /cov-int/.* Yes 17,451 N/A
OS&PHP includes /usr/.* Yes 63,763 N/A
Other .* No 20,737 0.82

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
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