Skip to content

Instantly share code, notes, and snippets.

View Vyom-Yadav's full-sized avatar
💬
Focusing

Vyom Yadav Vyom-Yadav

💬
Focusing
View GitHub Profile
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name = "Checker">
<property name="charset" value="UTF-8"/>
<!-- do not change severity to 'error', as that will hide errors caused by exceptions -->
<property name="severity" value="warning"/>
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name = "Checker">
<property name="charset" value="UTF-8"/>
<!-- do not change severity to 'error', as that will hide errors caused by exceptions -->
<property name="severity" value="warning"/>
checkstyle|git|https://github.com/checkstyle/checkstyle.git|master|
@Vyom-Yadav
Vyom-Yadav / log.txt
Last active December 18, 2021 12:34
$ groovy diff.groovy -r /home/vyom/IdeaProjects/checkstyle -b master -p refactorSummaryJavadoc -c my_check.xml -l projects-to-test-on.properties
[delete] Deleting directory /home/vyom/IdeaProjects/contribution/checkstyle-tester/reports
[delete] Deleting directory /home/vyom/IdeaProjects/contribution/checkstyle-tester/tmp_reports
Installing Checkstyle artifact (master) into local Maven repository ...
Running command: git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
Running command: git log -1 --pretty=MSG:%s%nSHA-1:%H
MSG:dependency: bump equalsverifier from 3.8 to 3.8.1
SHA-1:c9134ce31c4776e4ab6764824bb234bf5495be0e
groovy diff.groovy -r /home/vyom/IdeaProjects/checkstyle -b master -p refactorSummaryJavadoc -c my_check.xml -l projects-to-test-on.properties
[delete] Deleting directory /home/vyom/IdeaProjects/contribution/checkstyle-tester/reports
Installing Checkstyle artifact (master) into local Maven repository ...
Running command: git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
Running command: git log -1 --pretty=MSG:%s%nSHA-1:%H
MSG:dependency: bump equalsverifier from 3.8 to 3.8.1
SHA-1:c9134ce31c4776e4ab6764824bb234bf5495be0e
Running command: mvn -e --batch-mode -Pno-validations clean install
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
padding-top: 3rem;
padding-bottom: 3rem;
color: #5a5a5a;
}
@Vyom-Yadav
Vyom-Yadav / Statistics.java
Last active January 7, 2022 08:16
Number of lines
package anotherPackage;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
@Vyom-Yadav
Vyom-Yadav / lines.txt
Created January 10, 2022 09:27
TotalNumOfLines
InputPackageNamesLoaderNotXml.java: 3
InputArrayTypeStyleNestedGenerics.java: 12
InputArrayTypeStyleOff.java: 19
InputArrayTypeStyle.java: 19
InputNonEmptyAtclauseDescription.java: 27
InputJavadocStyleNeverEndingXmlComment.java: 18
InputJavadocStyle2.java: 70
InputJavadocStyle8.java: 66
InputJavadocStyle4.java: 71
InputJavadocStyleNoJavadoc.java: 37
@Vyom-Yadav
Vyom-Yadav / pitest.md
Last active September 19, 2022 15:11
Pitest documentation update

Pitest

PIT is a state of the art mutation testing system, providing gold standard test coverage for Java and the jvm. It's fast, scalable and integrates with modern test and build tooling. Visit https://pitest.org/ for more information.

How to generate pit report:


mvn -e --no-transfer-progress -P"$PITEST_PROFILE" clean test-compile org.pitest:pitest-maven:mutationCoverage