$mystring = "name:blk:house::";
print "$mystring\n";
@s_format = split(/:/, $mystring);
for ($i=0; $i <= $#s_format; $i++) {
print "index is $i,field is $s_format";
print "\n";
}
$size = $#s_format + 1;
print "total size of array is $size\n";
i am expecting my size to be 5, why is it... (5 Replies)
Hi,
I have some output in the form of:
#output:
abc123
def567
hij890
ghi324
the above is in one column, stored in the variable x ( and if you wana know about x... x=sprintf(tolower(substr(someArray,1,1)substr(userArray,3,1)substr(userArray,2,1)))
when i simply print x (print x) I get... (7 Replies)
Hi! I'm doing bash shell scripting and would like to know if bash had something similar to perl's split function? Ultimately, I want to split two strings (delimeter = '.') and compare each of their values. Thus, I figured putting them in an array would be easiest.
So i.e.:
String 1:... (5 Replies)
Hello,
Hello,
I use the following command to split a file:
split -Number_of_Lines Input_File MyPrefix_
output is
MyPrefix_a
MyPrefix_b
MyPrefix_c
......
Instead, how can I get numerical values like:
MyPrefix_1
MyPrefix_2
MyPrefix_3
...... (2 Replies)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (0 Replies)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
my @d =split('\|', $_);
west|ACH|3|Y|LuV|N||N||
Qt|UWST|57|Y|LSV|Y|Bng|N|KT|
It Returns d as 8 for First Line, and 9 as for Second Line . I want to Process Both the Files, How to Handle It. (3 Replies)
hi all,
i have large file. where i need the split the files into two files. can anyone tell me what is the command for that?
Unix OS :HP Unix.
Thanks,
arun. (2 Replies)
Discussion started by: arun888
2 Replies
LEARN ABOUT DEBIAN
cobertura-check
COBERTURA-CHECK(1) General Commands Manual COBERTURA-CHECK(1)NAME
cobertura-check -- show which classes do not have adequate test coverage
SYNOPSIS
cobertura-check [--branch 0..100] [--datafile file] [--line 0..100] [--regex regex:branchrate:linerate] [--packagebranch 0..100]
[--packageline 0..100] [--totalbranch 0..100] [--totalline 0..100]
DESCRIPTION
cobertura-check can be run after your JUnit tests to show which classes do not have adequate test coverage.
OPTIONS
If no parameters are specified then all values will be set to 50%.
--branch 0..100
Specify the minimum acceptable branch coverage rate needed by each class. This should be an integer value between 0 and 100.
Default value is 0.
--datafile file
Specify the name of the file containing metadata about your classes. Default value: "./cobertura.ser".
--line 0..100
Specify the minimum acceptable line coverage rate needed by each class. This should be an integer value between 0 and 100.
Default value is 0.
--regex regex:branchrate:linerate
For finer grained control, you can optionally specify minimum branch and line coverage rates for individual classes using any
number of regular expressions.
--packagebranch 0..100
Specify the minimum acceptable average branch coverage rate needed by each package. This should be an integer value between 0 and
100. Default value is 0.
--packageline 0..100
Specify the minimum acceptable average line coverage rate needed by each package. This should be an integer value between 0 and
100. Default value is 0.
--totalbranch 0..100
Specify the minimum acceptable average branch coverage rate needed by the project as a whole. This should be an integer value
between 0 and 100. Default value is 0.
--totalline 0..100
Specify the minimum acceptable average line coverage rate needed by the project as a whole. This should be an integer value
between 0 and 100. Default value is 0.
SEE ALSO junit(1), cobertura-instrument(1), cobertura-report(1), cobertura-merge(1).
AUTHOR
This manual page was written by Miguel Landaeta <miguel@miguel.cc> for the Debian system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the terms of GNU General Public License, Version 2 or any later
version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
COBERTURA-CHECK(1)