<commit_before>package fr.lille1.maven_data_extraction.visualization;

import java.io.File;

import javax.swing.JFrame;

import fr.lille1.maven_data_extraction.core.extraction.DataExtraction;
import fr.lille1.maven_data_extraction.core.extraction.DataExtractionImpl;
import fr.lille1.maven_data_extraction.core.graph.MavenLabeledEdge;
import fr.lille1.maven_data_extraction.core.graph.MavenMultigraph;
import fr.lille1.maven_data_extraction.core.graph.MavenMultigraphFactory;
import fr.lille1.maven_data_extraction.core.graph.MavenMultigraphLabeled;

/**
 * @author <NAME>
 *
 */
public class MainApplet {

	private final static File root = new File("src/test/resources/asia");
	private final static File root_big = new File("../download/com");

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		/*
		 * Graph creation
		 */
		MavenMultigraphFactory factory = new MavenMultigraphFactory(
				MavenMultigraphLabeled.class);
		DataExtraction extractor = new DataExtractionImpl(root_big);

		MavenMultigraph<MavenLabeledEdge> graph = (MavenMultigraph<MavenLabeledEdge>) factory
				.build(extractor);

		/*
		 * Applet creation
		 */
		MavenGraphApplet applet = new MavenGraphApplet(graph);
		applet.init();

		JFrame frame = new JFrame();
		frame.getContentPane().add(applet);
		frame.setTitle("JGraphT Adapter to JGraph Demo");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}

}<commit_msg>Adding few logs to display step of the program<commit_after>package fr.lille1.maven_data_extraction.visualization;

import java.io.File;

import javax.swing.JFrame;

import org.apache.log4j.Logger;

import fr.lille1.maven_data_extraction.core.extraction.DataExtraction;
import fr.lille1.maven_data_extraction.core.extraction.DataExtractionImpl;
import fr.lille1.maven_data_extraction.core.graph.MavenLabeledEdge;
import fr.lille1.maven_data_extraction.core.graph.MavenMultigraph;
import fr.lille1.maven_data_extraction.core.graph.MavenMultigraphFactory;
import fr.lille1.maven_data_extraction.core.graph.MavenMultigraphLabeled;

/**
 * @author <NAME>
 *
 */
public class MainApplet {
	private final static Logger log = Logger.getLogger(MainApplet.class);

	private final static File root = new File("src/test/resources/asia");
	private final static File root_big = new File("../download/org/apache");

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		/*
		 * Graph creation
		 */
		MavenMultigraphFactory factory = new MavenMultigraphFactory(
				MavenMultigraphLabeled.class);
		DataExtraction extractor = new DataExtractionImpl(root_big);

		log.info("Starting graph creation...");
		MavenMultigraph<MavenLabeledEdge> graph = (MavenMultigraph<MavenLabeledEdge>) factory
				.build(extractor);

		/*
		 * Applet creation
		 */
		log.info("Starting graph visualization...");
		MavenGraphApplet applet = new MavenGraphApplet(graph);
		applet.init();

		JFrame frame = new JFrame();
		frame.getContentPane().add(applet);
		frame.setTitle("JGraphT Adapter to JGraph Demo");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}

}
{'fraction_non_alphanumeric': 0.11118150142540387, 'fraction_numerical': 0.004751346214760849, 'mean_word_length': 5.192156862745098, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4444014', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1027, 'n_words': 182}