<commit_before>package de.wwu.md2.framework.validation

import com.google.inject.Inject
import org.eclipse.xtext.validation.Check
import org.eclipse.xtext.validation.EValidatorRegistrar
import java.util.Arrays
import de.wwu.md2.framework.mD2.Model
import de.wwu.md2.framework.mD2.View
import de.wwu.md2.framework.mD2.Controller
import de.wwu.md2.framework.mD2.Workflow
import de.wwu.md2.framework.mD2.MD2Package
import de.wwu.md2.framework.mD2.MD2Model
import de.wwu.md2.framework.util.MD2Util

/**
 * Validators for all high-level elements (model, view, workflow and controller).
 */
class ProjectValidator extends AbstractMD2JavaValidator {
    
    @Inject
    override register(EValidatorRegistrar registrar) {
        // nothing to do
    }
    
    @Inject
    private MD2Util util;
    
    /**
     * Enforce that the declared package name complies with the actual package location
     * 
     * @param model
     */<commit_msg>unused imports<commit_after>package de.wwu.md2.framework.validation

import com.google.inject.Inject
import org.eclipse.xtext.validation.Check
import org.eclipse.xtext.validation.EValidatorRegistrar
import de.wwu.md2.framework.mD2.Model
import de.wwu.md2.framework.mD2.View
import de.wwu.md2.framework.mD2.Controller
import de.wwu.md2.framework.mD2.Workflow
import de.wwu.md2.framework.mD2.MD2Package
import de.wwu.md2.framework.mD2.MD2Model
import de.wwu.md2.framework.util.MD2Util

/**
 * Validators for all high-level elements (model, view, workflow and controller).
 */
class ProjectValidator extends AbstractMD2JavaValidator {
    
    @Inject
    override register(EValidatorRegistrar registrar) {
        // nothing to do
    }
    
    @Inject
    private MD2Util util;
    
    /**
     * Enforce that the declared package name complies with the actual package location
     * 
     * @param model
     */
{'fraction_non_alphanumeric': 0.09184224743381955, 'fraction_numerical': 0.020529443544030253, 'mean_word_length': 3.5170731707317073, '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': '4943273', 'n_tokens_mistral': 601, 'n_tokens_neox': 604, 'n_words': 125}