
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
lcov-cobertura
Advanced tools
This project does as the name implies: it converts code coverage report files in lcov format to Cobertura's XML report format so that CI servers like Jenkins can aggregate results and determine build stability etc.
Coverage metrics supported:
Grab it raw and run it with python:
python lcov_cobertura.py lcov-file.dat
-b/--base-dir
- (Optional) Directory where source files are located. Defaults to the current directory-e/--excludes
- (Optional) Comma-separated list of regexes of packages to exclude-o/--output
- (Optional) Path to store cobertura xml file. Defaults to ./coverage.xml-d/--demangle
- (Optional) Demangle C++ function names. Requires c++filtpython lcov_cobertura.py lcov-file.dat --base-dir src/dir --excludes test.lib --output build/coverage.xml --demangle
pip install lcov_cobertura
lcov_cobertura lcov-file.dat
-b/--base-dir
- (Optional) Directory where source files are located. Defaults to the current directory-e/--excludes
- (Optional) Comma-separated list of regexes of packages to exclude-o/--output
- (Optional) Path to store cobertura xml file. Defaults to ./coverage.xml-d/--demangle
- (Optional) Demangle C++ function names. Requires c++filtlcov_cobertura lcov-file.dat --base-dir src/dir --excludes test.lib --output build/coverage.xml --demangle
Use it anywhere in your python:
from lcov_cobertura import LcovCobertura
LCOV_INPUT = 'SF:foo/file.ext\nDA:1,1\nDA:2,0\nend_of_record\n'
converter = LcovCobertura(LCOV_INPUT)
cobertura_xml = converter.convert()
print(cobertura_xml)
Python 3.8+ is supported. The last release with Python 2.x support is version 1.6.
This project is made possible due to the efforts of these fine people:
This project is provided under the Apache License, Version 2.0.
FAQs
LCOV to Cobertura XML converter
We found that lcov-cobertura demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.