<commit_before>package selenium;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.lang.reflect.Field;
import java.net.InetAddress;
import java.net.UnknownHostException;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;

public class ScreenshotOnFailureStatement extends Statement {

    /**
     * The URL pointing to the folder at the Jenkins server in which the target
     * folder of the project is located.
     */
    private static final String JENKINS_URL = "http://jenkins.educativo.eu:8080/job/literacyapp-web-4-regression-testing/ws/literacyapp-web/";
    
    private final Logger logger = Logger.getLogger(ScreenshotOnFailureStatement.class);

    private Statement base;
    
    private FrameworkMethod method;

    private Object target;

    public ScreenshotOnFailureStatement(Statement base, FrameworkMethod method, Object target) {
        this.base = base;
        this.method = method;<commit_msg>#16 Fixed broken image path<commit_after>package selenium;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.lang.reflect.Field;
import java.net.InetAddress;
import java.net.UnknownHostException;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;

public class ScreenshotOnFailureStatement extends Statement {

    /**
     * The URL pointing to the folder at the Jenkins server in which the target
     * folder of the project is located.
     */
    private static final String JENKINS_URL = "http://jenkins.educativo.eu:8080/job/literacyapp-web-4-regression-testing/ws/";
    
    private final Logger logger = Logger.getLogger(ScreenshotOnFailureStatement.class);

    private Statement base;
    
    private FrameworkMethod method;

    private Object target;

    public ScreenshotOnFailureStatement(Statement base, FrameworkMethod method, Object target) {
        this.base = base;
        this.method = method;
{'fraction_non_alphanumeric': 0.08633387888707038, 'fraction_numerical': 0.0057283142389525366, 'mean_word_length': 4.280777537796976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6885927', 'n_tokens_mistral': 732, 'n_tokens_neox': 694, 'n_words': 175}