Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-lcov-parse /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
1.37
KB
-rw-r--r--
2017-06-12 14:04
changelog.Debian.gz
637
B
-rw-r--r--
2022-11-21 08:38
copyright
2.02
KB
-rw-r--r--
2022-11-21 08:38
Save
Rename
## LCOV file parser Simple LCOV file parser ## Installation npm install lcov-parse ## Usage var parse = require('lcov-parse'); parse('./path/to/file.info', function(err, data) { //process the data here }); or parse(lcovString, function(err, data) { //process the data here }); ## Formatting Using this as a guide: http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php It will return JSON like this: ``` { "title": "Test #1", "file": "anim-base/anim-base-coverage.js", "functions": { "hit": 23, "found": 29, "details": [ { "name": "(anonymous 1)", "line": 7, "hit": 6 }, { "name": "(anonymous 2)", "line": 620, "hit": 225 }, { "name": "_end", "line": 516, "hit": 228 } ] } "lines": { "found": 181, "hit": 143, "details": [ { "line": 7, "hit": 6 }, { "line": 29, "hit": 6 } ] } } ``` ## Cli Usage lcov-parse ./lcov.info or cat lcov.info | xargs -0 lcov-parse ## Tests npm install && npm test ## Build Status [](http://travis-ci.org/davglass/lcov-parse)