Coverity Scan: Bro

Project Name Bro
Lines of code analyzed 1,368,713
On Coverity Scan since Jul 24, 2013
Last build analyzed 2 days ago
   
Language C/C++
Repository URL https://github.com/zeek/zeek
Homepage URL https://zeek.org
License BSD3Clause (BSD 3-Clause "New" or "Revised" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 9.0.0-dev.21

Apr 24, 2026
Last Analyzed
1,368,713
Lines of Code Analyzed
603,098
Lines of Code in Selected Components
1.03
Defect Density

Defect changes since previous build dated Apr 22, 2026

2
Newly detected
36
Eliminated

Defects by status for current build

5,258
Total defects
623
Outstanding
4,044
Fixed
See how defect density for 'Bro' 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
System files /usr/.* Yes 266,630 N/A
Third party .*/3rdparty/.* Yes 415,237 N/A
CAF .*/aux.*/broker/caf/.* Yes 70,540 N/A
RapidJSON .*/aux.*/rapidjson/.* Yes 7,364 N/A
HighwayHash .*/aux.*/highwayhash/.* Yes 3,998 N/A
BIFCL .*/aux.*/bifcl/.* No 0 N/A
BinPAC .*/aux.*/binpac/.* No 0 N/A
Broker .*/aux.*/broker/.* No 25,707 2.37
Paraglob .*/aux.*/paraglob/.* No 636 4.72
Zeek Auxiliary .*/aux.*/zeek-aux/.* No 1,008 4.96
Capstats .*/aux.*/zeekctl/aux.*/capstats/.* No 500 0.00
PySubnetTree .*/aux.*/zeekctl/aux.*/pysubnettree/.* No 6,132 0.33
Trace Summary .*/aux.*/zeekctl/aux.*/trace-summary/.* No 0 N/A
Gen-ZAM .*/aux.*/gen-zam/.* No 0 N/A
Libunistd .*/aux.*/libunistd/.* Yes 0 N/A
Prometheus-cpp .*/aux.*/prometheus-cpp/.* Yes 0 N/A
Libkqueue .*/aux.*/libkqueue/.* Yes 0 N/A
C-Ares .*/aux.*/c-ares/.* Yes 0 N/A
Spicy .*/spicy/.* No 98,725 0.37
Lightpcapng .*/aux.*/LightPcapNg/.* Yes 1,846 N/A
Other .* No 475,784 1.08

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 26
676 Use of Potentially Dangerous Function 2
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