Closed chul-hyun closed 4 years ago
changes to copy/paste analytic.
Orgin copy/paste analytic
New copy/paste analytic
Format | Files analyzed | Total lines | Clones found | Duplicated lines | % |
---|---|---|---|---|---|
tsx | 53 | 2826 | 3 | 45 | 1.59 |
javascript | 38 | 646 | 0 | 0 | 0 |
typescript | 20 | 950 | 7 | 104 | 10.95 |
css | 1 | 7 | 0 | 0 | 0 |
Total | 112 | 4429 | 10 | 149 | 3.36 |
Clone found (typescript): - [src/api/index.ts#L47-L63](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L47-L63) [src/api/index.ts#L16-L32](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L16-L32) Clone found (typescript): - [src/api/index.ts#L93-L107](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L93-L107) [src/api/index.ts#L76-L90](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L76-L90) Clone found (typescript): - [src/api/index.ts#L113-L130](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L113-L130) [src/api/index.ts#L76-L93](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L76-L93) Clone found (typescript): - [src/api/index.ts#L128-L141](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L128-L141) [src/api/index.ts#L111-L87](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L111-L87) Clone found (typescript): - [src/api/index.ts#L143-L159](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L143-L159) [src/api/index.ts#L127-L143](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L127-L143) Clone found (typescript): - [src/hooks/useNewsList.ts#L72-L83](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useNewsList.ts#L72-L83) [src/hooks/useCorpList.ts#L39-L50](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useCorpList.ts#L39-L50) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L5-L24](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L5-L24) [src/layouts/ColListLayout.tsx#L6-L24](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L6-L24) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L76-L87](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L76-L87) [src/layouts/ColListLayout.tsx#L47-L58](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L47-L58) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L92-L107](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L92-L107) [src/layouts/ColListLayout.tsx#L63-L78](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L63-L78) Clone found (typescript): - [src/services/newsService/api/types.ts#L16-L33](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/services/newsService/api/types.ts#L16-L33) [src/hooks/useNewsList.ts#L24-L41](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useNewsList.ts#L24-L41)
changes to file dependencies.
File dependencies Diff
+digraph G {
+ "api/index.ts";
+ "resources/mock/linkMock.jpg";
+ "common/global.css";
+ "common/index.ts";
+ "components/ContactCard/index.tsx";
+ "layouts/index.ts";
+ "components/ExternalLink/LinkImg.tsx";
+ "components/ExternalLink/generatorGetShuffleItem.ts";
+ "utils.ts";
+ "components/ExternalLink/index.tsx";
+ "components/News/Tags.tsx";
+ "components/News/index.tsx";
+ "components/index.ts";
+ "components/PlatformListCard/index.tsx";
+ "config/index.ts";
+ "components/RouterLink/RouterLink.tsx";
+ "resources/index.ts";
+ "config/routes.tsx";
+ "hooks/useCorpList.ts";
+ "hooks/useNewsList.ts";
+ "index.tsx";
+ "routes/index.tsx";
+ "stores/index.ts";
+ "layouts/BaseLayout.tsx";
+ "layouts/BothMarginWrapper.tsx";
+ "layouts/CardSimpleLayout.tsx";
+ "layouts/Center.tsx";
+ "layouts/ColListLayout.tsx";
+ "layouts/PageLayout.tsx";
+ "layouts/RowListLayout.tsx";
+ "pages/AboutPage/index.tsx";
+ "templates/About/index.tsx";
+ "templates/index.ts";
+ "pages/CompanyNewsListPage/index.tsx";
+ "pages/CompanySelectPage/index.tsx";
+ "pages/HomePage/index.tsx";
+ "pages/index.ts";
+ "pages/IntroduceFormPage/index.tsx";
+ "templates/Button/index.tsx";
+ "pages/MenuPage/index.tsx";
+ "pages/NewsListPage/index.tsx";
+ "pages/NewsPage/index.tsx";
+ "pages/PicksPage/index.tsx";
+ "resources/asset/arrow@3x.png";
+ "resources/asset/back@3x.png";
+ "resources/asset/content@3x.png";
+ "resources/asset/copy@3x.png";
+ "resources/asset/downarrow@3x.png";
+ "resources/asset/email-blue@3x.png";
+ "resources/asset/email@3x.png";
+ "resources/asset/exit-white@3x.png";
+ "resources/asset/exit@3x.png";
+ "resources/asset/facebook-blue@3x.png";
+ "resources/asset/facebook@3x.png";
+ "resources/asset/kakao-blue@3x.png";
+ "resources/asset/kakao@3x.png";
+ "resources/asset/linking@3x.png";
+ "resources/asset/logo-white-footer@3x.png";
+ "resources/asset/logo@3x.png";
+ "resources/asset/mark@3x.png";
+ "resources/asset/menu@3x.png";
+ "resources/asset/share@3x.png";
+ "resources/asset/twitter-blue@3x.png";
+ "resources/asset/twitter@3x.png";
+ "templates/About/AboutPeople.tsx";
+ "templates/CompanyList/CompanyItem.tsx";
+ "templates/CompanyList/index.tsx";
+ "templates/CompanyListCard/index.tsx";
+ "templates/Footer/components/Copyright.tsx";
+ "templates/Footer/components/FooterLinkList.tsx";
+ "templates/Footer/components/index.ts";
+ "templates/Footer/index.tsx";
+ "templates/Header/index.tsx";
+ "templates/HorizontalDivider/index.tsx";
+ "templates/NewsList/index.tsx";
+ "templates/PickCategoryList/index.tsx";
+ "templates/PickNewsList/index.tsx";
+ "templates/RecommendNewsList/index.tsx";
+ "templates/SelectBox/Label.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx";
+ "templates/SelectBox/Layer/index.tsx";
+ "templates/SelectBox/Layer/styles.css";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx";
+ "templates/SelectBox/index.tsx";
+ "templates/SocialLinkList/index.tsx";
+ "templates/SubHeader/index.tsx";
+ "templates/Tabs/TabLink.tsx";
+ "templates/Tabs/index.tsx";
+ "templates/TextCard/index.tsx";
+ "templates/TextField/index.tsx";
+ "api/index.ts" -> "resources/mock/linkMock.jpg";
+ "common/index.ts" -> "common/global.css";
+ "components/ContactCard/index.tsx" -> "layouts/index.ts";
+ "components/ExternalLink/LinkImg.tsx" -> "components/ExternalLink/generatorGetShuffleItem.ts";
+ "components/ExternalLink/generatorGetShuffleItem.ts" -> "utils.ts";
+ "components/ExternalLink/index.tsx" -> "components/ExternalLink/LinkImg.tsx";
+ "components/ExternalLink/index.tsx" -> "layouts/index.ts";
+ "components/ExternalLink/index.tsx" -> "utils.ts";
+ "components/News/Tags.tsx" -> "layouts/index.ts";
+ "components/News/index.tsx" -> "components/News/Tags.tsx";
+ "components/News/index.tsx" -> "components/index.ts";
+ "components/News/index.tsx" -> "layouts/index.ts";
+ "components/News/index.tsx" -> "utils.ts";
+ "components/PlatformListCard/index.tsx" -> "config/index.ts";
+ "components/PlatformListCard/index.tsx" -> "layouts/index.ts";
+ "components/index.ts" -> "components/ContactCard/index.tsx";
+ "components/index.ts" -> "components/ExternalLink/index.tsx";
+ "components/index.ts" -> "components/News/index.tsx";
+ "components/index.ts" -> "components/PlatformListCard/index.tsx";
+ "config/index.ts" -> "resources/index.ts";
+ "index.tsx" -> "routes/index.tsx";
+ "index.tsx" -> "stores/index.ts";
+ "layouts/BothMarginWrapper.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/CardSimpleLayout.tsx" -> "layouts/index.ts";
+ "layouts/Center.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/ColListLayout.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/RowListLayout.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/index.ts" -> "layouts/BothMarginWrapper.tsx";
+ "layouts/index.ts" -> "layouts/CardSimpleLayout.tsx";
+ "layouts/index.ts" -> "layouts/Center.tsx";
+ "layouts/index.ts" -> "layouts/ColListLayout.tsx";
+ "layouts/index.ts" -> "layouts/PageLayout.tsx";
+ "layouts/index.ts" -> "layouts/RowListLayout.tsx";
+ "pages/AboutPage/index.tsx" -> "layouts/index.ts";
+ "pages/AboutPage/index.tsx" -> "templates/About/index.tsx";
+ "pages/AboutPage/index.tsx" -> "templates/index.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "hooks/useCorpList.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "layouts/index.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "templates/index.ts";
+ "pages/CompanySelectPage/index.tsx" -> "layouts/index.ts";
+ "pages/CompanySelectPage/index.tsx" -> "templates/index.ts";
+ "pages/HomePage/index.tsx" -> "pages/index.ts";
+ "pages/HomePage/index.tsx" -> "utils.ts";
+ "pages/IntroduceFormPage/index.tsx" -> "layouts/index.ts";
+ "pages/IntroduceFormPage/index.tsx" -> "templates/Button/index.tsx";
+ "pages/IntroduceFormPage/index.tsx" -> "templates/index.ts";
+ "pages/MenuPage/index.tsx" -> "config/routes.tsx";
+ "pages/MenuPage/index.tsx" -> "layouts/index.ts";
+ "pages/MenuPage/index.tsx" -> "resources/index.ts";
+ "pages/MenuPage/index.tsx" -> "templates/index.ts";
+ "pages/NewsListPage/index.tsx" -> "hooks/useNewsList.ts";
+ "pages/NewsListPage/index.tsx" -> "layouts/index.ts";
+ "pages/NewsListPage/index.tsx" -> "templates/index.ts";
+ "pages/NewsPage/index.tsx" -> "components/News/index.tsx";
+ "pages/NewsPage/index.tsx" -> "layouts/index.ts";
+ "pages/NewsPage/index.tsx" -> "resources/mock/linkMock.jpg";
+ "pages/NewsPage/index.tsx" -> "templates/index.ts";
+ "pages/PicksPage/index.tsx" -> "templates/index.ts";
+ "pages/index.ts" -> "pages/AboutPage/index.tsx";
+ "pages/index.ts" -> "pages/CompanyNewsListPage/index.tsx";
+ "pages/index.ts" -> "pages/CompanySelectPage/index.tsx";
+ "pages/index.ts" -> "pages/HomePage/index.tsx";
+ "pages/index.ts" -> "pages/IntroduceFormPage/index.tsx";
+ "pages/index.ts" -> "pages/MenuPage/index.tsx";
+ "pages/index.ts" -> "pages/NewsListPage/index.tsx";
+ "pages/index.ts" -> "pages/NewsPage/index.tsx";
+ "pages/index.ts" -> "pages/PicksPage/index.tsx";
+ "resources/index.ts" -> "resources/asset/arrow@3x.png";
+ "resources/index.ts" -> "resources/asset/back@3x.png";
+ "resources/index.ts" -> "resources/asset/content@3x.png";
+ "resources/index.ts" -> "resources/asset/copy@3x.png";
+ "resources/index.ts" -> "resources/asset/downarrow@3x.png";
+ "resources/index.ts" -> "resources/asset/email-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/email@3x.png";
+ "resources/index.ts" -> "resources/asset/exit-white@3x.png";
+ "resources/index.ts" -> "resources/asset/exit@3x.png";
+ "resources/index.ts" -> "resources/asset/facebook-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/facebook@3x.png";
+ "resources/index.ts" -> "resources/asset/kakao-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/kakao@3x.png";
+ "resources/index.ts" -> "resources/asset/linking@3x.png";
+ "resources/index.ts" -> "resources/asset/logo-white-footer@3x.png";
+ "resources/index.ts" -> "resources/asset/logo@3x.png";
+ "resources/index.ts" -> "resources/asset/mark@3x.png";
+ "resources/index.ts" -> "resources/asset/menu@3x.png";
+ "resources/index.ts" -> "resources/asset/share@3x.png";
+ "resources/index.ts" -> "resources/asset/twitter-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/twitter@3x.png";
+ "routes/index.tsx" -> "common/index.ts";
+ "routes/index.tsx" -> "config/routes.tsx";
+ "routes/index.tsx" -> "pages/index.ts";
+ "templates/About/AboutPeople.tsx" -> "layouts/BothMarginWrapper.tsx";
+ "templates/About/AboutPeople.tsx" -> "layouts/ColListLayout.tsx";
+ "templates/About/index.tsx" -> "layouts/index.ts";
+ "templates/About/index.tsx" -> "templates/About/AboutPeople.tsx";
+ "templates/About/index.tsx" -> "templates/index.ts";
+ "templates/About/index.tsx" -> "utils.ts";
+ "templates/CompanyList/CompanyItem.tsx" -> "layouts/index.ts";
+ "templates/CompanyList/CompanyItem.tsx" -> "resources/index.ts";
+ "templates/CompanyList/index.tsx" -> "hooks/useCorpList.ts";
+ "templates/CompanyList/index.tsx" -> "layouts/index.ts";
+ "templates/CompanyList/index.tsx" -> "templates/CompanyList/CompanyItem.tsx";
+ "templates/CompanyList/index.tsx" -> "templates/index.ts";
+ "templates/CompanyListCard/index.tsx" -> "hooks/useCorpList.ts";
+ "templates/CompanyListCard/index.tsx" -> "layouts/index.ts";
+ "templates/Footer/components/Copyright.tsx" -> "resources/index.ts";
+ "templates/Footer/components/FooterLinkList.tsx" -> "components/RouterLink/RouterLink.tsx";
+ "templates/Footer/components/FooterLinkList.tsx" -> "config/routes.tsx";
+ "templates/Footer/components/FooterLinkList.tsx" -> "layouts/index.ts";
+ "templates/Footer/components/index.ts" -> "templates/Footer/components/Copyright.tsx";
+ "templates/Footer/components/index.ts" -> "templates/Footer/components/FooterLinkList.tsx";
+ "templates/Footer/index.tsx" -> "layouts/index.ts";
+ "templates/Footer/index.tsx" -> "templates/Footer/components/index.ts";
+ "templates/Footer/index.tsx" -> "templates/index.ts";
+ "templates/Header/index.tsx" -> "config/routes.tsx";
+ "templates/Header/index.tsx" -> "layouts/index.ts";
+ "templates/Header/index.tsx" -> "resources/index.ts";
+ "templates/NewsList/index.tsx" -> "components/index.ts";
+ "templates/NewsList/index.tsx" -> "hooks/useNewsList.ts";
+ "templates/NewsList/index.tsx" -> "layouts/index.ts";
+ "templates/NewsList/index.tsx" -> "templates/CompanyListCard/index.tsx";
+ "templates/NewsList/index.tsx" -> "templates/index.ts";
+ "templates/NewsList/index.tsx" -> "utils.ts";
+ "templates/PickCategoryList/index.tsx" -> "api/index.ts";
+ "templates/PickCategoryList/index.tsx" -> "layouts/index.ts";
+ "templates/PickNewsList/index.tsx" -> "api/index.ts";
+ "templates/PickNewsList/index.tsx" -> "layouts/index.ts";
+ "templates/PickNewsList/index.tsx" -> "templates/index.ts";
+ "templates/RecommendNewsList/index.tsx" -> "api/index.ts";
+ "templates/RecommendNewsList/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/Label.tsx" -> "resources/index.ts";
+ "templates/SelectBox/Label.tsx" -> "templates/SelectBox/SelectItemListBox/index.tsx";
+ "templates/SelectBox/Layer/index.tsx" -> "templates/SelectBox/Layer/styles.css";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "layouts/BaseLayout.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "resources/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "templates/SelectBox/SelectItemListBox/SelectItem.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "utils.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "resources/index.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/SelectBox/Layer/index.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/SelectBox/SelectItemListBox/SelectItemList.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/index.ts";
+ "templates/SelectBox/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/index.tsx" -> "templates/SelectBox/Label.tsx";
+ "templates/SocialLinkList/index.tsx" -> "config/index.ts";
+ "templates/SocialLinkList/index.tsx" -> "layouts/index.ts";
+ "templates/SubHeader/index.tsx" -> "layouts/index.ts";
+ "templates/Tabs/TabLink.tsx" -> "layouts/index.ts";
+ "templates/Tabs/index.tsx" -> "config/routes.tsx";
+ "templates/Tabs/index.tsx" -> "layouts/index.ts";
+ "templates/Tabs/index.tsx" -> "templates/Tabs/TabLink.tsx";
+ "templates/TextCard/index.tsx" -> "layouts/index.ts";
+ "templates/index.ts" -> "templates/CompanyList/index.tsx";
+ "templates/index.ts" -> "templates/CompanyListCard/index.tsx";
+ "templates/index.ts" -> "templates/Footer/index.tsx";
+ "templates/index.ts" -> "templates/Header/index.tsx";
+ "templates/index.ts" -> "templates/HorizontalDivider/index.tsx";
+ "templates/index.ts" -> "templates/NewsList/index.tsx";
+ "templates/index.ts" -> "templates/PickCategoryList/index.tsx";
+ "templates/index.ts" -> "templates/PickNewsList/index.tsx";
+ "templates/index.ts" -> "templates/RecommendNewsList/index.tsx";
+ "templates/index.ts" -> "templates/SelectBox/index.tsx";
+ "templates/index.ts" -> "templates/SocialLinkList/index.tsx";
+ "templates/index.ts" -> "templates/SubHeader/index.tsx";
+ "templates/index.ts" -> "templates/Tabs/index.tsx";
+ "templates/index.ts" -> "templates/TextCard/index.tsx";
+ "templates/index.ts" -> "templates/TextField/index.tsx";
+}
Hey @vomvoru,
Your changes look good to me!
changes to file dependencies.
File dependencies Diff
+digraph G {
+ "api/index.ts";
+ "resources/mock/linkMock.jpg";
+ "common/global.css";
+ "common/index.ts";
+ "components/ContactCard/index.tsx";
+ "layouts/index.ts";
+ "components/ExternalLink/LinkImg.tsx";
+ "components/ExternalLink/generatorGetShuffleItem.ts";
+ "utils.ts";
+ "components/ExternalLink/index.tsx";
+ "components/News/Tags.tsx";
+ "components/News/index.tsx";
+ "components/index.ts";
+ "components/PlatformListCard/index.tsx";
+ "config/index.ts";
+ "components/RouterLink/RouterLink.tsx";
+ "resources/index.ts";
+ "config/routes.tsx";
+ "hooks/useCorpList.ts";
+ "hooks/useNewsList.ts";
+ "index.tsx";
+ "routes/index.tsx";
+ "stores/index.ts";
+ "layouts/BaseLayout.tsx";
+ "layouts/BothMarginWrapper.tsx";
+ "layouts/CardSimpleLayout.tsx";
+ "layouts/Center.tsx";
+ "layouts/ColListLayout.tsx";
+ "layouts/PageLayout.tsx";
+ "layouts/RowListLayout.tsx";
+ "pages/AboutPage/index.tsx";
+ "templates/About/index.tsx";
+ "templates/index.ts";
+ "pages/CompanyNewsListPage/index.tsx";
+ "pages/CompanySelectPage/index.tsx";
+ "pages/HomePage/index.tsx";
+ "pages/index.ts";
+ "pages/IntroduceFormPage/index.tsx";
+ "templates/Button/index.tsx";
+ "pages/MenuPage/index.tsx";
+ "pages/NewsListPage/index.tsx";
+ "pages/NewsPage/index.tsx";
+ "pages/PicksPage/index.tsx";
+ "resources/asset/arrow@3x.png";
+ "resources/asset/back@3x.png";
+ "resources/asset/content@3x.png";
+ "resources/asset/copy@3x.png";
+ "resources/asset/downarrow@3x.png";
+ "resources/asset/email-blue@3x.png";
+ "resources/asset/email@3x.png";
+ "resources/asset/exit-white@3x.png";
+ "resources/asset/exit@3x.png";
+ "resources/asset/facebook-blue@3x.png";
+ "resources/asset/facebook@3x.png";
+ "resources/asset/kakao-blue@3x.png";
+ "resources/asset/kakao@3x.png";
+ "resources/asset/linking@3x.png";
+ "resources/asset/logo-white-footer@3x.png";
+ "resources/asset/logo@3x.png";
+ "resources/asset/mark@3x.png";
+ "resources/asset/menu@3x.png";
+ "resources/asset/share@3x.png";
+ "resources/asset/twitter-blue@3x.png";
+ "resources/asset/twitter@3x.png";
+ "templates/About/AboutPeople.tsx";
+ "templates/CompanyList/CompanyItem.tsx";
+ "templates/CompanyList/index.tsx";
+ "templates/CompanyListCard/index.tsx";
+ "templates/Footer/components/Copyright.tsx";
+ "templates/Footer/components/FooterLinkList.tsx";
+ "templates/Footer/components/index.ts";
+ "templates/Footer/index.tsx";
+ "templates/Header/index.tsx";
+ "templates/HorizontalDivider/index.tsx";
+ "templates/NewsList/index.tsx";
+ "templates/PickCategoryList/index.tsx";
+ "templates/PickNewsList/index.tsx";
+ "templates/RecommendNewsList/index.tsx";
+ "templates/SelectBox/Label.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx";
+ "templates/SelectBox/Layer/index.tsx";
+ "templates/SelectBox/Layer/styles.css";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx";
+ "templates/SelectBox/index.tsx";
+ "templates/SocialLinkList/index.tsx";
+ "templates/SubHeader/index.tsx";
+ "templates/Tabs/TabLink.tsx";
+ "templates/Tabs/index.tsx";
+ "templates/TextCard/index.tsx";
+ "templates/TextField/index.tsx";
+ "api/index.ts" -> "resources/mock/linkMock.jpg";
+ "common/index.ts" -> "common/global.css";
+ "components/ContactCard/index.tsx" -> "layouts/index.ts";
+ "components/ExternalLink/LinkImg.tsx" -> "components/ExternalLink/generatorGetShuffleItem.ts";
+ "components/ExternalLink/generatorGetShuffleItem.ts" -> "utils.ts";
+ "components/ExternalLink/index.tsx" -> "components/ExternalLink/LinkImg.tsx";
+ "components/ExternalLink/index.tsx" -> "layouts/index.ts";
+ "components/ExternalLink/index.tsx" -> "utils.ts";
+ "components/News/Tags.tsx" -> "layouts/index.ts";
+ "components/News/index.tsx" -> "components/News/Tags.tsx";
+ "components/News/index.tsx" -> "components/index.ts";
+ "components/News/index.tsx" -> "layouts/index.ts";
+ "components/News/index.tsx" -> "utils.ts";
+ "components/PlatformListCard/index.tsx" -> "config/index.ts";
+ "components/PlatformListCard/index.tsx" -> "layouts/index.ts";
+ "components/index.ts" -> "components/ContactCard/index.tsx";
+ "components/index.ts" -> "components/ExternalLink/index.tsx";
+ "components/index.ts" -> "components/News/index.tsx";
+ "components/index.ts" -> "components/PlatformListCard/index.tsx";
+ "config/index.ts" -> "resources/index.ts";
+ "index.tsx" -> "routes/index.tsx";
+ "index.tsx" -> "stores/index.ts";
+ "layouts/BothMarginWrapper.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/CardSimpleLayout.tsx" -> "layouts/index.ts";
+ "layouts/Center.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/ColListLayout.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/RowListLayout.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/index.ts" -> "layouts/BothMarginWrapper.tsx";
+ "layouts/index.ts" -> "layouts/CardSimpleLayout.tsx";
+ "layouts/index.ts" -> "layouts/Center.tsx";
+ "layouts/index.ts" -> "layouts/ColListLayout.tsx";
+ "layouts/index.ts" -> "layouts/PageLayout.tsx";
+ "layouts/index.ts" -> "layouts/RowListLayout.tsx";
+ "pages/AboutPage/index.tsx" -> "layouts/index.ts";
+ "pages/AboutPage/index.tsx" -> "templates/About/index.tsx";
+ "pages/AboutPage/index.tsx" -> "templates/index.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "hooks/useCorpList.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "layouts/index.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "templates/index.ts";
+ "pages/CompanySelectPage/index.tsx" -> "layouts/index.ts";
+ "pages/CompanySelectPage/index.tsx" -> "templates/index.ts";
+ "pages/HomePage/index.tsx" -> "pages/index.ts";
+ "pages/HomePage/index.tsx" -> "utils.ts";
+ "pages/IntroduceFormPage/index.tsx" -> "layouts/index.ts";
+ "pages/IntroduceFormPage/index.tsx" -> "templates/Button/index.tsx";
+ "pages/IntroduceFormPage/index.tsx" -> "templates/index.ts";
+ "pages/MenuPage/index.tsx" -> "config/routes.tsx";
+ "pages/MenuPage/index.tsx" -> "layouts/index.ts";
+ "pages/MenuPage/index.tsx" -> "resources/index.ts";
+ "pages/MenuPage/index.tsx" -> "templates/index.ts";
+ "pages/NewsListPage/index.tsx" -> "hooks/useNewsList.ts";
+ "pages/NewsListPage/index.tsx" -> "layouts/index.ts";
+ "pages/NewsListPage/index.tsx" -> "templates/index.ts";
+ "pages/NewsPage/index.tsx" -> "components/News/index.tsx";
+ "pages/NewsPage/index.tsx" -> "layouts/index.ts";
+ "pages/NewsPage/index.tsx" -> "resources/mock/linkMock.jpg";
+ "pages/NewsPage/index.tsx" -> "templates/index.ts";
+ "pages/PicksPage/index.tsx" -> "templates/index.ts";
+ "pages/index.ts" -> "pages/AboutPage/index.tsx";
+ "pages/index.ts" -> "pages/CompanyNewsListPage/index.tsx";
+ "pages/index.ts" -> "pages/CompanySelectPage/index.tsx";
+ "pages/index.ts" -> "pages/HomePage/index.tsx";
+ "pages/index.ts" -> "pages/IntroduceFormPage/index.tsx";
+ "pages/index.ts" -> "pages/MenuPage/index.tsx";
+ "pages/index.ts" -> "pages/NewsListPage/index.tsx";
+ "pages/index.ts" -> "pages/NewsPage/index.tsx";
+ "pages/index.ts" -> "pages/PicksPage/index.tsx";
+ "resources/index.ts" -> "resources/asset/arrow@3x.png";
+ "resources/index.ts" -> "resources/asset/back@3x.png";
+ "resources/index.ts" -> "resources/asset/content@3x.png";
+ "resources/index.ts" -> "resources/asset/copy@3x.png";
+ "resources/index.ts" -> "resources/asset/downarrow@3x.png";
+ "resources/index.ts" -> "resources/asset/email-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/email@3x.png";
+ "resources/index.ts" -> "resources/asset/exit-white@3x.png";
+ "resources/index.ts" -> "resources/asset/exit@3x.png";
+ "resources/index.ts" -> "resources/asset/facebook-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/facebook@3x.png";
+ "resources/index.ts" -> "resources/asset/kakao-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/kakao@3x.png";
+ "resources/index.ts" -> "resources/asset/linking@3x.png";
+ "resources/index.ts" -> "resources/asset/logo-white-footer@3x.png";
+ "resources/index.ts" -> "resources/asset/logo@3x.png";
+ "resources/index.ts" -> "resources/asset/mark@3x.png";
+ "resources/index.ts" -> "resources/asset/menu@3x.png";
+ "resources/index.ts" -> "resources/asset/share@3x.png";
+ "resources/index.ts" -> "resources/asset/twitter-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/twitter@3x.png";
+ "routes/index.tsx" -> "common/index.ts";
+ "routes/index.tsx" -> "config/routes.tsx";
+ "routes/index.tsx" -> "pages/index.ts";
+ "templates/About/AboutPeople.tsx" -> "layouts/BothMarginWrapper.tsx";
+ "templates/About/AboutPeople.tsx" -> "layouts/ColListLayout.tsx";
+ "templates/About/index.tsx" -> "layouts/index.ts";
+ "templates/About/index.tsx" -> "templates/About/AboutPeople.tsx";
+ "templates/About/index.tsx" -> "templates/index.ts";
+ "templates/About/index.tsx" -> "utils.ts";
+ "templates/CompanyList/CompanyItem.tsx" -> "layouts/index.ts";
+ "templates/CompanyList/CompanyItem.tsx" -> "resources/index.ts";
+ "templates/CompanyList/index.tsx" -> "hooks/useCorpList.ts";
+ "templates/CompanyList/index.tsx" -> "layouts/index.ts";
+ "templates/CompanyList/index.tsx" -> "templates/CompanyList/CompanyItem.tsx";
+ "templates/CompanyList/index.tsx" -> "templates/index.ts";
+ "templates/CompanyListCard/index.tsx" -> "hooks/useCorpList.ts";
+ "templates/CompanyListCard/index.tsx" -> "layouts/index.ts";
+ "templates/Footer/components/Copyright.tsx" -> "resources/index.ts";
+ "templates/Footer/components/FooterLinkList.tsx" -> "components/RouterLink/RouterLink.tsx";
+ "templates/Footer/components/FooterLinkList.tsx" -> "config/routes.tsx";
+ "templates/Footer/components/FooterLinkList.tsx" -> "layouts/index.ts";
+ "templates/Footer/components/index.ts" -> "templates/Footer/components/Copyright.tsx";
+ "templates/Footer/components/index.ts" -> "templates/Footer/components/FooterLinkList.tsx";
+ "templates/Footer/index.tsx" -> "layouts/index.ts";
+ "templates/Footer/index.tsx" -> "templates/Footer/components/index.ts";
+ "templates/Footer/index.tsx" -> "templates/index.ts";
+ "templates/Header/index.tsx" -> "config/routes.tsx";
+ "templates/Header/index.tsx" -> "layouts/index.ts";
+ "templates/Header/index.tsx" -> "resources/index.ts";
+ "templates/NewsList/index.tsx" -> "components/index.ts";
+ "templates/NewsList/index.tsx" -> "hooks/useNewsList.ts";
+ "templates/NewsList/index.tsx" -> "layouts/index.ts";
+ "templates/NewsList/index.tsx" -> "templates/CompanyListCard/index.tsx";
+ "templates/NewsList/index.tsx" -> "templates/index.ts";
+ "templates/NewsList/index.tsx" -> "utils.ts";
+ "templates/PickCategoryList/index.tsx" -> "api/index.ts";
+ "templates/PickCategoryList/index.tsx" -> "layouts/index.ts";
+ "templates/PickNewsList/index.tsx" -> "api/index.ts";
+ "templates/PickNewsList/index.tsx" -> "layouts/index.ts";
+ "templates/PickNewsList/index.tsx" -> "templates/index.ts";
+ "templates/RecommendNewsList/index.tsx" -> "api/index.ts";
+ "templates/RecommendNewsList/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/Label.tsx" -> "resources/index.ts";
+ "templates/SelectBox/Label.tsx" -> "templates/SelectBox/SelectItemListBox/index.tsx";
+ "templates/SelectBox/Layer/index.tsx" -> "templates/SelectBox/Layer/styles.css";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "layouts/BaseLayout.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "resources/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "templates/SelectBox/SelectItemListBox/SelectItem.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "utils.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "resources/index.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/SelectBox/Layer/index.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/SelectBox/SelectItemListBox/SelectItemList.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/index.ts";
+ "templates/SelectBox/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/index.tsx" -> "templates/SelectBox/Label.tsx";
+ "templates/SocialLinkList/index.tsx" -> "config/index.ts";
+ "templates/SocialLinkList/index.tsx" -> "layouts/index.ts";
+ "templates/SubHeader/index.tsx" -> "layouts/index.ts";
+ "templates/Tabs/TabLink.tsx" -> "layouts/index.ts";
+ "templates/Tabs/index.tsx" -> "config/routes.tsx";
+ "templates/Tabs/index.tsx" -> "layouts/index.ts";
+ "templates/Tabs/index.tsx" -> "templates/Tabs/TabLink.tsx";
+ "templates/TextCard/index.tsx" -> "layouts/index.ts";
+ "templates/index.ts" -> "templates/CompanyList/index.tsx";
+ "templates/index.ts" -> "templates/CompanyListCard/index.tsx";
+ "templates/index.ts" -> "templates/Footer/index.tsx";
+ "templates/index.ts" -> "templates/Header/index.tsx";
+ "templates/index.ts" -> "templates/HorizontalDivider/index.tsx";
+ "templates/index.ts" -> "templates/NewsList/index.tsx";
+ "templates/index.ts" -> "templates/PickCategoryList/index.tsx";
+ "templates/index.ts" -> "templates/PickNewsList/index.tsx";
+ "templates/index.ts" -> "templates/RecommendNewsList/index.tsx";
+ "templates/index.ts" -> "templates/SelectBox/index.tsx";
+ "templates/index.ts" -> "templates/SocialLinkList/index.tsx";
+ "templates/index.ts" -> "templates/SubHeader/index.tsx";
+ "templates/index.ts" -> "templates/Tabs/index.tsx";
+ "templates/index.ts" -> "templates/TextCard/index.tsx";
+ "templates/index.ts" -> "templates/TextField/index.tsx";
+}
Hey @vomvoru,
Your changes look good to me!
changes to copy/paste analytic.
Orgin copy/paste analytic
New copy/paste analytic
Format | Files analyzed | Total lines | Clones found | Duplicated lines | % |
---|---|---|---|---|---|
tsx | 53 | 2826 | 3 | 45 | 1.59 |
javascript | 38 | 646 | 0 | 0 | 0 |
typescript | 20 | 950 | 7 | 104 | 10.95 |
css | 1 | 7 | 0 | 0 | 0 |
Total | 112 | 4429 | 10 | 149 | 3.36 |
Clone found (typescript): - [src/api/index.ts#L47-L63](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L47-L63) [src/api/index.ts#L16-L32](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L16-L32) Clone found (typescript): - [src/api/index.ts#L93-L107](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L93-L107) [src/api/index.ts#L76-L90](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L76-L90) Clone found (typescript): - [src/api/index.ts#L113-L130](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L113-L130) [src/api/index.ts#L76-L93](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L76-L93) Clone found (typescript): - [src/api/index.ts#L128-L141](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L128-L141) [src/api/index.ts#L111-L87](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L111-L87) Clone found (typescript): - [src/api/index.ts#L143-L159](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L143-L159) [src/api/index.ts#L127-L143](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L127-L143) Clone found (typescript): - [src/hooks/useNewsList.ts#L72-L83](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useNewsList.ts#L72-L83) [src/hooks/useCorpList.ts#L39-L50](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useCorpList.ts#L39-L50) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L5-L24](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L5-L24) [src/layouts/ColListLayout.tsx#L6-L24](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L6-L24) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L76-L87](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L76-L87) [src/layouts/ColListLayout.tsx#L47-L58](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L47-L58) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L92-L107](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L92-L107) [src/layouts/ColListLayout.tsx#L63-L78](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L63-L78) Clone found (typescript): - [src/services/newsService/api/types.ts#L16-L33](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/services/newsService/api/types.ts#L16-L33) [src/hooks/useNewsList.ts#L24-L41](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useNewsList.ts#L24-L41)
Hey @vomvoru, Something went wrong with the build.
TravisCI finished with status errored
, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
Hey @vomvoru, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.
changes to file dependencies.
File dependencies Diff
+digraph G {
+ "api/index.ts";
+ "resources/mock/linkMock.jpg";
+ "common/global.css";
+ "common/index.ts";
+ "components/ContactCard/index.tsx";
+ "layouts/index.ts";
+ "components/ExternalLink/LinkImg.tsx";
+ "components/ExternalLink/generatorGetShuffleItem.ts";
+ "utils.ts";
+ "components/ExternalLink/index.tsx";
+ "components/News/Tags.tsx";
+ "components/News/index.tsx";
+ "components/index.ts";
+ "components/PlatformListCard/index.tsx";
+ "config/index.ts";
+ "components/RouterLink/RouterLink.tsx";
+ "resources/index.ts";
+ "config/routes.tsx";
+ "hooks/useCorpList.ts";
+ "hooks/useNewsList.ts";
+ "index.tsx";
+ "routes/index.tsx";
+ "stores/index.ts";
+ "layouts/BaseLayout.tsx";
+ "layouts/BothMarginWrapper.tsx";
+ "layouts/CardSimpleLayout.tsx";
+ "layouts/Center.tsx";
+ "layouts/ColListLayout.tsx";
+ "layouts/PageLayout.tsx";
+ "layouts/RowListLayout.tsx";
+ "pages/AboutPage/index.tsx";
+ "templates/About/index.tsx";
+ "templates/index.ts";
+ "pages/CompanyNewsListPage/index.tsx";
+ "pages/CompanySelectPage/index.tsx";
+ "pages/HomePage/index.tsx";
+ "pages/index.ts";
+ "pages/IntroduceFormPage/index.tsx";
+ "templates/Button/index.tsx";
+ "pages/MenuPage/index.tsx";
+ "pages/NewsListPage/index.tsx";
+ "pages/NewsPage/index.tsx";
+ "pages/PicksPage/index.tsx";
+ "resources/asset/arrow@3x.png";
+ "resources/asset/back@3x.png";
+ "resources/asset/content@3x.png";
+ "resources/asset/copy@3x.png";
+ "resources/asset/downarrow@3x.png";
+ "resources/asset/email-blue@3x.png";
+ "resources/asset/email@3x.png";
+ "resources/asset/exit-white@3x.png";
+ "resources/asset/exit@3x.png";
+ "resources/asset/facebook-blue@3x.png";
+ "resources/asset/facebook@3x.png";
+ "resources/asset/kakao-blue@3x.png";
+ "resources/asset/kakao@3x.png";
+ "resources/asset/linking@3x.png";
+ "resources/asset/logo-white-footer@3x.png";
+ "resources/asset/logo@3x.png";
+ "resources/asset/mark@3x.png";
+ "resources/asset/menu@3x.png";
+ "resources/asset/share@3x.png";
+ "resources/asset/twitter-blue@3x.png";
+ "resources/asset/twitter@3x.png";
+ "templates/About/AboutPeople.tsx";
+ "templates/CompanyList/CompanyItem.tsx";
+ "templates/CompanyList/index.tsx";
+ "templates/CompanyListCard/index.tsx";
+ "templates/Footer/components/Copyright.tsx";
+ "templates/Footer/components/FooterLinkList.tsx";
+ "templates/Footer/components/index.ts";
+ "templates/Footer/index.tsx";
+ "templates/Header/index.tsx";
+ "templates/HorizontalDivider/index.tsx";
+ "templates/NewsList/index.tsx";
+ "templates/PickCategoryList/index.tsx";
+ "templates/PickNewsList/index.tsx";
+ "templates/RecommendNewsList/index.tsx";
+ "templates/SelectBox/Label.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx";
+ "templates/SelectBox/Layer/index.tsx";
+ "templates/SelectBox/Layer/styles.css";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx";
+ "templates/SelectBox/index.tsx";
+ "templates/SocialLinkList/index.tsx";
+ "templates/SubHeader/index.tsx";
+ "templates/Tabs/TabLink.tsx";
+ "templates/Tabs/index.tsx";
+ "templates/TextCard/index.tsx";
+ "templates/TextField/index.tsx";
+ "api/index.ts" -> "resources/mock/linkMock.jpg";
+ "common/index.ts" -> "common/global.css";
+ "components/ContactCard/index.tsx" -> "layouts/index.ts";
+ "components/ExternalLink/LinkImg.tsx" -> "components/ExternalLink/generatorGetShuffleItem.ts";
+ "components/ExternalLink/generatorGetShuffleItem.ts" -> "utils.ts";
+ "components/ExternalLink/index.tsx" -> "components/ExternalLink/LinkImg.tsx";
+ "components/ExternalLink/index.tsx" -> "layouts/index.ts";
+ "components/ExternalLink/index.tsx" -> "utils.ts";
+ "components/News/Tags.tsx" -> "layouts/index.ts";
+ "components/News/index.tsx" -> "components/News/Tags.tsx";
+ "components/News/index.tsx" -> "components/index.ts";
+ "components/News/index.tsx" -> "layouts/index.ts";
+ "components/News/index.tsx" -> "utils.ts";
+ "components/PlatformListCard/index.tsx" -> "config/index.ts";
+ "components/PlatformListCard/index.tsx" -> "layouts/index.ts";
+ "components/index.ts" -> "components/ContactCard/index.tsx";
+ "components/index.ts" -> "components/ExternalLink/index.tsx";
+ "components/index.ts" -> "components/News/index.tsx";
+ "components/index.ts" -> "components/PlatformListCard/index.tsx";
+ "config/index.ts" -> "resources/index.ts";
+ "index.tsx" -> "routes/index.tsx";
+ "index.tsx" -> "stores/index.ts";
+ "layouts/BothMarginWrapper.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/CardSimpleLayout.tsx" -> "layouts/index.ts";
+ "layouts/Center.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/ColListLayout.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/RowListLayout.tsx" -> "layouts/BaseLayout.tsx";
+ "layouts/index.ts" -> "layouts/BothMarginWrapper.tsx";
+ "layouts/index.ts" -> "layouts/CardSimpleLayout.tsx";
+ "layouts/index.ts" -> "layouts/Center.tsx";
+ "layouts/index.ts" -> "layouts/ColListLayout.tsx";
+ "layouts/index.ts" -> "layouts/PageLayout.tsx";
+ "layouts/index.ts" -> "layouts/RowListLayout.tsx";
+ "pages/AboutPage/index.tsx" -> "layouts/index.ts";
+ "pages/AboutPage/index.tsx" -> "templates/About/index.tsx";
+ "pages/AboutPage/index.tsx" -> "templates/index.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "hooks/useCorpList.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "layouts/index.ts";
+ "pages/CompanyNewsListPage/index.tsx" -> "templates/index.ts";
+ "pages/CompanySelectPage/index.tsx" -> "layouts/index.ts";
+ "pages/CompanySelectPage/index.tsx" -> "templates/index.ts";
+ "pages/HomePage/index.tsx" -> "pages/index.ts";
+ "pages/HomePage/index.tsx" -> "utils.ts";
+ "pages/IntroduceFormPage/index.tsx" -> "layouts/index.ts";
+ "pages/IntroduceFormPage/index.tsx" -> "templates/Button/index.tsx";
+ "pages/IntroduceFormPage/index.tsx" -> "templates/index.ts";
+ "pages/MenuPage/index.tsx" -> "config/routes.tsx";
+ "pages/MenuPage/index.tsx" -> "layouts/index.ts";
+ "pages/MenuPage/index.tsx" -> "resources/index.ts";
+ "pages/MenuPage/index.tsx" -> "templates/index.ts";
+ "pages/NewsListPage/index.tsx" -> "hooks/useNewsList.ts";
+ "pages/NewsListPage/index.tsx" -> "layouts/index.ts";
+ "pages/NewsListPage/index.tsx" -> "templates/index.ts";
+ "pages/NewsPage/index.tsx" -> "components/News/index.tsx";
+ "pages/NewsPage/index.tsx" -> "layouts/index.ts";
+ "pages/NewsPage/index.tsx" -> "resources/mock/linkMock.jpg";
+ "pages/NewsPage/index.tsx" -> "templates/index.ts";
+ "pages/PicksPage/index.tsx" -> "templates/index.ts";
+ "pages/index.ts" -> "pages/AboutPage/index.tsx";
+ "pages/index.ts" -> "pages/CompanyNewsListPage/index.tsx";
+ "pages/index.ts" -> "pages/CompanySelectPage/index.tsx";
+ "pages/index.ts" -> "pages/HomePage/index.tsx";
+ "pages/index.ts" -> "pages/IntroduceFormPage/index.tsx";
+ "pages/index.ts" -> "pages/MenuPage/index.tsx";
+ "pages/index.ts" -> "pages/NewsListPage/index.tsx";
+ "pages/index.ts" -> "pages/NewsPage/index.tsx";
+ "pages/index.ts" -> "pages/PicksPage/index.tsx";
+ "resources/index.ts" -> "resources/asset/arrow@3x.png";
+ "resources/index.ts" -> "resources/asset/back@3x.png";
+ "resources/index.ts" -> "resources/asset/content@3x.png";
+ "resources/index.ts" -> "resources/asset/copy@3x.png";
+ "resources/index.ts" -> "resources/asset/downarrow@3x.png";
+ "resources/index.ts" -> "resources/asset/email-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/email@3x.png";
+ "resources/index.ts" -> "resources/asset/exit-white@3x.png";
+ "resources/index.ts" -> "resources/asset/exit@3x.png";
+ "resources/index.ts" -> "resources/asset/facebook-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/facebook@3x.png";
+ "resources/index.ts" -> "resources/asset/kakao-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/kakao@3x.png";
+ "resources/index.ts" -> "resources/asset/linking@3x.png";
+ "resources/index.ts" -> "resources/asset/logo-white-footer@3x.png";
+ "resources/index.ts" -> "resources/asset/logo@3x.png";
+ "resources/index.ts" -> "resources/asset/mark@3x.png";
+ "resources/index.ts" -> "resources/asset/menu@3x.png";
+ "resources/index.ts" -> "resources/asset/share@3x.png";
+ "resources/index.ts" -> "resources/asset/twitter-blue@3x.png";
+ "resources/index.ts" -> "resources/asset/twitter@3x.png";
+ "routes/index.tsx" -> "common/index.ts";
+ "routes/index.tsx" -> "config/routes.tsx";
+ "routes/index.tsx" -> "pages/index.ts";
+ "templates/About/AboutPeople.tsx" -> "layouts/BothMarginWrapper.tsx";
+ "templates/About/AboutPeople.tsx" -> "layouts/ColListLayout.tsx";
+ "templates/About/index.tsx" -> "layouts/index.ts";
+ "templates/About/index.tsx" -> "templates/About/AboutPeople.tsx";
+ "templates/About/index.tsx" -> "templates/index.ts";
+ "templates/About/index.tsx" -> "utils.ts";
+ "templates/CompanyList/CompanyItem.tsx" -> "layouts/index.ts";
+ "templates/CompanyList/CompanyItem.tsx" -> "resources/index.ts";
+ "templates/CompanyList/index.tsx" -> "hooks/useCorpList.ts";
+ "templates/CompanyList/index.tsx" -> "layouts/index.ts";
+ "templates/CompanyList/index.tsx" -> "templates/CompanyList/CompanyItem.tsx";
+ "templates/CompanyList/index.tsx" -> "templates/index.ts";
+ "templates/CompanyListCard/index.tsx" -> "hooks/useCorpList.ts";
+ "templates/CompanyListCard/index.tsx" -> "layouts/index.ts";
+ "templates/Footer/components/Copyright.tsx" -> "resources/index.ts";
+ "templates/Footer/components/FooterLinkList.tsx" -> "components/RouterLink/RouterLink.tsx";
+ "templates/Footer/components/FooterLinkList.tsx" -> "config/routes.tsx";
+ "templates/Footer/components/FooterLinkList.tsx" -> "layouts/index.ts";
+ "templates/Footer/components/index.ts" -> "templates/Footer/components/Copyright.tsx";
+ "templates/Footer/components/index.ts" -> "templates/Footer/components/FooterLinkList.tsx";
+ "templates/Footer/index.tsx" -> "layouts/index.ts";
+ "templates/Footer/index.tsx" -> "templates/Footer/components/index.ts";
+ "templates/Footer/index.tsx" -> "templates/index.ts";
+ "templates/Header/index.tsx" -> "config/routes.tsx";
+ "templates/Header/index.tsx" -> "layouts/index.ts";
+ "templates/Header/index.tsx" -> "resources/index.ts";
+ "templates/NewsList/index.tsx" -> "components/index.ts";
+ "templates/NewsList/index.tsx" -> "hooks/useNewsList.ts";
+ "templates/NewsList/index.tsx" -> "layouts/index.ts";
+ "templates/NewsList/index.tsx" -> "templates/CompanyListCard/index.tsx";
+ "templates/NewsList/index.tsx" -> "templates/index.ts";
+ "templates/NewsList/index.tsx" -> "utils.ts";
+ "templates/PickCategoryList/index.tsx" -> "api/index.ts";
+ "templates/PickCategoryList/index.tsx" -> "layouts/index.ts";
+ "templates/PickNewsList/index.tsx" -> "api/index.ts";
+ "templates/PickNewsList/index.tsx" -> "layouts/index.ts";
+ "templates/PickNewsList/index.tsx" -> "templates/index.ts";
+ "templates/RecommendNewsList/index.tsx" -> "api/index.ts";
+ "templates/RecommendNewsList/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/Label.tsx" -> "resources/index.ts";
+ "templates/SelectBox/Label.tsx" -> "templates/SelectBox/SelectItemListBox/index.tsx";
+ "templates/SelectBox/Layer/index.tsx" -> "templates/SelectBox/Layer/styles.css";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "layouts/BaseLayout.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItem.tsx" -> "resources/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "templates/SelectBox/SelectItemListBox/SelectItem.tsx";
+ "templates/SelectBox/SelectItemListBox/SelectItemList.tsx" -> "utils.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "resources/index.ts";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/SelectBox/Layer/index.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/SelectBox/SelectItemListBox/SelectItemList.tsx";
+ "templates/SelectBox/SelectItemListBox/index.tsx" -> "templates/index.ts";
+ "templates/SelectBox/index.tsx" -> "layouts/index.ts";
+ "templates/SelectBox/index.tsx" -> "templates/SelectBox/Label.tsx";
+ "templates/SocialLinkList/index.tsx" -> "config/index.ts";
+ "templates/SocialLinkList/index.tsx" -> "layouts/index.ts";
+ "templates/SubHeader/index.tsx" -> "layouts/index.ts";
+ "templates/Tabs/TabLink.tsx" -> "layouts/index.ts";
+ "templates/Tabs/index.tsx" -> "config/routes.tsx";
+ "templates/Tabs/index.tsx" -> "layouts/index.ts";
+ "templates/Tabs/index.tsx" -> "templates/Tabs/TabLink.tsx";
+ "templates/TextCard/index.tsx" -> "layouts/index.ts";
+ "templates/index.ts" -> "templates/CompanyList/index.tsx";
+ "templates/index.ts" -> "templates/CompanyListCard/index.tsx";
+ "templates/index.ts" -> "templates/Footer/index.tsx";
+ "templates/index.ts" -> "templates/Header/index.tsx";
+ "templates/index.ts" -> "templates/HorizontalDivider/index.tsx";
+ "templates/index.ts" -> "templates/NewsList/index.tsx";
+ "templates/index.ts" -> "templates/PickCategoryList/index.tsx";
+ "templates/index.ts" -> "templates/PickNewsList/index.tsx";
+ "templates/index.ts" -> "templates/RecommendNewsList/index.tsx";
+ "templates/index.ts" -> "templates/SelectBox/index.tsx";
+ "templates/index.ts" -> "templates/SocialLinkList/index.tsx";
+ "templates/index.ts" -> "templates/SubHeader/index.tsx";
+ "templates/index.ts" -> "templates/Tabs/index.tsx";
+ "templates/index.ts" -> "templates/TextCard/index.tsx";
+ "templates/index.ts" -> "templates/TextField/index.tsx";
+}
changes to copy/paste analytic.
Orgin copy/paste analytic
New copy/paste analytic
Format | Files analyzed | Total lines | Clones found | Duplicated lines | % |
---|---|---|---|---|---|
tsx | 53 | 2717 | 3 | 50 | 1.84 |
javascript | 38 | 626 | 0 | 0 | 0 |
typescript | 20 | 904 | 7 | 84 | 9.29 |
css | 1 | 7 | 0 | 0 | 0 |
Total | 112 | 4254 | 10 | 134 | 3.15 |
Clone found (typescript): - [src/api/index.ts#L41-L53](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L41-L53) [src/api/index.ts#L16-L28](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L16-L28) Clone found (typescript): - [src/api/index.ts#L77-L87](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L77-L87) [src/api/index.ts#L64-L74](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L64-L74) Clone found (typescript): - [src/api/index.ts#L93-L106](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L93-L106) [src/api/index.ts#L64-L77](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L64-L77) Clone found (typescript): - [src/api/index.ts#L104-L113](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L104-L113) [src/api/index.ts#L91-L71](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L91-L71) Clone found (typescript): - [src/api/index.ts#L115-L127](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L115-L127) [src/api/index.ts#L103-L115](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/api/index.ts#L103-L115) Clone found (typescript): - [src/hooks/useNewsList.ts#L65-L76](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useNewsList.ts#L65-L76) [src/hooks/useCorpList.ts#L39-L50](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useCorpList.ts#L39-L50) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L3-L25](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L3-L25) [src/layouts/ColListLayout.tsx#L3-L24](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L3-L24) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L72-L85](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L72-L85) [src/layouts/ColListLayout.tsx#L45-L58](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L45-L58) Clone found (tsx): - [src/layouts/RowListLayout.tsx#L90-L105](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/RowListLayout.tsx#L90-L105) [src/layouts/ColListLayout.tsx#L63-L78](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/layouts/ColListLayout.tsx#L63-L78) Clone found (typescript): - [src/services/newsService/api/types.ts#L16-L33](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/services/newsService/api/types.ts#L16-L33) [src/hooks/useNewsList.ts#L24-L41](https://github.com/snack-news/Snack-FE/blob/madge-github-bot/src/hooks/useNewsList.ts#L24-L41)
Hey @vomvoru, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.
changes to file dependencies.
File dependencies Diff
viewer viewer (changed)