EPC Overview
Main_process
(please note: 1. is handled in Main class, 2. - 15. and 36. are handled GUI class, all others in the VoteProcessor.doProcessing() method)
1. start screen
2.1. export csv file without signature
2.2. export csv file with signature
3.1. set csv file without signature to be exported
3.2. set csv file with signature to be exported
4.1. choose storage location of the to be exported file with signature
4.2. choose storage location of the to be exported file without signature
5. choose option file
6. choose key file (signature & decryption)
7. choose ballot file
8. import options
9. import keys
10. import ballots
11. set main- and sub options with counters
12. set program parameters
13. create and set error counters
14. start processing
15. do preparations
16. capture one vote and start looping
17. decrypt one vote
18. extract voted main options
19. check if main options from option file are set
20. extract voted sub options
21. check if sub options from option file are set
22. check if an outfile (without signature export) error has been set
23. check if an outfile (with signature export) error has been set
24. check signature
25. assign signature status code
26. signature check without error?
27. check contest ID
28. are there votes marked to be exported without signarue?
29. export voted options without signature
30. is there also vote export with signature marked or vote calculation marked?
31. are there votes marked to be exported with signarue?
32. export voted options with signature
33. is there vote calculation marked?
34. Start EPC Vote_process
35. are there more votes in ballot file
36. display result?
Vote_process
1. main options prebooked
2. create local main option counter
3. capture one voted main option
4. is this captured option also in option file?
5. incrase Invalidtech counter by one
6. check for strike out
7. check invalid status
8. is there already one invalid option choosen?
9. main and sub options will be marked invalid
10. main options will be marked invalid
11. increase proper extern main option counter
12.1 increase fitting intern main option counter for strike outs
12.2 increase fitting intern main option counter
13. do checks with the voted main option
14. increase a errorcounter by one
15. are there more voted main options AND no loop breaking errors set
16. are there sub options for counting prebooked?
17. create local sub option counter and set the starting values to 0
18. capture one voted sub option
19. is captured option also in option file?
20. incrase Invalidtech counter by one
21. is splitting ticket (panager) possible?
22. capture matching main option / does voted sub option match voted main option?
23. increase InvalidPanagier counter by one
24. increase fitting intern sub option counter (incl. strike outs)
25. do checks with the voted sub option
26. increase aerrorcounter by one
27. are there more voted sub options AND no loop breaking errorts set?
28. are there errors during sub option processing appeared or are they not marked?
29. transfer intern sub options counter to extern sub options counter
30. are there errors during main option processing appeared or are they not marked?
31. transfer intern main options counter to extern main options counter