3
I Use This!
Low Activity
Analyzed about 13 hours ago. based on code collected about 13 hours ago.

Project Summary

A unit testing framework for C with mocking. cmocka only requires a test application is linked with the standard C library which minimizes conflicts with standard C library headers. It is the successor (fork) of cmockery.

Tags

c development framework library mock mockfunctions mocking mock-object mockobject mockobjects software_development testing unit-testing unit_testing unittesting

In a Nutshell, cmocka...

Apache License 2.0
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Sub-License

Private Use

Use Patent Claims

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

Project Security

Vulnerabilities per Version ( last 10 releases )

There are no reported vulnerabilities

Project Vulnerability Report

Security Confidence Index

Poor security track-record
Favorable security track-record

Vulnerability Exposure Index

Many reported vulnerabilities
Few reported vulnerabilities

Did You Know...

  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    learn about Open Hub updates and features on the Open Hub blog
About Project Security

Languages

C
80%
CMake
11%
CSS
7%
5 Other
2%

30 Day Summary

Jun 24 2025 — Jul 24 2025

12 Month Summary

Jul 24 2024 — Jul 24 2025
  • 37 Commits
    Down -1 (2%) from previous 12 months
  • 8 Contributors
    Up + 1 (14%) from previous 12 months
 

Static Analysis ( Generated by Coverity Scan for cmocka )

Repository URL: https://git.cryptomilk.org/projects/cmocka.git

Version: cmocka-1.1.5-277-g5912a32

2025-07-23
Last Analyzed
21,974
Lines of Code Analyze
0.32
Defect Density

Defects by status for current build

23
Total defects
7
Outstanding
8
Fixed

CWE Top 25 defects

ID CWE-Name Number of Defects
676 Use of Potentially Dangerous Function 7