{'fraction_non_alphanumeric': 0.012909632571996028, 'fraction_numerical': 0.0, 'mean_word_length': 5.260869565217392, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Developing a method for detecting serial and parallel components in programs

In this paper, we propose a system that guides programmers to find serial and parallel components in programs. The system takes C and Java codes those may contain serial and parallel components as inputs and detects serial and parallel components in the programs. Our system first identifies the function blocks by parsing the programs based on regular expression pattern matching. Then the developed system constructs dependency graph. In dependency graphs, blocks are treated as nodes and edges are the interaction between nodes. In this paper, we consider four kinds of dependencies such as flow dependency, ante dependency, output dependency and control dependency. From the dependency graph we compute topological order to find the serial parallel execution sequence of the functions or blocks. We perform several experiments and found that our system can detect serial and parallel components from the programs efficiently.