Click here to Skip to main content
15,913,027 members
Home / Discussions / Java
   

Java

 
GeneralRe: code coverage Pin
Richard MacCutchan16-Oct-09 6:37
mveRichard MacCutchan16-Oct-09 6:37 
GeneralRe: code coverage Pin
David Skelly16-Oct-09 6:16
David Skelly16-Oct-09 6:16 
GeneralRe: code coverage Pin
427748016-Oct-09 6:22
427748016-Oct-09 6:22 
GeneralRe: code coverage Pin
Shakirin Amin16-Oct-09 7:00
Shakirin Amin16-Oct-09 7:00 
GeneralRe: code coverage Pin
Shakirin Amin16-Oct-09 6:24
Shakirin Amin16-Oct-09 6:24 
GeneralRe: code coverage Pin
427748016-Oct-09 6:29
427748016-Oct-09 6:29 
GeneralRe: code coverage Pin
Shakirin Amin16-Oct-09 7:24
Shakirin Amin16-Oct-09 7:24 
GeneralRe: code coverage Pin
427748016-Oct-09 8:44
427748016-Oct-09 8:44 
1. Finding the number of ifs and switches in a code is easy you need to use regular expressions in other words if statements and loops (yes plural).
2. For the testing part (simple but long yet risky) you need to read the source file and another regular expression to make sure that the place you will change the variable to an actual value is between the ifs and switches. After that output the file and compile and run using the runtime.getruntime method.
GeneralRe: code coverage Pin
Shakirin Amin17-Oct-09 3:09
Shakirin Amin17-Oct-09 3:09 
GeneralRe: code coverage Pin
Richard MacCutchan17-Oct-09 4:13
mveRichard MacCutchan17-Oct-09 4:13 
GeneralRe: code coverage Pin
Shakirin Amin18-Oct-09 16:09
Shakirin Amin18-Oct-09 16:09 
GeneralRe: code coverage Pin
Richard MacCutchan18-Oct-09 22:18
mveRichard MacCutchan18-Oct-09 22:18 
GeneralRe: code coverage Pin
Shakirin Amin18-Oct-09 7:34
Shakirin Amin18-Oct-09 7:34 
QuestionRe: minesweeper Pin
Kristine Casin15-Oct-09 1:30
Kristine Casin15-Oct-09 1:30 
AnswerRe: minesweeper Pin
Richard MacCutchan15-Oct-09 2:15
mveRichard MacCutchan15-Oct-09 2:15 
AnswerRe: minesweeper Pin
427748016-Oct-09 6:23
427748016-Oct-09 6:23 
GeneralRe: minesweeper Pin
Kristine Casin21-Oct-09 1:33
Kristine Casin21-Oct-09 1:33 
GeneralRe: minesweeper Pin
Kristine Casin27-Oct-09 1:30
Kristine Casin27-Oct-09 1:30 
QuestionAdding / Multiplying two matrices Pin
nt_virus14-Oct-09 22:52
nt_virus14-Oct-09 22:52 
AnswerRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 0:19
mveRichard MacCutchan15-Oct-09 0:19 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 0:22
nt_virus15-Oct-09 0:22 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 2:01
mveRichard MacCutchan15-Oct-09 2:01 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 2:36
nt_virus15-Oct-09 2:36 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 2:47
mveRichard MacCutchan15-Oct-09 2:47 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 2:49
nt_virus15-Oct-09 2:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.