repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
pmd | pmd-master/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/internal/AbstractCounterCheckRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.apex.rule.internal;
import static net.sourceforge.pmd.properties.constraints.NumericConstraints.positive;
import org.checkerframework.checker.nullness.qual.NonNull;
import net.sourceforge.pmd.lang... | 3,014 | 28.851485 | 121 | java |
pmd | pmd-master/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/multifile/ApexMultifileAnalysis.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.apex.multifile;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.checkerf... | 6,293 | 44.280576 | 199 | java |
pmd | pmd-master/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/internal/ApexDesignerBindings.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.apex.internal;
import net.sourceforge.pmd.lang.apex.ast.ASTFieldDeclaration;
import net.sourceforge.pmd.lang.apex.ast.ASTMethod;
import net.sourceforge.pmd.lang.apex.ast.ASTMethodCallExpression;
imp... | 2,200 | 32.861538 | 104 | java |
pmd | pmd-master/pmd-apex/src/main/java/net/sourceforge/pmd/cpd/ApexLanguage.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.util.Properties;
import net.sourceforge.pmd.lang.apex.ApexLanguageModule;
public class ApexLanguage extends AbstractLanguage {
public ApexLanguage() {
this(new Properties... | 740 | 25.464286 | 122 | java |
pmd | pmd-master/pmd-apex/src/main/java/net/sourceforge/pmd/cpd/ApexTokenizer.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.util.Locale;
import java.util.Properties;
import org.antlr.runtime.ANTLRStringStream;
import org.antlr.runtime.Lexer;
import org.antlr.runtime.Token;
import net.sourceforge.pmd.lang.a... | 2,486 | 33.541667 | 131 | java |
pmd | pmd-master/pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.util.Properties;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
/**
* @author rpelisse
*
*/
class FortranTokenizerTest extends CpdTe... | 711 | 17.736842 | 79 | java |
pmd | pmd-master/pmd-fortran/src/main/java/net/sourceforge/pmd/cpd/FortranLanguage.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
/**
* Language implementation for Fortran
*
* @author Romain PELISSE belaran@gmail.com
*/
public class FortranLanguage extends AbstractLanguage {
/**
* Create a Fortran Language instan... | 469 | 22.5 | 97 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/RuleSetFactoryTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm;
import net.sourceforge.pmd.AbstractRuleSetFactoryTest;
/**
* Test velocity's rulesets.
*/
class RuleSetFactoryTest extends AbstractRuleSetFactoryTest {
// no additional tests yet
}
| 314 | 20 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/LanguageVersionTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm;
import java.util.Arrays;
import java.util.Collection;
import net.sourceforge.pmd.AbstractLanguageVersionTest;
class LanguageVersionTest extends AbstractLanguageVersionTest {
static Collec... | 535 | 27.210526 | 106 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/VmParserTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.lang.vm.ast.VmParsingHelper;
/**
* Unit test for VM parsing.
*/
class VmParserTest {
private static final String VM_SRC = "... | 1,470 | 30.297872 | 116 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/ast/VmParsingHelper.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.vm.VmLanguageModule;
public final class VmParsingHelper extends BaseParsingHelper<VmParsingHelper... | 667 | 28.043478 | 92 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/errorprone/EmptyIfStmtTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.errorprone;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class EmptyIfStmtTest extends PmdRuleTst {
// no additional unit tests
}
| 273 | 21.833333 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/errorprone/EmptyForeachStmtTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.errorprone;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class EmptyForeachStmtTest extends PmdRuleTst {
// no additional unit tests
}
| 278 | 22.25 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/bestpractices/UnusedMacroParameterTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.bestpractices;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class UnusedMacroParameterTest extends PmdRuleTst {
// no additional unit tests
}
| 285 | 22.833333 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/bestpractices/AvoidReassigningParametersTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.bestpractices;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class AvoidReassigningParametersTest extends PmdRuleTst {
// no additional unit tests
}
| 291 | 23.333333 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/design/ExcessiveTemplateLengthTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class ExcessiveTemplateLengthTest extends PmdRuleTst {
// no additional unit tests
}
| 281 | 22.5 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/design/AvoidDeeplyNestedIfStmtsTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class AvoidDeeplyNestedIfStmtsTest extends PmdRuleTst {
// no additional unit tests
}
| 282 | 22.583333 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/design/NoInlineStylesTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class NoInlineStylesTest extends PmdRuleTst {
// no additional unit tests
}
| 272 | 21.75 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/design/NoInlineJavaScriptTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class NoInlineJavaScriptTest extends PmdRuleTst {
// no additional unit tests
}
| 276 | 22.083333 | 79 | java |
pmd | pmd-master/pmd-vm/src/test/java/net/sourceforge/pmd/lang/vm/rule/design/CollapsibleIfStatementsTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class CollapsibleIfStatementsTest extends PmdRuleTst {
// no additional unit tests
}
| 281 | 22.5 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/VmHandler.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm;
import net.sourceforge.pmd.lang.AbstractPmdLanguageVersionHandler;
import net.sourceforge.pmd.lang.ast.Parser;
import net.sourceforge.pmd.lang.vm.ast.VmParser;
/**
* Implementation of Language... | 516 | 20.541667 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/VmLanguageModule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm;
import net.sourceforge.pmd.lang.impl.SimpleLanguageModuleBase;
/**
* Created by christoferdutz on 20.09.14.
*/
public class VmLanguageModule extends SimpleLanguageModuleBase {
public sta... | 789 | 27.214286 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTAddNode.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,603 | 33.869565 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTSubtractNode.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,636 | 33.104167 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/VmNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.annotation.DeprecatedUntil700;
import net.sourceforge.pmd.lang.ast.AstVisitor;
import net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode;
public interface VmNode... | 630 | 24.24 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/NodeUtils.java |
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright owners... | 4,349 | 31.462687 | 106 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/VmParserVisitorAdapter.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.annotation.DeprecatedUntil700;
@Deprecated
@DeprecatedUntil700
public class VmParserVisitorAdapter extends VmVisitorBase<Object, Object> implements VmParserVisito... | 327 | 22.428571 | 102 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTMethod.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,699 | 28.310345 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/VmVisitorBase.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.lang.ast.AstVisitorBase;
public abstract class VmVisitorBase<P, R> extends AstVisitorBase<P, R> implements VmVisitor<P, R> {
}
| 287 | 21.153846 | 99 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/VmParserVisitor.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.annotation.DeprecatedUntil700;
import net.sourceforge.pmd.lang.ast.Node;
@Deprecated
@DeprecatedUntil700
public interface VmParserVisitor extends VmVisitor<Object... | 503 | 24.2 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTReference.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 2,982 | 30.072917 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTDirective.java |
package net.sourceforge.pmd.lang.vm.ast;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding... | 3,735 | 30.931624 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTTemplate.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import net.sourceforge.pmd.lang.ast.AstInfo;
import net.sourceforge.pmd.lang.ast.Parser.ParserTask;
import net.sourceforge.pmd.lang.ast.RootNode;
public final class ASTTemplate extends Abst... | 831 | 22.771429 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/VmParser.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import org.checkerframework.checker.nullness.qual.Nullable;
import net.sourceforge.pmd.lang.ast.ParseException;
import net.sourceforge.pmd.lang.ast.impl.javacc.CharStream;
import net.source... | 1,781 | 33.269231 | 117 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTModNode.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,530 | 32.282609 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTDivNode.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,603 | 33.12766 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/AbstractVmNode.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 2,590 | 33.092105 | 100 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTMathNode.java | package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lic... | 1,458 | 33.738095 | 81 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTBlock.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.ast;
import org.apache.commons.lang3.StringUtils;
public final class ASTBlock extends AbstractVmNode {
ASTBlock(int id) {
super(id);
}
@Override
protected <P, R> R acc... | 653 | 22.357143 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTMulNode.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,593 | 32.914894 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTStringLiteral.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to you under the Apache License... | 1,614 | 31.3 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/ast/ASTEscape.java |
package net.sourceforge.pmd.lang.vm.ast;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | 1,605 | 27.678571 | 91 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/AbstractVmRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.rule.AbstractRule;
import net.sourceforge.pmd.lang.vm.ast.VmParserVisitor;
... | 526 | 26.736842 | 86 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/errorprone/EmptyForeachStmtRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.errorprone;
import net.sourceforge.pmd.lang.vm.ast.ASTBlock;
import net.sourceforge.pmd.lang.vm.ast.ASTForeachStatement;
import net.sourceforge.pmd.lang.vm.rule.AbstractVmRule;
public class... | 622 | 27.318182 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/errorprone/EmptyIfStmtRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.errorprone;
import net.sourceforge.pmd.lang.vm.ast.ASTBlock;
import net.sourceforge.pmd.lang.vm.ast.ASTElseIfStatement;
import net.sourceforge.pmd.lang.vm.ast.ASTElseStatement;
import net.so... | 1,203 | 29.871795 | 79 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/bestpractices/AvoidReassigningParametersRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.bestpractices;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import net.sourceforge.pmd.lang.vm.ast.ASTDirective;
import net.sourceforge.pmd.lang.vm.ast.ASTReferenc... | 1,453 | 38.297297 | 104 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/bestpractices/UnusedMacroParameterRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.bestpractices;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import net.sourceforge.pmd.lang.vm.ast.ASTBlock;
import net.sourceforge.pmd.lang.vm.ast.ASTDirective;
i... | 2,726 | 38.521739 | 120 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/design/CollapsibleIfStatementsRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import org.apache.commons.lang3.StringUtils;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.vm.ast.ASTBlock;
import net.sourceforge.pmd.lang.vm.ast.ASTEls... | 3,118 | 37.9875 | 100 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/design/NoInlineJavaScriptRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sourceforge.pmd.lang.vm.ast.ASTText;
import net.sourceforge.pmd.lang.vm.rule.AbstractVmRule;
public class... | 1,004 | 33.655172 | 112 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/design/AvoidDeeplyNestedIfStmtsRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import static net.sourceforge.pmd.properties.constraints.NumericConstraints.positive;
import net.sourceforge.pmd.lang.vm.ast.ASTElseIfStatement;
import net.sourceforge.pmd.lang.vm.a... | 1,812 | 29.216667 | 85 | java |
pmd | pmd-master/pmd-vm/src/main/java/net/sourceforge/pmd/lang/vm/rule/design/ExcessiveTemplateLengthRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vm.rule.design;
import static net.sourceforge.pmd.properties.constraints.NumericConstraints.positive;
import net.sourceforge.pmd.lang.rule.internal.CommonPropertyDescriptors;
import net.sourceforge... | 1,279 | 33.594595 | 85 | java |
pmd | pmd-master/pmd-ant/src/test/java/net/sourceforge/pmd/ant/AbstractAntTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import static com.github.stefanbirkner.systemlambda.SystemLambda.restoreSystemProperties;
import java.io.File;
import java.io.PrintStream;
import java.io.StringWriter;
import java.nio.charset.Chars... | 3,507 | 27.520325 | 105 | java |
pmd | pmd-master/pmd-ant/src/test/java/net/sourceforge/pmd/ant/FormatterTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
import java.io.File;
imp... | 1,585 | 30.72 | 88 | java |
pmd | pmd-master/pmd-ant/src/test/java/net/sourceforge/pmd/ant/CPDTaskTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.io.File;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
/**
*
* @author Romain Pelisse <be... | 793 | 22.352941 | 91 | java |
pmd | pmd-master/pmd-ant/src/test/java/net/sourceforge/pmd/ant/PMDTaskTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupi... | 3,599 | 33.285714 | 122 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/Formatter.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import java.io.BufferedWriter;
import java.io.Console;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import... | 8,996 | 30.791519 | 108 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/SourceLanguage.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import net.sourceforge.pmd.lang.Language;
/**
* Stores LanguageVersion terse name value.
*/
public class SourceLanguage {
private String name;
private String version;
public String... | 806 | 19.692308 | 96 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/package-info.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
/**
* PMD and CPD integration for the Apache Ant build system.
*/
package net.sourceforge.pmd.ant;
| 189 | 20.111111 | 79 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/RuleSetWrapper.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
public class RuleSetWrapper {
private String file;
public final String getFile() {
return file;
}
public final void addText(String t) {
this.file = t;
}
}
| 316 | 16.611111 | 79 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/PMDTask.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.apache.tools.ant.BuildException;
import org.apache.... | 7,807 | 26.017301 | 103 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/CPDTask.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.nio.file.Files;
imp... | 9,738 | 33.90681 | 113 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/internal/Slf4jSimpleConfigurationForAnt.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant.internal;
import java.io.PrintStream;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import org.apache.tools.ant.BuildListener;
impo... | 7,955 | 40.65445 | 116 | java |
pmd | pmd-master/pmd-ant/src/main/java/net/sourceforge/pmd/ant/internal/PMDTaskImpl.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant.internal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.apache.tools.ant.AntClassLoader;
import org.apache.tools.ant.BuildExce... | 9,848 | 39.530864 | 120 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/RuleSetFactoryTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import net.sourceforge.pmd.AbstractRuleSetFactoryTest;
class RuleSetFactoryTest extends AbstractRuleSetFactoryTest {
// no additional tests yet
}
| 280 | 22.416667 | 79 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/LanguageVersionTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import java.util.Arrays;
import java.util.Collection;
import net.sourceforge.pmd.AbstractLanguageVersionTest;
class LanguageVersionTest extends AbstractLanguageVersionTest {
static Coll... | 545 | 27.736842 | 108 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/HtmlXPathRuleTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.List;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.Report;
import net.sourceforge.pmd.RuleViol... | 4,734 | 41.657658 | 124 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/HtmlTokenizerTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import java.util.Properties;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.Tokenizer;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
import net.sourceforge.p... | 754 | 18.868421 | 79 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/HtmlJavaRuleTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.List;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.Report;
import net.sourceforge.pmd.Rule;
im... | 2,735 | 40.454545 | 125 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/HtmlParsingHelper.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import org.checkerframework.checker.nullness.qual.NonNull;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.html.ast.ASTHtmlDocument;
public class ... | 783 | 30.36 | 95 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/ast/HtmlTreeDumpTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.ast.test.BaseTreeDumpTest;
import net.sourceforge.pmd.lang.... | 932 | 22.923077 | 97 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/ast/PositionTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.ast.test.BaseTreeDumpTest;
import net.sourceforge.pmd.lang.a... | 754 | 25.964286 | 97 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/ast/HtmlParsingHelper.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.html.HtmlLanguageModule;
public final class HtmlParsingHelper extends BaseParsingHelper<HtmlPa... | 698 | 29.391304 | 100 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/rule/bestpractices/UseAltAttributeForImagesTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.rule.bestpractices;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class UseAltAttributeForImagesTest extends PmdRuleTst {
// no additional unit tests
}
| 291 | 23.333333 | 79 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/rule/bestpractices/UnnecessaryTypeAttributeTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.rule.bestpractices;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class UnnecessaryTypeAttributeTest extends PmdRuleTst {
// no additional unit tests
}
| 291 | 23.333333 | 79 | java |
pmd | pmd-master/pmd-html/src/test/java/net/sourceforge/pmd/lang/html/rule/bestpractices/AvoidInlineStylesTest.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.rule.bestpractices;
import net.sourceforge.pmd.testframework.PmdRuleTst;
class AvoidInlineStylesTest extends PmdRuleTst {
// no additional unit tests
}
| 285 | 22.833333 | 79 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/package-info.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
@net.sourceforge.pmd.annotation.Experimental
package net.sourceforge.pmd.lang.html;
| 172 | 23.714286 | 79 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/HtmlCpdLanguage.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import net.sourceforge.pmd.cpd.AbstractLanguage;
import net.sourceforge.pmd.lang.html.ast.HtmlTokenizer;
public final class HtmlCpdLanguage extends AbstractLanguage {
public HtmlCpdLang... | 460 | 26.117647 | 122 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/HtmlLanguageModule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import static net.sourceforge.pmd.util.CollectionUtil.listOf;
import java.util.List;
import net.sourceforge.pmd.annotation.InternalApi;
import net.sourceforge.pmd.lang.LanguageRegistry;
impo... | 1,107 | 31.588235 | 97 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/HtmlHandler.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html;
import net.sourceforge.pmd.lang.AbstractPmdLanguageVersionHandler;
import net.sourceforge.pmd.lang.ast.Parser;
import net.sourceforge.pmd.lang.html.ast.HtmlParser;
class HtmlHandler extends ... | 445 | 21.3 | 79 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/HtmlVisitor.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import net.sourceforge.pmd.lang.ast.AstVisitor;
public interface HtmlVisitor<P, R> extends AstVisitor<P, R> {
/**
* The default visit method, to which other methods delegate.
... | 1,141 | 23.826087 | 79 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlComment.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.jsoup.nodes.Comment;
public final class ASTHtmlComment extends AbstractHtmlNode<Comment> {
ASTHtmlComment(Comment node) {
super(node);
}
public String ge... | 528 | 20.16 | 95 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlCDataNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.jsoup.nodes.CDataNode;
public final class ASTHtmlCDataNode extends AbstractHtmlNode<CDataNode> {
ASTHtmlCDataNode(CDataNode node) {
super(node);
}
public... | 535 | 20.44 | 95 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlXmlDeclaration.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.jsoup.nodes.XmlDeclaration;
public final class ASTHtmlXmlDeclaration extends AbstractHtmlNode<XmlDeclaration> {
ASTHtmlXmlDeclaration(XmlDeclaration node) {
super... | 560 | 21.44 | 95 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/AbstractHtmlNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.jsoup.nodes.Node;
import net.sourceforge.pmd.lang.ast.AstVisitor;
import net.sourceforge.pmd.lang.ast.impl.AbstractNode;
import net.sourceforge.pmd.lang.document.TextRegion;
... | 1,512 | 26.017857 | 121 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlDocumentType.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.jsoup.nodes.DocumentType;
public final class ASTHtmlDocumentType extends AbstractHtmlNode<DocumentType> {
ASTHtmlDocumentType(DocumentType node) {
super(node);
... | 696 | 20.121212 | 95 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlElement.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.jsoup.nodes.Element;
import net.sourceforge.pmd.lang.rule.xpath.Attribute;
public class ASTHtm... | 2,077 | 27.465753 | 101 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/HtmlNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import net.sourceforge.pmd.lang.ast.impl.GenericNode;
public interface HtmlNode extends GenericNode<HtmlNode> {
}
| 248 | 19.75 | 79 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlDocument.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import java.util.Map;
import org.jsoup.nodes.Document;
import net.sourceforge.pmd.lang.ast.AstInfo;
import net.sourceforge.pmd.lang.ast.Parser;
import net.sourceforge.pmd.lang.ast.RootN... | 966 | 25.135135 | 95 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/HtmlTokenizer.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import java.io.IOException;
import java.io.UncheckedIOException;
import net.sourceforge.pmd.cpd.SourceCode;
import net.sourceforge.pmd.cpd.TokenEntry;
import net.sourceforge.pmd.cpd.Token... | 2,413 | 33 | 90 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/HtmlTreeBuilder.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import java.util.Map;
import org.jsoup.nodes.CDataNode;
import org.jsoup.nodes.Comment;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.DocumentType;
import org.jsoup.nodes.Eleme... | 2,057 | 32.737705 | 84 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/ASTHtmlTextNode.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import org.jsoup.nodes.TextNode;
public class ASTHtmlTextNode extends AbstractHtmlNode<TextNode> {
ASTHtmlTextNode(TextNode node) {
super(node);
}
@Override
pro... | 695 | 19.470588 | 95 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/HtmlParser.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import java.util.HashMap;
import org.jsoup.nodes.Document;
import org.jsoup.parser.Parser;
public final class HtmlParser implements net.sourceforge.pmd.lang.ast.Parser {
@Override
... | 599 | 26.272727 | 103 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/ast/LineNumbers.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
import net.sourceforge.pmd.lang.document.Chars;
class LineNumbers {
private final ASTHtmlDocument document;
private final Chars htmlString;
LineNumbers(ASTHtmlDocument docu... | 3,295 | 34.826087 | 107 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/rule/AbstractHtmlRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.rule;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.html.ast.HtmlVisitor;
import net.sourceforge.pmd.lang.rule.AbstractRule;
... | 690 | 26.64 | 84 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/rule/bestpractices/UseAltAttributeForImagesRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.rule.bestpractices;
import java.util.Arrays;
import org.checkerframework.checker.nullness.qual.NonNull;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.html.ast.ASTHtm... | 942 | 26.735294 | 79 | java |
pmd | pmd-master/pmd-html/src/main/java/net/sourceforge/pmd/lang/html/rule/bestpractices/UnnecessaryTypeAttributeRule.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.rule.bestpractices;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.html.ast.ASTHtmlElement;
import net.sourceforge.pmd.lang.html.rule.AbstractHtmlRule;
public class Un... | 1,263 | 29.095238 | 79 | java |
pmd | pmd-master/pmd-julia/src/test/java/net/sourceforge/pmd/cpd/JuliaTokenizerTest.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.util.Properties;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
import net.sourceforge.pmd.lang.julia.cpd.JuliaTokenizer;
class JuliaTok... | 757 | 20.657143 | 79 | java |
pmd | pmd-master/pmd-julia/src/main/java/net/sourceforge/pmd/lang/julia/ast/package-info.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
/**
* Contains the Antlr grammar for Julia.
*/
package net.sourceforge.pmd.lang.julia.ast;
| 182 | 19.333333 | 79 | java |
pmd | pmd-master/pmd-julia/src/main/java/net/sourceforge/pmd/lang/julia/cpd/package-info.java | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
/**
* Contains Julia tokenizer and language classes.
*/
package net.sourceforge.pmd.lang.julia.cpd;
| 191 | 20.333333 | 79 | java |
pmd | pmd-master/pmd-julia/src/main/java/net/sourceforge/pmd/lang/julia/cpd/JuliaLanguage.java | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.julia.cpd;
import net.sourceforge.pmd.cpd.AbstractLanguage;
/**
* Language implementation for Julia.
*/
public class JuliaLanguage extends AbstractLanguage {
/**
* Creates a new Julia ... | 446 | 20.285714 | 79 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.