Skip to content

Instantly share code, notes, and snippets.

Avatar
💬
Focusing

Vyom Yadav Vyom-Yadav

💬
Focusing
View GitHub Profile
@Vyom-Yadav
Vyom-Yadav / MoreSupportForSubresources.md
Created December 3, 2022 17:14
LFX Mentorship'22 Documentation Updates
View MoreSupportForSubresources.md

LFX Mentorship Fall 2022

More support for subresources (Documentation Changes)

1. New pattern for specifying match.(any/all).resources.kinds-

Supported formats:

  • Group/Version/Kind
@Vyom-Yadav
Vyom-Yadav / subresources.md
Last active October 19, 2022 07:36
Subresources Validation Flowchart
View subresources.md

LFX Mentorship Fall 2022

More support for subresources

flowchart TB
subgraph ide1 [policy/validate.go]
    A["validateKinds(..), Background scanning not allowed for subresources"]
end
@Vyom-Yadav
Vyom-Yadav / requirements.md
Created September 16, 2022 01:13
Project Requirements
View requirements.md

Project Requirements

@Vyom-Yadav
Vyom-Yadav / GSoC.md
Last active September 18, 2022 04:53
GSoC 2022 Final Report
View GSoC.md
View ArchUnitCyclesCheckTestLog.txt
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'slices matching 'com.puppycrawl.tools.checkstyle.(**)' should be free of cycles' was violated (15 times):
Cycle detected: Slice api ->
Slice checks.naming ->
Slice api
1. Dependencies of Slice api
- Field <com.puppycrawl.tools.checkstyle.api.AutomaticBean$RelaxedAccessModifierArrayConverter.EMPTY_MODIFIER_ARRAY> depends on component type <com.puppycrawl.tools.checkstyle.checks.naming.AccessModifierOption> in (AutomaticBean.java:0)
- Method <com.puppycrawl.tools.checkstyle.api.AutomaticBean.registerCustomTypes(org.apache.commons.beanutils.ConvertUtilsBean)> depends on component type <com.puppycrawl.tools.checkstyle.checks.naming.AccessModifierOption> in (AutomaticBean.java:168)
- Method <com.puppycrawl.tools.checkstyle.api.AutomaticBean$RelaxedAccessModifierArrayConverter.convert(java.lang.Class, java.lang.Object)> calls method <com.puppycrawl.tools.checkstyle.checks.naming.AccessModifier
@Vyom-Yadav
Vyom-Yadav / pitest.md
Last active September 19, 2022 15:11
Pitest documentation update
View pitest.md

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
@Vyom-Yadav
Vyom-Yadav / lines.txt
Created January 10, 2022 09:27
TotalNumOfLines
View lines.txt
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 / Statistics.java
Last active January 7, 2022 08:16
Number of lines
View Statistics.java
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;
View wh.css
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
padding-top: 3rem;
padding-bottom: 3rem;
color: #5a5a5a;
}