gael-boyenval / debt-collector Goto Github PK
View Code? Open in Web Editor NEWa nodejs util to identify, track and mesure technical debt in a project
Home Page: https://gael-boyenval.gitbook.io/debt-collector/
License: MIT License
a nodejs util to identify, track and mesure technical debt in a project
Home Page: https://gael-boyenval.gitbook.io/debt-collector/
License: MIT License
You did great ! ๐
Previous debt | Current debt | trend |
---|---|---|
358 | 143 | -215 |
File | Prev | Current | Trend |
---|---|---|---|
packages/app-cdc-catalog/src/c....nalizationSection.module.scss | 3 | 3 | = |
packages/app-cdc-catalog/src/c....Product/Product.container.tsx | 2 | 2 | = |
packages/app-cdc-catalog/src/c....asses/VirtualTryOnGlasses.tsx | 1 | 1 | = |
packages/app-cdc-catalog/src/pages/_app.tsx | 2 | 2 | = |
packages/app-cdc-catalog/src/redux/content/helpers.ts | 22 | 22 | = |
packages/app-cdc-catalog/src/v....AccountPanel/AccountPanel.tsx | 1 | 1 | = |
packages/app-cdc-catalog/src/v....getHeaderAccountPanelItems.ts | 3 | 3 | = |
packages/app-cdc-catalog/src/v....Actions/Actions.container.tsx | 23 | 23 | = |
packages/app-cdc-checkout/src/....ricSection/GenericOptions.tsx | 3 | 3 | = |
packages/app-pcd-catalog/src/v....st/WishlistItem.container.tsx | 1 | 1 | = |
packages/app-pcd-catalog/src/v....y/TopContentBeautyDesktop.tsx | 7 | 7 | = |
packages/app-pcd-catalog/src/v....ty/TopContentBeautyMobile.tsx | 7 | 7 | = |
packages/app-pcd-checkout/src/....rderPageDetails.container.tsx | 2 | 2 | = |
packages/app-pcd-checkout/src/....CybersourcePayPal.module.scss | 5 | 5 | = |
packages/lib-pcd-cart/src/comp....tButtons/CheckoutButtons.scss | 2 | 2 | = |
packages/lib-pcd-cart/src/comp....GooglePayButtonWithParams.tsx | 1 | 1 | = |
packages/lib-pcd-cart/src/comp....ms/PaypalButtonWithParams.tsx | 1 | 1 | = |
packages/lib-pcd-cart/src/comp....ypalPopin/PostPaypalPopin.tsx | 1 | 1 | = |
packages/lib-pcd-cart/src/helpers/checkoutEndpoints.ts | 6 | 6 | = |
packages/lib-pcd-cart/src/stories/decorators.tsx | 1 | 1 | = |
File | Prev | Current | Trend |
---|---|---|---|
packages/app-cdc-catalog/src/c....roductLightCard.container.tsx | 3 | 0 | โผ -3 |
packages/app-cdc-catalog/src/c..../ProductLightCard.module.scss | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/c....eWishlistLegacy.container.tsx | 7 | 0 | โผ -7 |
packages/app-cdc-catalog/src/c....gleWishlistLegacy.module.scss | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/m....msContentWithStockPriceApi.ts | 19 | 18 | โผ -1 |
packages/app-cdc-catalog/src/redux/epics.ts | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/redux/selectors.ts | 5 | 4 | โผ -1 |
packages/app-cdc-catalog/src/redux/stocks/mw.ts | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/redux/stocks/reducer.ts | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/redux/wishlist/helpers.ts | 12 | 0 | โผ -12 |
packages/app-cdc-catalog/src/redux/wishlist/mw.ts | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/redux/wishlist/reducer.ts | 22 | 0 | โผ -22 |
packages/app-cdc-catalog/src/redux/wishlist/selectors.ts | 16 | 0 | โผ -16 |
packages/app-cdc-catalog/src/v....derAccountPanel.container.tsx | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/v....t/EmptyWishlist.container.tsx | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v....st/WishlistItem.container.tsx | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v....list/WishlistItem.module.scss | 16 | 0 | โผ -16 |
packages/app-cdc-catalog/src/v....nel/Wishlist/WishlistItem.tsx | 4 | 0 | โผ -4 |
packages/app-cdc-catalog/src/v....hlistItemBeauty.container.tsx | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/v....listItemCouture.container.tsx | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/v....ist/WishlistItems.module.scss | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v..../WishlistLegacy.container.tsx | 14 | 0 | โผ -14 |
packages/app-cdc-catalog/src/v....ersonalizationBundle/utils.ts | 57 | 27 | โผ -30 |
packages/app-cdc-catalog/src/v....r/ProductSlider.container.tsx | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v....der/ProductSlider.module.scss | 12 | 0 | โผ -12 |
packages/app-cdc-catalog/src/v....ProductPushSlider.module.scss | 10 | 0 | โผ -10 |
packages/app-cdc-catalog/src/v....SliderWithInfos.container.tsx | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/v....ctSliderWithInfos.module.scss | 5 | 0 | โผ -5 |
packages/app-cdc-catalog/src/v....ProductsSelection.module.scss | 4 | 0 | โผ -4 |
packages/app-cdc-catalog/src/v....tsSelectionSlider.module.scss | 3 | 0 | โผ -3 |
packages/app-pcd-catalog/src/v....listItemCouture.container.tsx | 8 | 0 | โผ -8 |
packages/app-pcd-checkout/src/....gForLoggedInForFulfilments.ts | 1 | 0 | โผ -1 |
Broken rule | score |
---|---|
๐ซ remove useless :global and apply classes using "styles.myClassName" instead | 2 |
๐ซ rewrite BEM classe names into kebab-case notation | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 2 |
Broken rule | score |
---|---|
๐ซ Use native Array.filter instead of lodash.filter | 1 |
Broken rule | score |
---|---|
๐ซ Use Array.map instead of lodash.map | 7 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 11 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 2 |
Broken rule | score |
---|---|
๐ซ Use Array.map instead of lodash.map | 6 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 15 |
๐ซ Use native Array.reduce instead of lodash.reduce | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 4 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 3 |
Broken rule | score |
---|---|
๐ซ Use Array.map instead of lodash.map | 11 |
๐ซ Use native Array.filter instead of lodash.filter | 2 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 10 |
๐ซ Use native Array.reduce instead of lodash.reduce | 1 |
๐ซ Use native Array.find instead of lodash.find | 3 |
Broken rule | score |
---|---|
๐ซ use useTrackOnClick instead of withTrackOnClick | 1 |
๐ซ Use useAddedToCartPopin hook instead of withAddedToCartPopin | 1 |
๐ซ Use SelectedVariation context instead of withSelectedVariation | 1 |
๐ซ Remove withDiorContext and use DiorContext instead | 1 |
๐ซ Remove withPickedQueryParams and use usePickedQueryParams instead | 1 |
๐ซ Remove withUniverseWording, withWording, withDynamicKeyWording and withDynamicWording and use useWording instead | 4 |
๐ซ Use Array.map instead of lodash.map | 5 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 9 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 3 |
Broken rule | score |
---|---|
๐ซ Remove withDiorContext and use DiorContext instead | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
๐ซ Delete @ts-expect-error comments | 6 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
๐ซ Delete @ts-expect-error comments | 6 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 2 |
Broken rule | score |
---|---|
๐ซ remove useless :global and apply classes using "styles.myClassName" instead | 4 |
๐ซ rewrite BEM classe names into kebab-case notation | 1 |
Broken rule | score |
---|---|
๐ซ use css modules and import styles from "style.module.scss" instead of global stylesheets |
1 |
๐ซ rewrite BEM classe names into kebab-case notation | 1 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 1 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 6 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 1 |
Scores based on modified files only
The report may not be accurate if your branch is not up to date with the base branch. โฉ
You did great ! ๐
Previous debt | Current debt | trend |
---|---|---|
358 | 143 | -215 |
File | Prev | Current | Trend |
---|---|---|---|
packages/app-cdc-catalog/src/c....nalizationSection.module.scss | 3 | 3 | = |
packages/app-cdc-catalog/src/c....Product/Product.container.tsx | 2 | 2 | = |
packages/app-cdc-catalog/src/c....asses/VirtualTryOnGlasses.tsx | 1 | 1 | = |
packages/app-cdc-catalog/src/pages/_app.tsx | 2 | 2 | = |
packages/app-cdc-catalog/src/redux/content/helpers.ts | 22 | 22 | = |
packages/app-cdc-catalog/src/v....AccountPanel/AccountPanel.tsx | 1 | 1 | = |
packages/app-cdc-catalog/src/v....getHeaderAccountPanelItems.ts | 3 | 3 | = |
packages/app-cdc-catalog/src/v....Actions/Actions.container.tsx | 23 | 23 | = |
packages/app-cdc-checkout/src/....ricSection/GenericOptions.tsx | 3 | 3 | = |
packages/app-pcd-catalog/src/v....st/WishlistItem.container.tsx | 1 | 1 | = |
packages/app-pcd-catalog/src/v....y/TopContentBeautyDesktop.tsx | 7 | 7 | = |
packages/app-pcd-catalog/src/v....ty/TopContentBeautyMobile.tsx | 7 | 7 | = |
packages/app-pcd-checkout/src/....rderPageDetails.container.tsx | 2 | 2 | = |
packages/app-pcd-checkout/src/....CybersourcePayPal.module.scss | 5 | 5 | = |
packages/lib-pcd-cart/src/comp....tButtons/CheckoutButtons.scss | 2 | 2 | = |
packages/lib-pcd-cart/src/comp....GooglePayButtonWithParams.tsx | 1 | 1 | = |
packages/lib-pcd-cart/src/comp....ms/PaypalButtonWithParams.tsx | 1 | 1 | = |
packages/lib-pcd-cart/src/comp....ypalPopin/PostPaypalPopin.tsx | 1 | 1 | = |
packages/lib-pcd-cart/src/helpers/checkoutEndpoints.ts | 6 | 6 | = |
packages/lib-pcd-cart/src/stories/decorators.tsx | 1 | 1 | = |
File | Prev | Current | Trend |
---|---|---|---|
packages/app-cdc-catalog/src/c....roductLightCard.container.tsx | 3 | 0 | โผ -3 |
packages/app-cdc-catalog/src/c..../ProductLightCard.module.scss | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/c....eWishlistLegacy.container.tsx | 7 | 0 | โผ -7 |
packages/app-cdc-catalog/src/c....gleWishlistLegacy.module.scss | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/m....msContentWithStockPriceApi.ts | 19 | 18 | โผ -1 |
packages/app-cdc-catalog/src/redux/epics.ts | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/redux/selectors.ts | 5 | 4 | โผ -1 |
packages/app-cdc-catalog/src/redux/stocks/mw.ts | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/redux/stocks/reducer.ts | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/redux/wishlist/helpers.ts | 12 | 0 | โผ -12 |
packages/app-cdc-catalog/src/redux/wishlist/mw.ts | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/redux/wishlist/reducer.ts | 22 | 0 | โผ -22 |
packages/app-cdc-catalog/src/redux/wishlist/selectors.ts | 16 | 0 | โผ -16 |
packages/app-cdc-catalog/src/v....derAccountPanel.container.tsx | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/v....t/EmptyWishlist.container.tsx | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v....st/WishlistItem.container.tsx | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v....list/WishlistItem.module.scss | 16 | 0 | โผ -16 |
packages/app-cdc-catalog/src/v....nel/Wishlist/WishlistItem.tsx | 4 | 0 | โผ -4 |
packages/app-cdc-catalog/src/v....hlistItemBeauty.container.tsx | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/v....listItemCouture.container.tsx | 8 | 0 | โผ -8 |
packages/app-cdc-catalog/src/v....ist/WishlistItems.module.scss | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v..../WishlistLegacy.container.tsx | 14 | 0 | โผ -14 |
packages/app-cdc-catalog/src/v....ersonalizationBundle/utils.ts | 57 | 27 | โผ -30 |
packages/app-cdc-catalog/src/v....r/ProductSlider.container.tsx | 1 | 0 | โผ -1 |
packages/app-cdc-catalog/src/v....der/ProductSlider.module.scss | 12 | 0 | โผ -12 |
packages/app-cdc-catalog/src/v....ProductPushSlider.module.scss | 10 | 0 | โผ -10 |
packages/app-cdc-catalog/src/v....SliderWithInfos.container.tsx | 2 | 0 | โผ -2 |
packages/app-cdc-catalog/src/v....ctSliderWithInfos.module.scss | 5 | 0 | โผ -5 |
packages/app-cdc-catalog/src/v....ProductsSelection.module.scss | 4 | 0 | โผ -4 |
packages/app-cdc-catalog/src/v....tsSelectionSlider.module.scss | 3 | 0 | โผ -3 |
packages/app-pcd-catalog/src/v....listItemCouture.container.tsx | 8 | 0 | โผ -8 |
packages/app-pcd-checkout/src/....gForLoggedInForFulfilments.ts | 1 | 0 | โผ -1 |
Broken rule | score |
---|---|
๐ซ remove useless :global and apply classes using "styles.myClassName" instead | 2 |
๐ซ rewrite BEM classe names into kebab-case notation | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 2 |
Broken rule | score |
---|---|
๐ซ Use native Array.filter instead of lodash.filter | 1 |
Broken rule | score |
---|---|
๐ซ Use Array.map instead of lodash.map | 7 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 11 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 2 |
Broken rule | score |
---|---|
๐ซ Use Array.map instead of lodash.map | 6 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 15 |
๐ซ Use native Array.reduce instead of lodash.reduce | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 4 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 3 |
Broken rule | score |
---|---|
๐ซ Use Array.map instead of lodash.map | 11 |
๐ซ Use native Array.filter instead of lodash.filter | 2 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 10 |
๐ซ Use native Array.reduce instead of lodash.reduce | 1 |
๐ซ Use native Array.find instead of lodash.find | 3 |
Broken rule | score |
---|---|
๐ซ use useTrackOnClick instead of withTrackOnClick | 1 |
๐ซ Use useAddedToCartPopin hook instead of withAddedToCartPopin | 1 |
๐ซ Use SelectedVariation context instead of withSelectedVariation | 1 |
๐ซ Remove withDiorContext and use DiorContext instead | 1 |
๐ซ Remove withPickedQueryParams and use usePickedQueryParams instead | 1 |
๐ซ Remove withUniverseWording, withWording, withDynamicKeyWording and withDynamicWording and use useWording instead | 4 |
๐ซ Use Array.map instead of lodash.map | 5 |
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 9 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 3 |
Broken rule | score |
---|---|
๐ซ Remove withDiorContext and use DiorContext instead | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
๐ซ Delete @ts-expect-error comments | 6 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
๐ซ Delete @ts-expect-error comments | 6 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 2 |
Broken rule | score |
---|---|
๐ซ remove useless :global and apply classes using "styles.myClassName" instead | 4 |
๐ซ rewrite BEM classe names into kebab-case notation | 1 |
Broken rule | score |
---|---|
๐ซ use css modules and import styles from "style.module.scss" instead of global stylesheets |
1 |
๐ซ rewrite BEM classe names into kebab-case notation | 1 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 1 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 1 |
Broken rule | score |
---|---|
๐ซ Use Optional chaining (obj?.key) instead of lodash.property | 6 |
Broken rule | score |
---|---|
๐ซ Delete @ts-expect-error comments | 1 |
Scores based on modified files only
The report may not be accurate if your branch is not up to date with the base branch. โฉ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.