== bin/development.ts (4 issues) ==
20-106: Function startServer
has 56 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
40-50: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
52-62: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
64-74: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== coverage/lcov-report/block-navigation.js (2 issues) ==
2-78: Function init
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
2-78: Function init
has 57 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== coverage/lcov-report/sorter.js (3 issues) ==
2-168: Function addSorting
has a Cognitive Complexity of 38 (exceeds 5 allowed). Consider refactoring. [structure]
2-168: Function addSorting
has 138 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
126-157: Function enableUI
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== lintChangedFiles.js (2 issues) == 43-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 45-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/AccountModal/tests/reducer-test.js (2 issues) == 32-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/AccountModal/components/AccountForm.tsx (2 issues) ==
8-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
63-110: Function render
has 45 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/AccountModal/components/tests/AccountForm-test.js (1 issue) == 93-96: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/AccountModal/components/tests/AccountModal-test.js (2 issues) == 39-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/AccountModal/container.ts (1 issue) == 9-13: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/AccountModal/thunks.ts (1 issue) ==
28-51: Function submitAccountForm
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/large/App/App.tsx (2 issues) == 48-63: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 75-86: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/App/Error.tsx (2 issues) == 6-10: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 12-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/App/tests/Error.dev-test.jest.js (1 issue) == 9-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/large/App/tests/Error.prod-test.jest.js (1 issue) == 9-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/App/tests/Error.qa-test.jest.js (1 issue) == 9-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/large/App/tests/Error.review-test.jest.js (1 issue) == 9-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/large/AvailabilityUnknown/tests/AvailabilityUnknown-test.js (1 issue) == 7-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/DiamondMax/components/DiamondMax.tsx (1 issue) ==
38-104: Function render
has 64 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/DiamondMax/components/DiamondMaxListing.tsx (2 issues) ==
81-114: Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
95-97: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/DiamondMax/components/ListingOverlay.tsx (3 issues) ==
29-62: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
30-40: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
44-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/DiamondMax/components/tests/DiamondMax-test.js (2 issues) == 36-39: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 51-54: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/DiamondMax/components/tests/DiamondMaxListing-test.js (6 issues) == 30-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 37-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-49: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 64-69: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 71-76: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 78-83: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/DiamondMax/components/tests/ListingOverlay-test.js (1 issue) == 52-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartments/tests/selector-test.js (1 issue) == 3-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartments/components/FindApartments.tsx (3 issues) ==
32-63: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
41-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
51-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartments/components/tests/FindApartments-test.js (4 issues) == 7-24: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 26-43: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 65-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 75-83: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartments/selectors.tsx (1 issue) == 13-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsModal/tests/reducer-test.js (2 issues) == 34-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 56-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsModal/tests/thunks-test.js (5 issues) == 45-54: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 66-75: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 77-86: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 88-97: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 99-108: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsModal/components/tests/FindApartmentsModal-test.js (1 issue) == 26-29: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsModal/containers/NearbyCitiesModal.js (1 issue) == 12-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsModal/containers/NearbyHoodsModal.js (1 issue) == 26-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsSEOLinks/components/ClampedList.tsx (1 issue) == 20-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsSEOLinks/components/FindApartmentsSEOLinks.tsx (2 issues) ==
33-92: Function render
has 57 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
34-43: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/large/FindApartmentsSEOLinks/components/LineClamp.tsx (1 issue) ==
76-106: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/FloorplanModal/tests/reducer-test.js (2 issues) == 10-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FloorplanModal/components/FloorplanModal.js (1 issue) ==
41-130: Function render
has 86 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/FloorplanModal/components/tests/FloorplanModal-test.js (3 issues) == 26-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 117-122: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 130-133: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FloorplanModal/container.ts (1 issue) ==
55-99: Function mapStateToProps
has 39 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Floorplans/Unit.js (1 issue) == 55-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Floorplans/UnitList.tsx (3 issues) == 22-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 33-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 55-60: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Floorplans/tests/Floorplan-test.js (6 issues) == 34-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 64-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 89-92: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 135-138: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Floorplans/tests/Unit-test.js (1 issue) == 55-59: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Floorplans/tests/UnitList-test.js (3 issues) == 31-33: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 60-62: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 75-77: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/tests/actions-test.js (9 issues) == 38-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 54-60: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 62-68: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 70-76: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 89-95: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 97-103: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 105-111: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 114-119: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/tests/reducer-test.js (10 issues) == 18-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 27-33: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 35-41: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 43-49: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 51-57: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 59-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 87-91: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 106-112: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 114-120: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 134-140: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/components/DrawSearchButton.tsx (1 issue) ==
22-59: Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/FreeDraw/components/FreeDraw.tsx (2 issues) ==
137-182: Function render
has 42 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
138-149: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/components/FreeDrawBanner.tsx (1 issue) ==
13-56: Function render
has 40 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/FreeDraw/components/tests/DrawSearchButton-test.js (1 issue) == 36-39: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/components/tests/FreeDraw-test.js (6 issues) ==
1-285: File FreeDraw-test.js
has 256 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
24-27: Similar blocks of code found in 15 locations. Consider refactoring. [duplication]
29-32: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
34-37: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
47-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
56-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/reducer.ts (1 issue) == 55-62: Consider simplifying this complex logical expression. [structure]
== src/apps/large/FreeDraw/selectors/tests/freeDraw-test.js (3 issues) == 78-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 88-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 92-94: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/FreeDraw/selectors/freeDraw.ts (1 issue) == 88-95: Consider simplifying this complex logical expression. [structure]
== src/apps/large/GridViewHeader/tests/GridViewHeader-test.js (2 issues) == 18-21: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 23-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/HdMediaModal/tests/HdTourModal-test.js (1 issue) == 45-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/HdMediaModal/tests/HdVideoModal-test.js (1 issue) == 51-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/HdMediaModal/tests/selectors-test.js (2 issues) == 17-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 34-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/HdMediaModal/components/HdMediaModal.tsx (1 issue) ==
25-58: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/HdMediaModal/components/tests/HdMediaModal-test.js (6 issues) == 30-34: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 36-40: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-72: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 74-77: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 79-82: Similar blocks of code found in 26 locations. Consider refactoring. [duplication]
== src/apps/large/Home/components/tests/Home-test.js (2 issues) == 18-21: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 23-26: Similar blocks of code found in 15 locations. Consider refactoring. [duplication]
== src/apps/large/Home/components/tests/HomePageTitle-test.js (1 issue) == 7-12: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/large/Layout/Layout.tsx (1 issue) ==
41-110: Function AppLayout
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/large/Layout/SRPLayout.tsx (2 issues) ==
40-110: Function SRPLayout
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
40-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Layout/tests/Layout-test.js (11 issues) == 22-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 58-61: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 77-80: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 82-85: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 87-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 94-97: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 99-102: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 104-107: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 109-112: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/Layout/tests/SRPLayout-test.js (5 issues) == 54-57: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 59-62: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 64-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 87-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 98-101: Similar blocks of code found in 26 locations. Consider refactoring. [duplication]
== src/apps/large/LeadFormSidebar/tests/LeadFormSidebar-test.js (2 issues) == 41-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LeadModal/LeadModal.tsx (3 issues) ==
33-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
59-121: Function render
has 59 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
60-69: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/large/LeadModal/tests/LeadModal-test.js (6 issues) == 29-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 62-65: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 67-70: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 87-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 92-95: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LeadModal/tests/LifeStyleText-test.js (1 issue) == 12-15: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/large/LeadSuccessModal/LeadSuccessModal.tsx (2 issues) ==
18-47: Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
19-27: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/large/LeadSuccessModal/PostLead.tsx (1 issue) == 18-41: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/LeadSuccessModal/RecommendedListings.tsx (1 issue) ==
15-44: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/ListingCards/FullWidthEntryPoint/BasicListingCard/BasicListingCard.tsx (1 issue) ==
57-87: Function renderInfo
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/ListingCards/FullWidthEntryPoint/BasicListingCard/tests/BasicListingCard-test.js (2 issues) == 9-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 34-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/FullWidthEntryPoint/FullWidthConnected.ts (1 issue) ==
41-99: Function mapStateToProps
has 54 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/ListingCards/FullWidthEntryPoint/FullWidthListingCard.tsx (13 issues) ==
1-343: File FullWidthListingCard.tsx
has 290 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
50-88: Function renderBanners
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
95-100: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
119-151: Function renderCardFooter
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
163-199: Function renderRightColumn
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
205-215: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
217-263: Function listing
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
218-231: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
234-247: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
265-268: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
270-274: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
282-333: Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
283-294: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/FullWidthEntryPoint/LovelyListingCard/tests/LovelyListingCard-test.js (2 issues) == 9-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 34-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/FullWidthEntryPoint/PricingAndAvailability/components/MultipleUnits.tsx (2 issues) ==
23-64: Function render
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
24-32: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/FullWidthEntryPoint/PricingAndAvailability/components/tests/PricingAndAvailability-test.js (7 issues) == 14-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 121-124: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 126-129: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 131-134: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 174-177: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 224-227: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/FullWidthEntryPoint/tests/FullWidthConnected-test.js (1 issue) == 5-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/FullWidthEntryPoint/tests/FullWidthListingCard-test.js (4 issues) == 50-55: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 74-78: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 80-84: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 86-90: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/GridEntryPoint/tests/container-test.js (1 issue) == 5-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/GridEntryPoint/components/GridListingCard.tsx (1 issue) ==
56-102: Function renderInfo
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/ListingCards/GridEntryPoint/components/ListingCard.tsx (8 issues) ==
41-90: Function listing
has 46 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
42-56: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
76-89: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
92-126: Function ctaButton
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
152-162: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
164-167: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
169-173: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
175-248: Function render
has 67 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/ListingCards/GridEntryPoint/components/tests/GridListingCard-test.js (1 issue) == 137-143: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/GridEntryPoint/components/tests/ListingCard-test.js (1 issue) == 85-96: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/ListingCards/GridEntryPoint/container.ts (1 issue) ==
45-110: Function makeMapStateToProps
has 61 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/ListingPopup/Card.tsx (2 issues) == 176-191: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 179-191: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingPopup/Popup.tsx (4 issues) ==
67-113: Function adjustInfoWindow
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
67-113: Function adjustInfoWindow
has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring. [structure]
94-103: Consider simplifying this complex logical expression. [structure]
94-103: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingPopup/tests/Card-test.js (2 issues) == 15-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 22-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/ListingPopup/tests/MapPinListing-test.js (1 issue) == 68-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/LocalGuideButton/LocalGuideButton.tsx (1 issue) == 19-22: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/LocalGuideHeader/LocalGuideHeader.tsx (1 issue) == 23-26: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/LocalGuideHeader/tests/LocalGuideHeader-test.js (2 issues) == 28-45: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 63-106: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/PointsOfInterest/PointsOfInterest.tsx (7 issues) ==
37-43: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
53-61: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
63-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
79-196: Function render
has 103 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
135-144: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
162-187: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
177-186: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/PointsOfInterest/PointsOfInterestConnected.ts (1 issue) == 10-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/PointsOfInterest/TempPointsOfInterest.tsx (5 issues) ==
36-42: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
44-52: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
54-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
70-124: Function render
has 48 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
102-115: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/PointsOfInterest/tests/PointsOfInterest-test.js (4 issues) == 9-21: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 29-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-38: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/LocalGuideBIC/PointsOfInterest/tests/TempPointsOfInterest-test.js (5 issues) == 9-21: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 29-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-38: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 45-48: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LocationReviewPage/components/tests/LocationReviewPage-test.js (1 issue) == 7-10: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/OAuth.ts (1 issue) == 1-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/FormManager.tsx (2 issues) ==
65-81: Function componentDidUpdate
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
114-119: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/LoginButton.tsx (1 issue) == 11-29: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/PropertyManagerForm.tsx (2 issues) ==
10-39: Function PropertyManagerForm
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
31-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/tests/ConfirmPasswordForm-test.js (2 issues) == 18-23: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 25-30: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/tests/LoginForm-test.js (2 issues) == 25-30: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 32-37: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/tests/LoginModal-test.js (1 issue) == 16-19: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/tests/ResetPasswordForm-test.js (1 issue) == 18-23: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/forms/ConfirmPasswordForm.tsx (4 issues) ==
36-43: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
45-53: Identical blocks of code found in 6 locations. Consider refactoring. [duplication]
83-146: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
83-146: Function render
has 59 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/LoginModal/components/forms/LoginForm.tsx (8 issues) ==
25-35: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
42-52: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
54-62: Identical blocks of code found in 6 locations. Consider refactoring. [duplication]
68-81: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
83-91: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
93-213: Function render
has 110 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
104-119: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
121-212: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/components/forms/ResetPasswordForm.tsx (6 issues) == 11-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 33-39: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 49-51: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 63-71: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 81-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 114-134: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/LoginModal/formManagerContainer.ts (1 issue) == 34-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/MapKey/MapKey.tsx (5 issues) ==
16-70: Function renderExpandedMapKey
has 53 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
21-30: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
31-40: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
41-50: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
51-60: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/Menu/HamburgerMenuConnected.tsx (1 issue) == 10-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Menu/Menu.tsx (5 issues) ==
21-121: Function Menu
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
21-121: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
83-92: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
93-102: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
103-112: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/Menu/MenuConnected.ts (1 issue) == 11-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/Menu/tests/HamburgerMenu-test.js (2 issues) == 30-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Menu/tests/Menu-test.js (5 issues) == 44-56: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 58-70: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 72-84: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 96-102: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 104-110: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/MyPlaces/tests/MyPlaces-test.js (4 issues) == 38-40: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 49-51: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Nav/Nav.tsx (1 issue) ==
95-139: Function render
has 42 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Nav/tests/Nav-test.js (7 issues) == 45-53: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 55-63: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 73-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 81-89: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 111-117: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 119-124: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 132-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Nav/container.tsx (1 issue) == 15-19: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/OauthButton/OauthButton.tsx (1 issue) == 6-14: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/OpenReviews/OpenReviews.js (1 issue) == 15-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/OpenReviews/tests/OpenReviews-test.js (1 issue) == 38-41: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/tests/actions-test.js (1 issue) == 19-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/tests/reducer-test.js (3 issues) == 11-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 18-24: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 59-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/ApartmentInfo/ApartmentInfo.tsx (2 issues) ==
90-155: Function render
has 61 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
91-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/ApartmentLifestyles/tests/ApartmentLifestyles-test.js (1 issue) == 27-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/ConnectedPremiumBannerText.tsx (1 issue) == 21-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/ConnectedSpotlightText.tsx (1 issue) == 21-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Details/Details.tsx (2 issues) ==
99-158: Function render
has 56 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
131-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Details/tests/Details-test.js (5 issues) == 49-52: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 70-73: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 75-78: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 123-126: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 136-139: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/FeesSection/FeesSection.tsx (1 issue) == 28-31: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/FeesSection/tests/FeesSection-test.js (1 issue) == 9-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Floorplans/tests/ConnectedMoveInSpecials-test.js (1 issue) == 63-66: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Gallery/Gallery.tsx (6 issues) ==
1-478: File Gallery.tsx
has 383 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
49-475: Gallery
has 22 functions (exceeds 20 allowed). Consider refactoring. [structure]
91-114: Function photos
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
405-474: Function render
has 58 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
442-451: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
452-461: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Gallery/tests/Gallery-test.js (13 issues) ==
1-467: File Gallery-test.js
has 406 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
67-76: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
77-86: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
128-133: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
135-140: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
190-193: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
195-198: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
200-205: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
207-212: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
285: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
288: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
428-433: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
445-450: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Gallery/components/CreateGalleryItem.tsx (4 issues) ==
28-124: Function CreateGalleryItem
has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring. [structure]
28-124: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
50-53: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
123: Avoid too many return
statements within this function. [structure]
== src/apps/large/PDP/components/GalleryModal/tests/GalleryModal-test.js (1 issue) == 8-13: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/GalleryModal/tests/actions-test.js (1 issue) == 16-21: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/HelpfulInformation/tests/HelpfulInformation-test.js (2 issues) == 6-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 13-18: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/Layout.tsx (6 issues) ==
1-418: File Layout.tsx
has 369 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
77-87: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
168-179: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
197-208: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
365-414: Function render
has 45 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
406-409: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/LeadFormPanel/LeadFormPanel.tsx (1 issue) ==
23-70: Function render
has 44 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/PDP/components/LeadFormPanel/tests/LeadFormPanel-test.js (1 issue) == 35-37: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/LifeStyles/LifeStyles.tsx (4 issues) ==
16-39: Function lifeStyleClassName
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
32: Avoid too many return
statements within this function. [structure]
35: Avoid too many return
statements within this function. [structure]
38: Avoid too many return
statements within this function. [structure]
== src/apps/large/PDP/components/LifeStyles/tests/LifeStyles-test.js (7 issues) == 60-63: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 65-68: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 69-72: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 74-77: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 79-82: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 84-87: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 89-92: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/NearbySchools/tests/Schools-test.js (4 issues) == 9-13: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 15-20: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 22-27: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 29-34: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/OfficeHours/OfficeHours.tsx (1 issue) ==
48-79: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/PDP/components/OfficeHours/tests/OfficeHours-test.js (3 issues) == 15-44: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 46-50: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 57-60: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/OfficeHours/tests/OfficeHoursData.js (5 issues) == 1-10: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 22-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-57: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 166-235: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 237-249: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/MarkHelpful.tsx (2 issues) == 7-12: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 14-31: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/Report.tsx (1 issue) == 11-21: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/Reviews/components/MarkHelpful.tsx (2 issues) == 7-12: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 14-31: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/Reviews/components/Report.tsx (1 issue) == 11-21: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/Reviews/components/Review.tsx (2 issues) ==
41-119: Function render
has 74 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
42-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/Reviews/components/Reviews.tsx (1 issue) ==
76-139: Function render
has 61 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/PDP/components/RatingsAndReviews/components/Reviews/components/tests/MarkHelpful-test.js (1 issue) == 7-18: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/Reviews/components/tests/Report-test.js (1 issue) == 5-15: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/tests/MarkHelpful-test.js (1 issue) == 7-18: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/RatingsAndReviews/components/tests/Report-test.js (1 issue) == 5-15: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/SeoLinks/SeoLinks.tsx (1 issue) == 7-18: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/SeoLinks/SeoLinksConnected.ts (1 issue) == 19-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/SeoLinks/tests/SeoLinks-test.js (1 issue) == 15-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/TourFromHomeSection/Video.tsx (1 issue) == 28-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/TourFromHomeSection/tests/TourFromHomeSection-test.js (5 issues) == 8-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 34-37: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 39-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-54: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 56-62: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/TourFromHomeSection/tests/Videos-test.js (5 issues) == 8-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 32-35: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 37-41: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 43-46: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/components/tests/Layout-test.js (4 issues) == 84-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 119-129: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 150-153: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 155-158: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PDP/container.js (1 issue) ==
26-54: Function mapStateToProps
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/PDP/thunks.js (2 issues) ==
50-90: Function fetchListing
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
50-90: Function fetchListing
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/PDP/util/tests/formatUnitsAvailable-test.js (3 issues) == 18-22: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 24-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 30-34: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/Pagination/Pagination.tsx (6 issues) ==
25-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
34-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
43-77: Function paginationLinks
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
53-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
64-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
79-126: Function render
has 44 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Pagination/tests/Pagination-test.js (2 issues) == 49-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 57-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PortfolioPromoter/tests/reducer-test.js (3 issues) == 9-14: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 36-46: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 62-72: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PortfolioPromoter/components/PortfolioPromoter.tsx (4 issues) ==
38-96: Function render
has 56 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
39-47: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
57-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
81-91: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/PortfolioPromoter/components/tests/PortfolioPromoter-test.js (4 issues) == 40-47: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 54-61: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 67-74: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 80-87: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/QuickView/QuickView.tsx (7 issues) ==
1-512: File QuickView.tsx
has 439 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
76-509: QuickView
has 22 functions (exceeds 20 allowed). Consider refactoring. [structure]
77-121: Function lowerDetails
has 37 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
129-140: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
386-421: Function renderPaneControls
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
423-456: Function renderRightColumn
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
458-508: Function render
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/QuickView/QuickViewPane/QuickViewPane.tsx (1 issue) ==
17-57: Function QuickViewPane
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/QuickView/tests/QuickView-test.js (9 issues) == 71-76: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 78-83: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 85-88: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 90-93: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 110-113: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 204-207: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 209-213: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 232-235: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 237-241: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/RefinementSection/tests/RefinementSection-test.js (3 issues) == 40-47: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 49-56: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 58-65: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/RefinementSection/tests/mocks.js (2 issues) == 1-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 110-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/RegistrationModal/tests/actions-test.js (2 issues) == 7-12: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 14-19: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/large/RegistrationModal/components/PropertyManagerForm.js (1 issue) ==
7-35: Function PropertyManagerForm
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/RegistrationModal/components/RegistrationForm.tsx (9 issues) ==
1-303: File RegistrationForm.tsx
has 269 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
25-41: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
48-61: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
63-71: Identical blocks of code found in 6 locations. Consider refactoring. [duplication]
77-104: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
106-114: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
122-299: Function render
has 164 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
139-154: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
165-281: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/RegistrationModal/components/RegistrationModal.tsx (2 issues) ==
27-58: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
28-37: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/large/RegistrationModal/components/tests/RegistrationForm-test.js (1 issue) == 9-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/RegistrationModal/components/tests/RegistrationModal-test.js (2 issues) == 10-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 15-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SRP/tests/actions-test.js (4 issues) == 16-22: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 24-30: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 32-39: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 41-48: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/SRP/tests/reducer-test.js (8 issues) == 15-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 33-49: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 51-67: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 69-75: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 78-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 84-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 91-97: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 99-105: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/SRP/components/Layout.tsx (2 issues) ==
26-59: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
27-36: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/large/SRP/components/List/List.tsx (9 issues) ==
1-362: File List.tsx
has 316 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
140-186: Function gridViewHeaderProps
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
140-186: Function gridViewHeaderProps
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
188-310: Function renderListings
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
188-310: Function renderListings
has 110 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
189-201: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
283-288: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
296-301: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
316-358: Function render
has 40 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/SRP/components/List/tests/List-test.js (4 issues) == 118-131: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 133-146: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 157-180: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 182-205: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SRPMap/SRPMap.tsx (2 issues) ==
229-292: Function render
has 57 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
274-282: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SRPMap/tests/SRPMap-test.js (5 issues) == 45-71: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 74-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 84-92: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 108-117: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 165-174: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/SchoolPopup/components/SchoolPopup.tsx (2 issues) == 35-44: Consider simplifying this complex logical expression. [structure] 35-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolBtn/SearchBySchoolBtn.tsx (2 issues) ==
34-65: Function handleClick
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
36-44: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolBtn/tests/SearchBySchoolBtn-test.js (3 issues) == 43-46: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 54-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolBtn/container.ts (1 issue) == 17-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolModal/SearchBySchoolModal.tsx (2 issues) ==
40-70: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
44-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolModal/tests/SearchBySchoolModal-test.js (1 issue) == 16-22: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolPill/tests/SearchBySchoolPill-test.js (1 issue) == 21-27: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/SearchBySchool/components/SearchBySchoolPills/tests/SearchBySchoolPills-test.js (1 issue) == 15-21: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/tests/container-test.js (1 issue) == 53-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Beds/Beds.tsx (4 issues) ==
26-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
58-65: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
127-160: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
143-158: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Beds/tests/container-test.js (1 issue) == 16-25: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/More/tests/container-test.js (1 issue) == 11-20: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Prices/Prices.tsx (6 issues) ==
35-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
53-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
113-173: Function render
has 55 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
135-142: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
143-150: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
157-171: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Prices/tests/Prices-test.js (5 issues) == 31-34: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Prices/tests/container-test.js (1 issue) == 13-22: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Prices/container.ts (1 issue) == 11-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/Prices/util/PriceInputs.tsx (3 issues) ==
56-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
59-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
103-146: Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Searchbar/components/RefinementPills/tests/container-test.js (1 issue) == 12-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/components/RefinementPills/components/RefinementPills.tsx (1 issue) ==
47-86: Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Searchbar/components/Searchbar.tsx (2 issues) ==
65-107: Function renderHomePageSearchBar
has 37 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
109-158: Function renderSearchbarBody
has 47 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Searchbar/components/tests/Searchbar-test.js (1 issue) == 61-65: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Searchbar/container.tsx (1 issue) == 21-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SeoContentDivider/tests/SeoContentDivider-test.js (1 issue) == 7-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/Static/CollegeLander/CollegeLander.tsx (1 issue) == 6-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Static/ContactUs/ContactUs.js (3 issues) == 18-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-55: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 66-71: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/Static/Generic/tests/ListingPage-test.js (1 issue) == 5-10: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/large/Static/GenericStaticPage/components/tests/HeroContent-test.js (1 issue) == 15-18: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/large/Static/GenericStaticPage/components/tests/StaticPage-test.js (2 issues) == 23-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 40-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Static/GenericStaticPage/components/tests/StaticPageArticle-test.js (2 issues) == 26-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 32-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Static/MilitaryLander/MilitaryLander.tsx (1 issue) == 6-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Static/MobileApp/MobileApp.js (5 issues) == 17-30: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 31-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 45-58: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 59-72: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 108-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Static/NeighborhoodsLander/tests/NeighborhoodsLander-test.js (1 issue) == 42-46: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Static/Sitemap/Sitemap.js (6 issues) == 58-71: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 85-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 104-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-123: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 125-131: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 145-149: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/SubmitReviewPage/SubmitReviewPage.js (2 issues) ==
20-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
43-110: Function render
has 65 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/SubmitReviewPage/tests/ReviewForm-test.js (1 issue) == 16-20: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/SubmitReviewPage/tests/SubmitReviewPage-test.js (5 issues) == 37-40: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 49-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 62-72: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 86-89: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 104-114: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/SubmitReviewPage/tests/ThankYou-test.js (2 issues) == 12-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 35-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Tracking/tests/selectors-test.js (4 issues) == 26-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 72-84: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 86-101: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Tracking/selectors.js (1 issue) == 27-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/SearchBar/SearchBarConnected.tsx (1 issue) == 35-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/SearchBar/SearchBarThemed.tsx (1 issue) == 9-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/TruesearchHeader/components/TruesearchHeader.tsx (1 issue) ==
29-60: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/large/Truesearch/components/TruesearchHeader/components/TruesearchHeaderFavorites/tests/TruessearchHeaderFavorites-test.js (2 issues) == 27-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/TruesearchHeader/components/tests/TruesearchHeader-test.js (8 issues) == 17-20: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 22-25: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 27-30: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 32-35: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 47-50: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 52-55: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 57-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/TruesearchHeader/components/tests/TruesearchHeaderNav-test.js (2 issues) == 11-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/TruesearchLeadIns/TruesearchLeadIns.tsx (4 issues) ==
149-193: Function render
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
149-193: Function render
has 41 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
167-174: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
183-190: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/TruesearchLeadIns/tests/TruesearchLeadIns-test.js (3 issues) == 29-33: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 41-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/Truesearch/components/TruesearchNarrowYourSearch/tests/TruesearchNarrowYourSearch-test.js (2 issues) == 15-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 20-23: Similar blocks of code found in 15 locations. Consider refactoring. [duplication]
== src/apps/large/reducer.js (2 issues) == 51-59: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 61-103: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/routes/tests/detailPageRoute-test.js (2 issues) == 36-45: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 65-74: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/large/routes/tests/routes-test.js (5 issues) ==
1-300: File routes-test.js
has 257 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
67-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
170-180: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
197-205: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
207-217: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/routes/tests/staticPageRoutes-test.js (3 issues) == 7-19: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 23-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 70-130: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/routes/countyRoutes.ts (1 issue) == 13-26: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/large/store.js (1 issue) == 16-28: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/IpLocation-test.js (7 issues) == 46-56: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 64-67: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 98-108: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 110-120: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 122-132: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 149-153: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 175-179: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/app-test.js (2 issues) == 20-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/blog-test.js (2 issues) == 49-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 57-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/breadcrumbs-test.js (15 issues) ==
1-550: File breadcrumbs-test.js
has 498 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
102-115: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
148-158: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
220-230: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
269-282: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
290-305: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
307-322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
379-387: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
404-412: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
414-422: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
464-475: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
478-489: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
492-500: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
514-521: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
523-530: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/content-test.js (12 issues) ==
1-836: File content-test.js
has 758 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
90-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
125-139: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
160-172: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
337-348: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
362-373: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
534-562: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
564-592: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
640-656: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
676-692: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
750-764: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
797-811: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/cookieWarning-test.js (2 issues) == 32-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 60-86: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/device-test.js (3 issues) == 8-25: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 27-44: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 46-63: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/diamondMax-test.js (1 issue) == 67-77: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/features-test.js (4 issues) == 100-104: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 129-132: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 140-143: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 148-158: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/filterModal-test.js (9 issues) ==
1-604: File filterModal-test.js
has 548 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
63-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
81-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
124-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
155-166: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
383-407: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
410-443: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
445-478: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
518-526: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/filters-test.js (1 issue) == 41-45: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/floorplans-test.js (5 issues) == 77-85: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 87-95: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-125: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 137-145: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 189-197: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/fullStoryVars-test.js (2 issues) == 7-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 31-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/gallery-test.js (8 issues) == 81-85: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 87-93: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 95-115: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 117-139: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 141-145: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 147-153: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 155-175: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 177-199: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/geoLocation-test.js (15 issues) ==
1-431: File geoLocation-test.js
has 378 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
21-25: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
83-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
106-119: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
127-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
139-149: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
160-172: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
174-187: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
218-230: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
233-246: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
248-261: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
263-276: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
278-291: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
294-298: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
300-312: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/getPageIsIndexable-test.js (6 issues) == 40-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 54-66: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 68-80: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 83-107: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 137-161: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 164-176: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/getPoints-test.js (5 issues) == 16-25: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 27-36: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 38-47: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 61-70: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 83-92: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/leadForm-test.js (17 issues) ==
1-653: File leadForm-test.js
has 582 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
113-121: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
123-131: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
241-250: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
252-256: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
258-262: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
266-273: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
290-302: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
312-316: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
318-322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
326-333: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
335-342: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
344-351: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
437-449: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
451-463: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
491-513: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
515-537: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/leadModal-test.js (2 issues) == 85-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 91-96: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/leadSuccessModal-test.js (2 issues) == 103-106: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 112-115: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/listingCell-test.js (38 issues) ==
1-663: File listingCell-test.js
has 574 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
160-173: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
175-188: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
202-212: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
214-224: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
226-234: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
236-244: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
267-270: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
279-282: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
284-288: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
290-294: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
303-306: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
316-320: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
322-326: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
328-332: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
335-340: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
342-347: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
370-373: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
404-414: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
416-421: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
429-432: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
436-439: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
441-444: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
453-456: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
460-463: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
465-468: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
471-481: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
520-530: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
532-540: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
543-551: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
553-561: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
563-571: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
573-581: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
590-600: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
602-612: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
614-624: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
643-651: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
653-661: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/listingDetails-test.js (55 issues) ==
1-1560: File listingDetails-test.js
has 1350 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
142-147: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
149-154: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
158-164: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
194-200: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
220-226: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
230-236: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
238-244: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
253-265: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
267-277: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
279-289: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
291-301: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
304-308: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
319-322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
334-338: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
345-355: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
364-367: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
391-401: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
415-421: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
423-429: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
431-437: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
440-447: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
452-465: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
544-557: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
614-624: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
626-636: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
638-648: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
650-660: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
662-672: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
675-679: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
686-696: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
698-708: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
710-720: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
722-732: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
734-743: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
745-755: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
799-805: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
807-813: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
852-856: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
908-911: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
912-915: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
916-919: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
926-929: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
930-933: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
950-959: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
961-970: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
974-983: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
985-994: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1080-1117: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1119-1156: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1287-1322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1324-1359: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1420-1434: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1438-1452: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1507-1513: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/localGuide-test.js (8 issues) == 11-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 24-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 72-81: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 83-92: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 95-104: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 105-114: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 116-125: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/locationReview-test.js (1 issue) == 39-43: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/mapKey-test.js (2 issues) == 4-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 26-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/mapSearch-test.js (13 issues) ==
1-524: File mapSearch-test.js
has 463 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
49-54: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
56-65: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
67-76: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
80-85: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
87-96: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
98-107: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
109-118: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
153-163: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
284-294: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
308-318: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
340-349: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
352-357: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/menu-test.js (1 issue) == 15-23: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/metaSeo-test.js (9 issues) ==
1-400: File metaSeo-test.js
has 371 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
167-188: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
194-204: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
206-216: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
283-296: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
302-313: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
358-371: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
374-381: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
384-395: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/mobileHeight-test.js (2 issues) == 7-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 20-23: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/mobileMapListingCard-test.js (5 issues) == 19-27: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 39-48: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 50-59: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 61-70: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 98-102: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/mocks/listingCell.ts (8 issues) ==
1-422: File listingCell.ts
has 409 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
13-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
55-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
183-203: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
226-246: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
264-300: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
307-343: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
354-390: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/mocks/mobileMapListing.js (4 issues) ==
1-371: File mobileMapListing.js
has 370 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
246-256: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
320-332: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
333-345: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/modals-test.js (9 issues) ==
1-477: File modals-test.js
has 402 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
97-105: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
114-117: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
316-321: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
324-340: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
377-393: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
414-419: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
444-449: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
457-462: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/pdp-test.js (3 issues) ==
1-337: File pdp-test.js
has 294 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
100-103: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
109-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/pointsOfInterest-test.js (1 issue) == 39-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/popups-test.js (1 issue) == 32-38: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/primaryCTA-test.js (4 issues) == 89-105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 107-123: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 126-132: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 134-140: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/propertyLabel-test.js (2 issues) == 7-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 95-181: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/ratedSchools-test.js (3 issues) == 62-66: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 71-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 100-113: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/recommendations-test.js (2 issues) == 73-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 86-97: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/rentTrends-test.js (4 issues) == 15-36: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 37-58: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 59-80: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 81-102: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/request-test.js (3 issues) == 27-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/reviews-test.ts (2 issues) == 159-172: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 174-187: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/router-test.js (11 issues) ==
1-430: File router-test.js
has 375 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
96-107: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
135-148: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
155-158: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
161-174: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
182-192: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
194-204: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
361-372: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
374-385: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
388-408: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
410-428: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/schools-test.js (11 issues) ==
1-313: File schools-test.js
has 271 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
25-41: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
50-66: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
240-247: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
249-256: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
258-265: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
267-274: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
276-283: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
285-292: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
294-301: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
303-310: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/searchBySchool-test.js (8 issues) == 79-87: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 90-108: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 153-161: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 163-171: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 181-203: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 205-227: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 244-259: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 278-293: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/searchCriteria-test.js (31 issues) ==
1-626: File searchCriteria-test.js
has 539 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
51-54: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
56-59: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
61-64: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
66-69: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
72-81: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-95: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
101-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
115-125: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
138-143: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
156-161: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
189-198: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
210-227: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
229-246: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
271-289: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
291-309: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
314-324: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
340-351: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
377-382: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
392-396: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
398-402: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
404-408: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
449-453: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
455-459: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
461-465: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
467-471: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
473-477: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
481-485: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
487-491: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
493-497: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
572-576: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/searchInput-test.js (21 issues) ==
1-790: File searchInput-test.js
has 706 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
148-184: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
185-216: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
301-322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
373-394: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
432-441: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
449-457: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
476-506: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
507-537: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
585-594: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
596-605: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
611-620: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
640-652: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
654-666: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
667-679: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
691-700: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
702-711: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
728-739: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
740-751: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
753-763: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
783-787: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/searchResults-test.js (8 issues) == 26-31: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 35-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-51: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 55-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 76-97: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 99-120: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 123-132: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 143-150: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/sort-test.js (1 issue) == 24-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/staticTagging-test.js (5 issues) == 12-18: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 20-26: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 28-34: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 36-42: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 44-50: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/tours-test.js (7 issues) == 32-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 43-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 59-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 104-115: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 130-141: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 143-154: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/transitScores-test.js (1 issue) == 16-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/truesearch-test.js (30 issues) ==
1-1515: File truesearch-test.js
has 1362 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
81-94: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
135-147: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
240-247: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
291-302: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
377-400: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
402-425: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
616-629: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
656-668: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
669-682: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
692-696: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
701-712: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
751-761: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
763-773: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
841-856: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
885-890: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
892-897: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
899-904: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
908-913: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
915-927: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
950-965: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1002-1015: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1051-1059: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
1061-1069: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1085-1096: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1113-1128: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1130-1141: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1143-1158: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1347-1369: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1371-1393: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/tests/users-test.js (2 issues) == 10-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/documentMeta.ts (3 issues) ==
1-333: File documentMeta.ts
has 292 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
57-121: Function getMatchRouteCriteriaSelector
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. [structure]
69-120: Function getMatchRouteCriteriaSelector
has 45 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/selectors/features/AGBestFootForward.ts (1 issue) == 7-11: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/AGSociallyDistantVideos.ts (1 issue) == 26-30: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/AGSociallyDistantVideos-test.js (8 issues) == 27-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 64-80: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 81-97: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 98-114: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 115-131: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 132-148: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 149-165: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 166-182: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/ApplicationCheckbox-test.js (1 issue) == 18-26: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/bestInClassSeoContentExperienceEnabled-test.js (2 issues) == 7-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/delayedPopupCTA-test.js (5 issues) == 90-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 122-126: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 128-132: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 134-138: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 140-143: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/mobileSrpBoost-test.js (1 issue) == 19-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/navCityLinks-test.js (2 issues) == 7-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/recordLiveVideoTours-test.js (1 issue) == 9-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/truesearch-test.js (21 issues) ==
1-546: File truesearch-test.js
has 457 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
27-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
59-89: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
174-196: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
198-220: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
223-238: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
240-255: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
258-272: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
274-288: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
290-324: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
326-340: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
342-356: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
358-392: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
394-417: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
419-431: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
433-445: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
447-470: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
473-487: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
489-503: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
506-524: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
526-544: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/tests/videoCall-test.js (2 issues) == 12-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 33-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/delayedPopupCTA.ts (2 issues) == 33-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 40-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/mobilePhotoEnhancements.ts (1 issue) == 39-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/mobileSrpBoost.ts (1 issue) == 12-16: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/recordLiveVideoTours.ts (1 issue) == 7-11: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/truesearch.ts (6 issues) == 38-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 55-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 144-148: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 150-154: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 175-179: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 180-184: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/features/videoCall.ts (2 issues) == 8-12: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 14-18: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/selectors/floorplans.ts (1 issue) ==
49-71: Function getFloorplanBedBathDisplay
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/selectors/gallery.ts (1 issue) ==
28-60: Function getFullbleedSlides
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/selectors/listingCell.ts (10 issues) ==
1-887: File listingCell.ts
has 732 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
155-203: Function createGetSalesBanners
has 41 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
205-241: Function createGetBanners
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
273-331: Function formatPriceRangeDisplay
has a Cognitive Complexity of 19 (exceeds 5 allowed). Consider refactoring. [structure]
273-331: Function formatPriceRangeDisplay
has 40 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
327-330: Avoid too many return
statements within this function. [structure]
336-373: Function createGetAvailabilityBreakdownByBedroom
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
759-828: Function createGetListingPhotos
has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring. [structure]
772-827: Function createGetListingPhotos
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
818-826: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/metaSeo.ts (9 issues) ==
23-74: Function getBasePath
has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring. [structure]
50: Avoid too many return
statements within this function. [structure]
54: Avoid too many return
statements within this function. [structure]
58: Avoid too many return
statements within this function. [structure]
62: Avoid too many return
statements within this function. [structure]
69: Avoid too many return
statements within this function. [structure]
73: Avoid too many return
statements within this function. [structure]
104-116: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
118-130: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/optimizely/tests/channel-test.js (2 issues) == 7-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 15-23: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/selectors/optimizely/tests/currentPage-test.js (11 issues) == 12-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-50: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 52-58: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 60-72: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 74-86: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 88-100: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 102-114: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 116-128: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 130-142: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 144-156: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/selectors/optimizely/currentPage.ts (1 issue) ==
21-39: Function getCurrentPage
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/selectors/primaryCTA.ts (4 issues) ==
24-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
46-54: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
92-120: Function makeGetPrimaryCTATextWithProps
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
118: Avoid too many return
statements within this function. [structure]
== src/apps/selectors/search/tests/cityId-test.js (1 issue) == 3-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/criteria-test.js (1 issue) == 15-19: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/currentPage-test.js (3 issues) == 52-75: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 77-100: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 102-125: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/displayName-test.js (1 issue) == 4-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/filteredPropertyTypes-test.js (4 issues) == 8-15: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 17-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/include-test.js (3 issues) == 4-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 13-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 22-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/isFetching-test.js (1 issue) == 3-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/listings-test.js (1 issue) == 5-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/location-test.js (13 issues) == 18-23: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 46-58: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 86-98: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 100-112: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 114-126: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 128-140: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 143-154: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 156-167: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 190-201: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 215-227: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 229-241: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 243-255: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 257-268: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/locationPath-test.js (4 issues) == 4-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 15-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 66-81: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 87-97: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/neighborhoodId-test.js (1 issue) == 3-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/propertyTypeLinks-test.js (13 issues) ==
1-551: File propertyTypeLinks-test.js
has 517 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
43-65: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
99-134: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
198-233: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
256-269: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
281-309: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
342-356: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
358-372: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
378-406: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
414-436: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
447-469: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
482-495: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
530-543: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/redirectUrl-test.js (10 issues) == 58-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 76-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 86-94: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 96-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 106-114: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 121-124: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 131-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 137-141: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/relLinks-test.js (3 issues) == 51-57: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 59-65: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 67-73: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/searchArea-test.js (4 issues) == 4-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 18-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 32-43: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 57-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/searchPath-test.js (5 issues) == 6-14: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 18-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 62-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 128-147: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 169-184: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/spotlightListings-test.js (1 issue) == 5-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/spotlights-test.js (1 issue) == 4-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/totalPages-test.js (1 issue) == 4-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/tests/zoom-test.js (3 issues) == 20-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 42-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/location.ts (7 issues) ==
24-55: Function getGeoJSONId
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
51: Avoid too many return
statements within this function. [structure]
54: Avoid too many return
statements within this function. [structure]
60-92: Function getGeoJSONPath
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
84: Avoid too many return
statements within this function. [structure]
88: Avoid too many return
statements within this function. [structure]
91: Avoid too many return
statements within this function. [structure]
== src/apps/selectors/search/locationCenter.js (1 issue) == 16-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/redirectUrl.js (3 issues) ==
73: Avoid too many return
statements within this function. [structure]
77: Avoid too many return
statements within this function. [structure]
80: Avoid too many return
statements within this function. [structure]
== src/apps/selectors/search/relLinks.ts (2 issues) == 34-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/search/searchArea.js (1 issue) ==
9: Avoid too many return
statements within this function. [structure]
== src/apps/selectors/search/zoom.js (1 issue) ==
91-111: Function getZoom
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/selectors/searchBySchool.ts (1 issue) ==
46-81: Function getSelectedSchoolsCriteria
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/selectors/searchCriteria.ts (6 issues) ==
1-391: File searchCriteria.ts
has 315 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
58-72: Function appliedFilterCount
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. [structure]
109-143: Function getRefinementsObject
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
235-267: Function getUrlFromResults
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
244-249: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
251-256: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/selectors/searchInput.ts (3 issues) ==
129-184: Function getAutocompleteUrl
has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring. [structure]
129-184: Function getAutocompleteUrl
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
217-258: Function getCriteriaFromLastSearch
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Accordion/Accordion.js (1 issue) ==
52-85: Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Accordion/tests/Accordion-test.js (2 issues) == 47-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 81-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ArticleLinks/ArticleLink.tsx (1 issue) ==
41-103: Function render
has 59 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ArticleLinks/ArticleLinks.tsx (3 issues) ==
20-103: Function ArticleLinks
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
57-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
85-89: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ArticleLinks/tests/ArticleLink-test.js (2 issues) == 23-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ArticleLinks/tests/ArticleLinks-test.js (2 issues) == 23-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ArticleLinks/container.ts (1 issue) == 10-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Breadcrumbs/Breadcrumbs.tsx (2 issues) ==
56-112: Function render
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
56-112: Function render
has 51 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Breadcrumbs/tests/Breadcrumbs-test.js (3 issues) == 63-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 68-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 75-78: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Button/CheckAvailabilityButton.js (1 issue) == 33-39: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/CTAs/EmailButton/tests/EmailButton-test.js (2 issues) == 6-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/CTAs/PhoneButton/PhoneButton.tsx (1 issue) ==
28-64: Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/CTAs/PhoneButton/tests/PhoneButton-test.js (2 issues) == 19-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 29-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/CTAs/PhoneButton/tests/container-test.js (2 issues) == 19-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/CTAs/TourButton/tests/TourButton-test.js (2 issues) == 6-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 11-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/CTAs/tests/ActionButton-test.js (5 issues) == 29-32: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 34-37: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 39-42: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 54-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/CTAs/tests/IconButton-test.js (2 issues) == 31-34: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 45-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ContactButton/ContactButton.tsx (2 issues) ==
22-75: Function ContactButton
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. [structure]
22-75: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Content/tests/ContentLinks-test.js (3 issues) == 13-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 18-21: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 23-26: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Content/tests/LanderStateLinks-test.js (2 issues) == 19-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Content/tests/RawHtml-test.js (5 issues) == 10-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Content/tests/StatesLander-test.js (1 issue) == 6-11: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/shared/CookieWarningModal/CookieWarning.tsx (1 issue) ==
48-79: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/CookieWarningModal/tests/CookieWarningModal-test.js (1 issue) == 38-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Debug/Debug.tsx (3 issues) ==
8-40: Function getSnapshotBeforeUpdate
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
16-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
26-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Demographics/tests/Demographics-test.js (3 issues) == 27-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/DfpAdSlot/components/DfpAdSlot.tsx (1 issue) ==
102-136: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/DfpAdSlot/components/tests/DfpAdSlot-test.js (1 issue) == 38-41: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/DiamondMax/tests/reducer-test.js (6 issues) == 15-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 33-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 79-94: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 99-114: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 119-129: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/DiamondMax/reducer.js (1 issue) ==
16-48: Function default
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Entities/tests/reducer-test.js (2 issues) == 9-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 42-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/reducer.js (2 issues) == 38-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/leadFields-test.js (2 issues) == 28-33: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 35-44: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/listing-test.js (1 issue) == 18-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/listingIds-test.js (2 issues) == 4-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 21-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/managementCompanies-test.js (1 issue) == 3-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/name-test.js (2 issues) == 18-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 25-34: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/neighborhoods-test.js (1 issue) == 3-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/phoneNumber-test.js (2 issues) == 20-25: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 27-36: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/photosWithFloorplans-test.js (4 issues) == 68-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 90-118: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 216-236: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 238-266: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/school-test.js (1 issue) == 18-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/tests/units-test.js (1 issue) == 3-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Entities/selectors/photosWithFloorplans.ts (2 issues) ==
118-290: Function photosWithFloorplansSelector
has a Cognitive Complexity of 41 (exceeds 5 allowed). Consider refactoring. [structure]
118-290: Function photosWithFloorplansSelector
has 128 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/FavoriteButton/tests/FavoriteButton-test.js (2 issues) == 63-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 75-85: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FavoriteButton/selectors/tests/allListingIds-test.js (3 issues) == 5-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 25-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 38-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FavoriteButton/selectors/tests/favoritesCount-test.js (1 issue) == 27-42: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FavoriteButton/selectors/tests/favoritesMode-test.js (1 issue) == 3-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FavoriteButton/selectors/tests/listingIds-test.js (3 issues) == 4-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 24-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FavoriteButton/selectors/tests/listings-test.js (1 issue) == 24-39: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Features/tests/thunks-test.js (3 issues) == 61-74: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 89-102: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 104-117: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Features/components/ToggleRoute/ToggleRoute.js (14 issues) ==
1-745: File ToggleRoute.js
has 667 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
25-30: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
62-742: ToggleFeatures
has 32 functions (exceeds 20 allowed). Consider refactoring. [structure]
434-474: Function renderFeatureFlipView
has 39 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
477-691: Function renderFeatureVarsView
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
477-691: Function renderFeatureVarsView
has 209 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
533-550: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
556-573: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
628-638: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
640-650: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
652-662: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
669-677: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
678-686: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
693-741: Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Features/selectors/tests/activeFeature-test.js (2 issues) == 4-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 13-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/tests/actions-test.js (3 issues) == 18-23: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 25-30: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 32-38: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/tests/reducer-test.js (2 issues) == 86-95: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 97-107: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/tests/thunks-test.js (2 issues) == 42-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 100-118: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/tests/util-test.js (3 issues) == 7-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 79-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/components/FilterBody/FilterBody.tsx (1 issue) ==
25-72: Function render
has 44 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/FilterModal/components/FilterBody/tests/FilterBody-test.js (3 issues) == 55-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/components/FilterModal.tsx (3 issues) ==
48-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
54-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
60-98: Function renderFooter
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/FilterModal/components/FilterSection/FilterSection.tsx (1 issue) ==
62-110: Function render
has 45 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/FilterModal/components/FilterSection/tests/FilterSection-test.js (6 issues) == 50-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 55-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 186-198: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 200-212: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/components/FilterSection/tests/container-test.js (1 issue) == 3-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/components/PriceInput/PriceInput.tsx (1 issue) ==
105-135: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/FilterModal/components/RadioGroup/tests/container-test.js (1 issue) == 3-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/components/tests/FilterModal-test.js (3 issues) == 49-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 112-116: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 118-122: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FilterModal/container.ts (1 issue) == 20-25: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Floorplans/tests/availability-test.js (2 issues) == 5-8: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 10-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Floorplans/tests/floorplan-test.js (15 issues) ==
1-317: File floorplan-test.js
has 257 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
31-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
46-59: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
75-80: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-97: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
99-112: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
128-133: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
147-161: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
164-169: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
171-176: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
178-183: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
187-192: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
194-199: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
251-256: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
267-272: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Floorplans/tests/unit-test.js (6 issues) == 4-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 31-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 57-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Floorplans/components/FloorplanList.tsx (1 issue) ==
54-119: Function render
has 60 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Floorplans/components/Info.tsx (2 issues) ==
19-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
31-65: Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Floorplans/components/Photos.tsx (1 issue) ==
121-159: Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Floorplans/components/UnitList.tsx (2 issues) ==
28-33: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
45-84: Function render
has 36 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Floorplans/components/tests/Photos-test.tsx (2 issues) == 42-48: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 69-75: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Floorplans/components/tests/UnitList-test.tsx (3 issues) == 32-34: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 62-64: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 76-78: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Floorplans/unit.ts (2 issues) == 8-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 20-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Footer/Footer.tsx (6 issues) ==
16-221: Function Footer
has 196 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
118-126: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
128-136: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
138-146: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
148-156: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
158-166: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Footer/tests/Footer-test.js (5 issues) == 70-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 90-94: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 170-173: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 174-177: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 184-188: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Forms/tests/SelectInput-test.tsx (7 issues) == 33-36: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 68-71: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 80-83: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 85-88: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 92-95: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 112-115: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Forms/tests/TextArea-test.tsx (7 issues) == 34-37: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 38-41: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 42-45: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-53: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 54-57: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 72-75: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Forms/tests/TextInput-test.tsx (6 issues) == 32-35: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 36-39: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-51: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 52-55: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Forms/tests/validations-test.ts (7 issues) == 26-42: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 44-60: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 62-78: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 80-91: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 93-104: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 106-117: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 119-130: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Forms/validations.ts (2 issues) == 17-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 21-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/FullStory/PdpVars/tests/container-test.js (1 issue) == 8-21: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/HelpfulReviews/tests/HelpfulIds-test.js (1 issue) == 13-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/HelpfulReviews/selectors/tests/error-test.js (1 issue) == 3-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/HelpfulReviews/selectors/tests/helpfulIds-test.js (1 issue) == 3-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/HelpfulReviews/selectors/tests/helpfulReviews-test.js (1 issue) == 3-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/HelpfulReviews/selectors/tests/isReporting-test.js (1 issue) == 3-8: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Hydration/hydrationManager.ts (1 issue) ==
13-26: Function constructor
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/Icon/Icon.tsx (3 issues) ==
20-72: Function Icon
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
41-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
60-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Image/components/tests/FallbackImageLoader-test.js (2 issues) == 30-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 38-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/InsertChildren/tests/InsertChildren-test.js (3 issues) == 22-26: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 33-37: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 44-48: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/IpLocation/tests/reducer-test.js (3 issues) == 16-23: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 39-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 53-65: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/IpLocation/thunks.ts (2 issues) ==
47-63: Function normalizeIpDate
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
65-82: Function fetchIpLocation
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/LastUpdated/tests/LastUpdated-test.js (9 issues) == 31-35: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 42-46: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 54-58: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 66-70: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 72-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 79-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 86-90: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/tests/actions-test.js (9 issues) == 25-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 31-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 49-53: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 55-59: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 61-65: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 67-71: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 73-77: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 79-83: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 85-89: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/actions.ts (3 issues) == 18-21: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 23-26: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 28-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/InputField/InputField.tsx (5 issues) ==
107-185: Function render
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
107-185: Function render
has 71 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
108-119: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
158-169: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
170-182: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/InputField/tests/InputField-test.js (4 issues) == 79-84: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 86-91: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 93-98: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 100-105: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/InputField/tests/const.ts (4 issues) == 1-12: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 14-25: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 27-38: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 40-51: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/InputField/tests/container-test.js (4 issues) == 15-18: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 20-23: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 25-28: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/IntentOptions/IntentOptions.tsx (1 issue) ==
29-70: Function optionPills
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LeadForm/components/IntentOptions/tests/IntentOptions-test.js (2 issues) == 25-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/LeadForm.tsx (2 issues) ==
51-145: Function render
has 87 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
52-66: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/LeadFormErrors/tests/LeadFormErrors-test.js (2 issues) == 17-22: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 25-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/LeadFormFooter/tests/LeadFormFooter-test.js (1 issue) == 23-28: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/MessageBox/MessageBox.tsx (1 issue) ==
29-65: Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LeadForm/components/MessageBox/tests/MessageBox-test.js (7 issues) == 27-32: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 45-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 62-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 68-73: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 75-80: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 82-87: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/OptInNewsletter/tests/OptInNewsletter-test.js (1 issue) == 34-39: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/tests/LeadForm-test.js (5 issues) == 39-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-72: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 74-80: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 82-88: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/components/tests/TermsOfService-test.js (1 issue) == 7-12: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/shared/LeadForm/leadCookie.ts (2 issues) ==
48-86: Function cookieLeadData
has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring. [structure]
48-86: Function cookieLeadData
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LeadModal/tests/reducer-test.js (8 issues) == 13-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 18-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 25-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 32-37: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 39-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 47-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 77-81: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 83-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Address/Address.tsx (3 issues) ==
49-83: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
50-58: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
63-81: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Address/tests/Address-test.js (1 issue) == 35-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Availability/Availability.tsx (1 issue) == 11-29: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Availability/tests/Availability-test.js (1 issue) == 7-22: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Availability/container.ts (1 issue) == 6-13: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bathrooms/Bathrooms.tsx (1 issue) == 10-29: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bathrooms/tests/Bathrooms-test.js (1 issue) == 7-22: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bathrooms/tests/container-test.js (2 issues) == 34-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bedrooms/Bedrooms.tsx (1 issue) == 11-29: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bedrooms/tests/Bedrooms-test.js (1 issue) == 7-22: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bedrooms/tests/container-test.js (1 issue) == 4-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Bedrooms/container.ts (1 issue) == 9-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/ListingCell.js (1 issue) ==
98-140: Function render
has 39 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ListingCard/components/Price/tests/Price-test.js (2 issues) == 25-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Price/tests/container-test.js (1 issue) == 4-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/Price/container.ts (1 issue) == 10-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/PropertyName/PropertyName.tsx (1 issue) == 52-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/PropertyName/tests/PropertyName-test.js (1 issue) == 27-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/SquareFeet/SquareFeet.tsx (1 issue) == 11-29: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/SquareFeet/tests/SquareFeet-test.js (1 issue) == 7-22: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/SquareFeet/tests/container-test.js (1 issue) == 4-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/SquareFeet/container.ts (1 issue) == 6-13: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/ULA/tests/UnitLevelAvailability-test.js (2 issues) == 25-28: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/ULA/container.ts (1 issue) == 10-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/tests/Listing-test.js (1 issue) == 51-62: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingCard/components/tests/ListingCell-test.js (2 issues) == 146-154: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 156-164: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/AffordableHousing.tsx (3 issues) ==
22-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
25-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
32-67: Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ListingDetails/Amenities/Amenities.tsx (3 issues) ==
23-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
29-38: Function hasAmenities
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
44-94: Function render
has 44 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ListingDetails/Amenities/AmenitiesFeature.tsx (2 issues) ==
46-86: Function render
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
46-86: Function render
has 36 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ListingDetails/HelpfulInformation/HelpfulInformation.tsx (1 issue) ==
33-120: Function render
has 85 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ListingDetails/HelpfulInformation/tests/HelpfulInformation-test.js (4 issues) == 44-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 56-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 68-78: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 87-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/LiveTour/tests/LiveTour-test.js (2 issues) == 18-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 23-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/Panel/Panel.tsx (1 issue) ==
18-48: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ListingDetails/ParkingPolicy.tsx (2 issues) == 26-30: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 32-36: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/PdpTour/components/PdpTour.tsx (2 issues) ==
51-97: Function render
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
52-62: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/PdpTour/components/PdpTourConnected.ts (1 issue) == 16-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/PdpTour/components/tests/PdpTour-test.js (4 issues) == 19-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 29-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/PetPolicy.tsx (7 issues) == 20-24: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 26-30: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 38-42: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 44-48: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 50-54: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 63-71: Similar blocks of code found in 13 locations. Consider refactoring. [duplication] 73-75: Consider simplifying this complex logical expression. [structure]
== src/apps/shared/ListingDetails/tests/DailyHours-test.js (3 issues) == 16-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/tests/OfficeHours-test.js (3 issues) == 10-39: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 41-45: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 60-64: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/tests/OfficeHoursData.js (6 issues) ==
1-260: File OfficeHoursData.js
has 252 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
11-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
32-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
46-67: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
176-245: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
247-259: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/tests/ParkingPolicy-test.js (1 issue) == 10-13: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/tests/PetPolicy-test.js (3 issues) == 10-13: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 15-18: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 20-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/tests/TodaysHours-test.js (1 issue) == 9-12: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingDetails/tests/TodaysStatus-test.js (1 issue) == 13-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingPhotoCarousel/ListingPhotoCarousel.tsx (5 issues) ==
87-97: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
99-133: Function photos
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
184-212: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
184-212: Function render
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
185-194: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/shared/ListingPhotoCarousel/tests/ListingPhotoCarousel-test.js (4 issues) == 69-82: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 98-101: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 132-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 137-140: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Listings/Photos/withPhotos.js (3 issues) ==
31-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
44-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
58-148: Function withPhotos
has 79 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LocalGuide/BICSRPLocalGuideCard/BICSRPLocalGuideCard.tsx (4 issues) ==
23-26: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
28-56: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
38-41: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
46-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocalGuide/BICSRPLocalGuideCard/tests/BICSRPLocalGuideCard-test.js (4 issues) == 19-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 38-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 46-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 54-61: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocalGuide/LocalGuide.tsx (1 issue) ==
50-85: Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LocalGuide/SectionHeader.tsx (1 issue) == 20-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocalGuide/tests/SectionHeader-test.js (6 issues) == 30-33: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 35-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 61-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 72-75: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/LocalGuide/const.ts (2 issues) == 6-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 20-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocalInfoArticle/LocalInfoArticle.tsx (5 issues) ==
40-59: Function componentDidMount
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. [structure]
75-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
80-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
106-197: Function render
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
106-197: Function render
has 83 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LocalInfoArticle/tests/LocalInfoArticle-test.js (2 issues) == 87-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 92-95: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocalInfoArticle/tests/container-test.js (2 issues) == 27-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewForm/LocationReviewForm.tsx (5 issues) ==
73-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
110-122: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
155-172: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
176-178: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
180-267: Function render
has 85 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LocationReviewForm/ReviewerTypeInput.tsx (6 issues) == 27-34: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 35-42: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 43-50: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 51-58: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 59-66: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 67-74: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewForm/tests/LocationReviewForm-test.js (2 issues) == 40-42: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 44-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewForm/tests/ReviewerType-test.js (6 issues) == 28-30: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 32-34: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 36-38: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 40-42: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 44-46: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 48-50: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewForm/tests/validations-test.js (5 issues) == 38-41: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 43-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 60-63: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 65-68: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 70-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewForm/validations.ts (2 issues) == 27-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 48-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewIntercept/tests/LocationReviewIntercept-test.js (1 issue) == 28-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/LocationReviewPage/PostSubmission.tsx (1 issue) ==
25-63: Function render
has 36 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/LocationReviewPage/tests/route-test.js (5 issues) == 29-33: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 35-41: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 64-68: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 70-76: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 78-84: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/MapSearch/tests/actions-test.js (2 issues) == 22-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 32-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MapSearch/tests/reducer-test.js (3 issues) == 11-29: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 40-58: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 69-87: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/MapSearch/tests/setupMapZoomEvents-test.js (4 issues) == 13-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 24-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MapSearch/selectors/tests/canonical-test.js (2 issues) == 5-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 18-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MapSearch/selectors/tests/geojson-test.js (2 issues) == 47-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 65-81: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MapSearch/selectors/geojson.js (2 issues) ==
30-56: Function geojsonSelector
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
92-104: Function geojsonWithFeaturedAndSpotlight
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/MapSearch/thunks.js (1 issue) ==
11-24: Function setSelectedListing
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/MapSearch/zoomPivot.js (1 issue) ==
37-60: Function getLevel
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/Markers/tests/Markers-test.js (4 issues) == 36-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 122-130: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 132-140: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Markers/tests/MarkersConnected-test.js (2 issues) == 10-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 27-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Markers/buildIconSVGUrl.ts (1 issue) ==
12-26: Function buildIconSVGUrl
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/Markers/icons.ts (12 issues) == 4-6: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 8-10: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 24-28: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 30-34: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 36-40: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 42-46: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 54-58: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 60-64: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 66-70: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 72-76: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 78-82: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/tests/pdp-test.js (2 issues) == 75-78: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 85-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/components/PdpFaqs.tsx (1 issue) == 78-81: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/components/PdpFaqsConnected.ts (1 issue) == 17-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/components/SrpFaqs.tsx (1 issue) == 137-140: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/components/SrpFaqsConnected.ts (1 issue) == 17-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/components/tests/FrequentlyAskedQuestions-test.js (1 issue) == 47-51: Similar blocks of code found in 15 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/components/tests/SrpFaqs-test.js (1 issue) == 13-19: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/bedroomPopularRefinements-test.js (1 issue) == 14-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/canonical-test.js (8 issues) == 64-67: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 76-79: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 81-84: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 86-89: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 91-94: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 96-99: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 103-106: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/defaultPopularRefinements-test.js (2 issues) == 3-9: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 11-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/lifestylePopularRefinements-test.js (2 issues) == 3-9: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 11-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/nearby-test.js (2 issues) == 17-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/nearbyCities-test.js (1 issue) == 3-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/nearbyColleges-test.js (1 issue) == 4-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/nearbyMilitary-test.js (1 issue) == 4-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/nearbyNeighborhoods-test.js (1 issue) == 3-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/popularRefinements-test.js (6 issues) == 18-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 32-38: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 58-64: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 66-78: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 85-91: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 155-161: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/priceUnder-test.js (2 issues) == 18-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 61-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MetaSeo/selectors/tests/searchMetadata-test.js (7 issues) ==
1-356: File searchMetadata-test.js
has 307 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
54-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
119-127: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
154-159: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
162-170: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
287-296: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
310-319: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Modal/components/Modal.tsx (2 issues) ==
53-63: Function componentWillReceiveProps
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
123-163: Function render
has 37 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/MultimediaButtons/MultimediaButtons.tsx (2 issues) == 41-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/MultimediaButtons/tests/MultimediaButtons-test.js (2 issues) == 28-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/NoFavorites/NoFavorites.tsx (1 issue) == 19-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/OpenReviews/tests/Results-test.js (1 issue) == 89-91: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Page/tests/actions-test.js (1 issue) == 8-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Page/tests/pageSelectors-test.js (19 issues) ==
1-572: File pageSelectors-test.js
has 503 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
39-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
50-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-107: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
109-132: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
134-157: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
227-237: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
239-249: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
252-281: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
295-303: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
314-322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
325-353: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
376-384: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
386-394: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
396-404: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
406-414: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
501-510: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
512-521: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
539-548: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Page/tests/reducer-test.js (5 issues) == 32-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 77-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 151-158: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 160-167: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 207-213: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Page/reducer.ts (2 issues) ==
105-108: Avoid too many return
statements within this function. [structure]
133-136: Avoid too many return
statements within this function. [structure]
== src/apps/shared/PercentBar/tests/PercentBar-test.js (1 issue) == 22-27: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/PhoneLink/PhoneLink.tsx (1 issue) == 19-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/PhoneLink/tests/PhoneLink-test.js (2 issues) == 33-36: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 38-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/PhoneNumber/tests/PhoneNumber-test.js (3 issues) == 15-18: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 25-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/PointsOfInterest/Card.tsx (1 issue) ==
20-107: Function Card
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/PointsOfInterest/tests/Card-test.js (10 issues) == 40-42: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 56-58: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 60-62: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 64-66: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 78-80: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 82-84: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 91-93: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 141-143: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 145-147: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 164-166: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/shared/PriceRange/tests/PriceRange-test.js (1 issue) == 13-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/PriceRange/tests/container-test.js (2 issues) == 7-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 23-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/PriceRange/selectors/tests/priceRange-test.js (2 issues) == 15-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 23-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/PrimaryCTA/PrimaryCTA.tsx (1 issue) ==
55-88: Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/PropertySearch/Property.tsx (2 issues) ==
54-85: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
55-63: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/shared/PropertySearch/tests/PropertySearch-test.js (3 issues) == 32-34: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 36-38: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 40-42: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/RadioButton/RadioButton.tsx (1 issue) ==
23-60: Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Ratings/Star.tsx (1 issue) ==
25-61: Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Ratings/Stars.tsx (2 issues) == 22-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 34-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/tests/container-test.js (1 issue) == 30-39: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/tests/reducer-test.js (1 issue) == 27-32: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/Recommendations.tsx (2 issues) ==
43-84: Function render
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
44-55: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/SingleRecommendation/RecommendationInfo.tsx (1 issue) == 4-10: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/SingleRecommendation/SingleRecommendation.tsx (2 issues) ==
41-135: Function SingleRecommendation
has a Cognitive Complexity of 18 (exceeds 5 allowed). Consider refactoring. [structure]
87-121: Function renderLegacyListingRecommendations
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Recommendations/components/SingleRecommendation/tests/Recommendation-test.js (8 issues) == 48-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 54-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 103-106: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 118-138: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 140-160: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 163-171: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 173-176: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/SingleRecommendation/tests/RecommendationAnchorLink-test.js (3 issues) == 7-23: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 26-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/SingleRecommendation/tests/RecommendationInfo-test.js (2 issues) == 20-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 32-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/SingleRecommendation/tests/RecommendationLink-test.js (2 issues) == 6-22: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 25-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/components/tests/Recommendations-test.js (1 issue) == 22-25: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/container.ts (1 issue) == 11-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/selectors/tests/listings-test.js (1 issue) == 37-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Recommendations/selectors/tests/listingsDetail-test.js (1 issue) == 45-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/RenterTypeInput/RenterTypeInput.tsx (3 issues) == 20-26: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 27-33: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 34-40: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ReportedReviews/tests/ReportedIds-test.js (1 issue) == 13-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReportedReviews/components/ReportReview.js (1 issue) == 36-41: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ReportedReviews/selectors/tests/error-test.js (1 issue) == 3-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReportedReviews/selectors/tests/isReporting-test.js (1 issue) == 3-8: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ReportedReviews/selectors/tests/reportedIds-test.js (1 issue) == 3-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Request/tests/reducer-test.js (2 issues) == 8-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Request/selectors/tests/hash-test.js (1 issue) == 11-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Request/selectors/tests/hostname-test.js (1 issue) == 3-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Request/selectors/tests/href-test.js (1 issue) == 4-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Request/selectors/tests/url-test.js (1 issue) == 3-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Request/selectors/tests/view-test.js (1 issue) == 3-19: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyBanner/Banner.tsx (1 issue) == 25-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/FormStep1.tsx (11 issues) ==
59-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
106-118: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
120-132: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
134-146: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
148-160: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
162-179: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
183-185: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
187-266: Function render
has 76 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
212-222: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
223-233: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
242-252: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/FormStep2.tsx (9 issues) ==
62-80: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
82-99: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
101-118: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
120-132: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
134-151: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
155-157: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
159-259: Function render
has 98 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
160-169: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
226-233: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/FormStep3.tsx (1 issue) == 17-59: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/Wizard.tsx (2 issues) ==
92-102: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
116-155: Function render
has 37 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/ReviewNonInventoryPropertyWizard/tests/FormStep2-test.tsx (1 issue) == 36-42: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/tests/FormStep3-test.tsx (1 issue) == 37-43: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/tests/StateSelect-test.tsx (1 issue) == 13-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewNonInventoryPropertyWizard/validations.ts (2 issues) == 43-51: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 81-86: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewStars/tests/RateWithStars-test.tsx (1 issue) == 32-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewStars/tests/RatingCaption-test.tsx (5 issues) == 21-24: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 26-29: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 31-34: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/ReviewStars/tests/RatingInput-test.tsx (2 issues) == 26-29: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Reviews/components/LoadMoreReviews.tsx (1 issue) == 11-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Reviews/components/MarkHelpful.js (1 issue) == 26-31: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Reviews/components/ReviewFeedback.js (1 issue) == 28-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Reviews/components/SortReviews.js (2 issues) ==
20-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
36-65: Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Reviews/components/tests/CertifiedResident-test.js (1 issue) == 8-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Reviews/components/tests/SortReviews-test.js (1 issue) == 35-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Reviews/components/tests/withFetching-test.js (3 issues) == 10-14: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 36-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 47-54: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Router/PageScroll.js (2 issues) ==
33-65: Function UNSAFE_componentWillUpdate
has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring. [structure]
33-65: Function UNSAFE_componentWillUpdate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Router/selectors/tests/isSalesHostname-test.js (2 issues) == 9-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 15-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Router/selectors/tests/location-test.js (1 issue) == 3-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Router/selectors/tests/route-test.js (1 issue) == 3-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Router/selectors/tests/router-test.js (1 issue) == 4-7: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Router/selectors/tests/search-test.js (1 issue) == 5-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SDVAttentionGrabber/tests/SDVAttentionGrabber-test.js (2 issues) == 23-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schema/JsonLdPdpSelectors.ts (4 issues) ==
1-446: File JsonLdPdpSelectors.ts
has 383 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
204-240: Function getPdpOpeningHoursSpecification
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
204-240: Function getPdpOpeningHoursSpecification
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
431-443: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schema/JsonLdSharedSelectors.ts (1 issue) ==
1-318: File JsonLdSharedSelectors.ts
has 260 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
== src/apps/shared/Schema/JsonLdSrpSelectors.ts (3 issues) ==
110-161: Function listingsSelector
has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring. [structure]
110-161: Function listingsSelector
has 42 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
189-201: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schema/tests/JsonLdSelector-test.js (2 issues) == 78-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 90-96: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schema/tests/JsonLdSrpSelectors-test.js (2 issues) == 35-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schema/tests/jsonld-selector-mock-data.js (26 issues) ==
1-1786: File jsonld-selector-mock-data.js
has 1747 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
3-14: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
107-118: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
311-324: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
333-344: Identical blocks of code found in 5 locations. Consider refactoring. [duplication]
398-409: Identical blocks of code found in 5 locations. Consider refactoring. [duplication]
445-469: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
516-540: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
550-567: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
590-607: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
732-743: Identical blocks of code found in 5 locations. Consider refactoring. [duplication]
877-890: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
896-907: Identical blocks of code found in 5 locations. Consider refactoring. [duplication]
919-939: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
941-988: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1039-1086: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1102-1111: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1157-1167: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1197-1207: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
1220-1229: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1427-1437: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1475-1485: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
1564-1574: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
1611-1622: Identical blocks of code found in 5 locations. Consider refactoring. [duplication]
1634-1643: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1749-1769: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/CustomSchools.js (1 issue) ==
5-25: Function grades
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/Schools/SchoolCard.tsx (2 issues) ==
29-64: Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
58-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/SchoolDetails.tsx (2 issues) ==
17-94: Function SchoolDetails
has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring. [structure]
83-91: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/TopRatedSchools.tsx (1 issue) == 107-113: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/TopRatedSchoolsConnected.ts (1 issue) == 12-17: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/tests/GreatSchoolsRating-test.js (6 issues) == 23-25: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 27-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 31-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 43-45: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 47-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 51-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/tests/NearbySchools-test.js (3 issues) == 19-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 34-50: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 51-67: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/tests/SchoolCard-test.js (1 issue) == 19-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/tests/SchoolDetails-test.js (1 issue) == 65-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/tests/fixtures/schools.js (10 issues) == 3-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 17-30: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 31-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 45-58: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 59-72: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 74-90: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 92-106: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 107-121: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 122-136: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 137-151: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/tests/customSchools-test.js (4 issues) == 46-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 58-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-78: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 80-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/selectors/tests/categorizedSchools-test.js (2 issues) == 30-40: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 46-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Schools/selectors/tests/currentSchools-test.js (1 issue) == 22-32: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/Autocomplete/Autocomplete.tsx (2 issues) ==
51-110: Function render
has 52 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
52-66: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/tests/MagnifyingGlass-test.js (1 issue) == 8-18: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/tests/SearchInput-test.js (2 issues) == 8-18: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 20-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/tests/container-test.js (1 issue) == 31-40: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/components/CurrentLocation.tsx (2 issues) == 33-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 45-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/components/SearchBar.tsx (4 issues) ==
1-313: File SearchBar.tsx
has 260 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
11-19: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
253-311: Function render
has 53 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
255-269: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/components/SearchInput.tsx (1 issue) ==
16-46: Function SearchInput
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/SearchBar/components/tests/Location-test.js (3 issues) == 36-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 42-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/components/tests/Locations-test.js (2 issues) == 26-28: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 30-32: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBar/components/tests/SearchBar-test.js (3 issues) == 95-98: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 100-103: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 173-177: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBySchool/components/SearchBySchoolGroup/SearchBySchoolGroup.tsx (1 issue) ==
34-76: Function render
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/SearchBySchool/components/SearchBySchoolGroup/tests/SearchBySchoolGroup-test.js (2 issues) == 20-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 27-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBySchool/components/SearchBySchoolGroups/tests/SearchBySchoolGroups-test.js (3 issues) == 25-31: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 34-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 51-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBySchool/components/SearchBySchoolList/tests/SearchBySchoolList-test.js (1 issue) == 14-20: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchBySchool/components/SearchBySchoolSelectBtn/tests/SearchBySchoolSelectBtn-test.js (1 issue) == 22-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/tests/actions-test.js (3 issues) == 103-114: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-121: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 124-130: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/tests/coercers-test.js (6 issues) == 13-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 24-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 54-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 77-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 95-105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/tests/parseQuery-test.js (24 issues) ==
1-587: File parseQuery-test.js
has 445 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
7-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
15-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
24-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
46-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
54-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
63-70: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
81-88: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
112-118: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
134-140: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
180-186: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
208-214: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
244-268: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
270-294: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
296-320: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
371-377: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
379-385: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
393-400: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
402-409: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
452-461: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
463-472: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
554-563: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
565-574: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
576-585: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/tests/reducer-test.js (14 issues) ==
1-336: File reducer-test.js
has 277 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
190-195: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
197-202: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
219-225: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
227-233: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
235-241: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
243-249: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
251-257: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
259-265: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
267-271: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
273-277: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
279-283: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
291-295: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
297-301: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/tests/refinementsFromCriteria-test.js (1 issue) == 29-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/actions.ts (2 issues) == 24-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 31-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/coercers.js (3 issues) ==
3-27: Function coercePrice
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
23: Avoid too many return
statements within this function. [structure]
26: Avoid too many return
statements within this function. [structure]
== src/apps/shared/SearchCriteria/parseLocation.js (2 issues) ==
19-35: Function propertyTypeSlug
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
34: Avoid too many return
statements within this function. [structure]
== src/apps/shared/SearchCriteria/reducer.ts (14 issues) ==
87-264: Function default
has 154 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
87-264: Function default
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. [structure]
133-175: Consider simplifying this complex logical expression. [structure]
188-193: Avoid too many return
statements within this function. [structure]
196: Avoid too many return
statements within this function. [structure]
208: Avoid too many return
statements within this function. [structure]
212: Avoid too many return
statements within this function. [structure]
216: Avoid too many return
statements within this function. [structure]
219-223: Avoid too many return
statements within this function. [structure]
230-234: Avoid too many return
statements within this function. [structure]
237-240: Avoid too many return
statements within this function. [structure]
245-248: Avoid too many return
statements within this function. [structure]
251: Avoid too many return
statements within this function. [structure]
255-258: Avoid too many return
statements within this function. [structure]
== src/apps/shared/SearchCriteria/selectors/tests/airConditioning-test.js (1 issue) == 3-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/baths-test.js (1 issue) == 12-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/bedroomRange-test.js (1 issue) == 12-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/criteriaPath-test.js (1 issue) == 40-50: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/distance-test.js (1 issue) == 3-19: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/hasAnyRefinements-test.js (2 issues) == 9-12: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 14-17: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/hasPriceChange-test.js (3 issues) == 4-14: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 16-26: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 28-36: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/laundry-test.js (1 issue) == 3-19: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/lifestyles-test.js (1 issue) == 12-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/listUrlFromCriteria-test.js (5 issues) == 8-17: Identical blocks of code found in 4 locations. Consider refactoring. [duplication] 36-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 64-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 77-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 93-103: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/listUrlQueryParams-test.js (2 issues) == 32-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/neighborhoodCriteria-test.js (4 issues) == 10-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 29-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 47-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/neighborhoodLanderUrl-test.js (1 issue) == 4-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/pageNumber-test.js (2 issues) == 5-8: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 11-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/pageSize-test.js (9 issues) == 82-89: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 91-98: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 100-107: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 109-116: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 118-125: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 127-134: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 136-143: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 157-163: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 165-171: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/pathSelectorFactory-test.js (1 issue) == 30-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/pets-test.js (1 issue) == 3-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/priceRange-test.js (1 issue) == 12-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/rating-test.js (1 issue) == 4-20: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/refinements-test.js (5 issues) == 13-21: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 23-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 33-41: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 54-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 62-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/tests/searchUrl-test.js (3 issues) == 29-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-59: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 74-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SearchCriteria/selectors/listUrlQueryParams.ts (1 issue) ==
21-53: Function listUrlQueryParamsSelector
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/SearchCriteria/selectors/pathSelectorFactory.js (1 issue) ==
24-38: Function pathSelectorFactory
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/SearchCriteria/thunks.js (1 issue) ==
11-22: Function fetchAndParseLocation
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/Sitemap/SitemapCityContent.tsx (7 issues) == 49-62: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 63-76: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 77-90: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 91-104: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 117-128: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 129-140: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 141-152: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Sitemap/tests/SitemapBreadCrumbs-test.js (3 issues) == 26-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 31-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 36-40: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Sitemap/tests/SitemapCityContent-test.js (8 issues) == 20-24: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 29-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 47-51: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 63-66: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 67-70: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/shared/Sitemap/tests/SitemapStateContent-test.js (9 issues) == 20-24: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 29-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 33-36: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 61-64: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 65-68: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 69-72: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/shared/Sitemap/tests/mockData.js (5 issues) == 3-19: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 38-55: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 74-90: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 124-143: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 144-163: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/StateContent/components/StateContent.tsx (2 issues) ==
50-100: Function renderlinks
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
108-111: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Static/RefinementLandingPage/tests/RefinementLandingPage-test.js (3 issues) == 29-32: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 49-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Static/RefinementLandingPage/tests/container-test.js (4 issues) == 34-36: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 38-40: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 42-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 46-48: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/SubmitReviewForm/SubmitReviewForm.tsx (8 issues) ==
64-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-101: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
103-115: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
117-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
137-155: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
159-161: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
163-241: Function render
has 76 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
213-220: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SubmitReviewForm/tests/SubmitReviewForm-test.tsx (4 issues) == 41-44: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 122-125: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 156-170: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 172-186: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/SubmitReviewForm/container.ts (1 issue) == 8-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/SubmitReviewForm/validations.ts (1 issue) == 26-34: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/SubmitReviewPage/tests/connect-test.js (2 issues) == 9-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/tests/actions-test.js (4 issues) == 17-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/tests/container-test.js (12 issues) == 77-80: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 89-94: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 96-101: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 103-108: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 117-122: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 124-129: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 131-136: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 138-143: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 145-150: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 152-157: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 159-164: Similar blocks of code found in 11 locations. Consider refactoring. [duplication] 166-171: Similar blocks of code found in 11 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/components/tests/PageView-test.js (2 issues) == 28-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/components/tests/Tagging-test.js (1 issue) == 7-10: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/components/tests/Tracker-test.js (1 issue) == 21-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/selectors/tests/location-test.js (8 issues) == 37-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 57-62: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 79-87: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 89-97: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 99-107: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 109-117: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 119-127: Similar blocks of code found in 6 locations. Consider refactoring. [duplication] 129-137: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/selectors/tests/searchTags-test.js (11 issues) ==
1-439: File searchTags-test.js
has 394 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
102-106: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
108-112: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
146-150: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
172-176: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
178-182: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
184-188: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
201-230: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
232-261: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
314-327: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
328-341: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/selectors/tests/selectedListingTagInfo-test.js (8 issues) == 65-76: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 78-89: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 118-123: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 125-130: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 132-137: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 158-167: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 169-179: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 181-191: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/Tracking/selectors/location.ts (1 issue) ==
33-56: Function getFullProfileForTagging
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/Tracking/selectors/searchTags.js (2 issues) ==
40-111: Function refinementsTag
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. [structure]
40-111: Function refinementsTag
has 68 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/TransitScores/TransitScores.tsx (1 issue) ==
49-127: Function render
has 70 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Trends/components/BICTrendsTable/BICTrendsTable.tsx (3 issues) ==
8-16: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
43-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
118-147: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/shared/Trends/components/BICTrendsTable/tests/BICTrendsTable-test.js (5 issues) == 35-38: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 40-43: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 45-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 55-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-86: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/shared/Trends/components/BICTrendsTable/container.ts (1 issue) == 12-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Trends/components/TrendsTable/TrendsTable.tsx (2 issues) == 8-16: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 23-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Trends/components/TrendsTable/tests/TrendsTable-test.js (4 issues) == 35-38: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 40-43: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 45-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 55-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Trends/components/TrendsTable/container.ts (1 issue) == 12-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Trends/components/fixtures/TrendsTable-fixtures.ts (1 issue) == 8-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Truesearch/components/TruesearchDialog/TruesearchDialogConnected.ts (1 issue) == 11-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/Truesearch/components/TruesearchPill/TruesearchPill.tsx (2 issues) ==
36-64: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
37-45: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/shared/Truesearch/components/TruesearchPill/tests/TruesearchPill-test.js (6 issues) == 32-36: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 38-42: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 44-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-54: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 56-60: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 78-81: Similar blocks of code found in 26 locations. Consider refactoring. [duplication]
== src/apps/shared/URL/tests/cityState-test.js (4 issues) == 4-15: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 17-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 29-39: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 41-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/URL/tests/geolocation-test.js (2 issues) == 4-14: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 16-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/shared/URL/tests/reviews-test.js (2 issues) == 14-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/URL/selectors/tests/sales-test.js (2 issues) == 4-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 17-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/User/components/ErrorMessage/ErrorMessage.tsx (1 issue) ==
12-41: Function ErrorMessage
has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/shared/User/components/LoginModalButton/tests/LoginModalButton-test.js (6 issues) == 15-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 20-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 25-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 42-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/User/selectors/tests/email-test.js (1 issue) == 4-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/User/selectors/tests/isLoggedIn-test.js (1 issue) == 3-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/shared/User/thunks.js (1 issue) ==
16-36: Function fetchUserId
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/small/ActionSheetOverlay/tests/actions-test.js (1 issue) == 11-15: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/ActionSheetOverlay.tsx (2 issues) ==
37-80: Function render
has 40 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
38-46: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/CertifiedResident.js (1 issue) == 12-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/ReportReview/ReportReview.js (1 issue) == 18-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/ShareActions/ShareActions.js (1 issue) == 68-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/ShareButtons/Pinterest.js (1 issue) == 36-41: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/ShareButtons/ShareButton.js (1 issue) == 16-21: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/ShareButtons/tests/SmsButton-test.js (6 issues) == 30-40: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 42-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 54-64: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 68-83: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 85-100: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 102-117: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/tests/ActionSheetOverlay-test.js (2 issues) == 16-20: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 22-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ActionSheetOverlay/components/tests/CertifiedResident-test.js (2 issues) == 11: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/App/tests/actions-test.js (2 issues) == 14-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-36: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/App.tsx (2 issues) == 68-83: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 95-106: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/Error.tsx (2 issues) == 7-11: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 13-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/tests/App-test.js (5 issues) == 19-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 33-36: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 38-41: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 68-74: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/tests/Error.dev-test.jest.js (1 issue) == 9-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/tests/Error.prod-test.jest.js (1 issue) == 9-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/tests/Error.qa-test.jest.js (1 issue) == 9-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/small/App/components/tests/Error.review-test.jest.js (1 issue) == 9-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/small/AvailabilityUnknown/tests/AvailabilityUnknown-test.js (1 issue) == 7-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/CallsToAction/TextButton/tests/TextButton-test.js (1 issue) == 17-20: Similar blocks of code found in 6 locations. Consider refactoring. [duplication]
== src/apps/small/CallsToAction/TextButton/tests/container-test.js (2 issues) == 20-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 42-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ContentCarousel/components/ContentCarousel.tsx (3 issues) == 52-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 65-76: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 83-92: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/DialogPopup/components/DialogPopup.tsx (1 issue) ==
61-119: Function render
has 56 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/DialogPopup/components/tests/DialogPopup-test.js (4 issues) == 68-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 84-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 139-159: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FavoritesBar/tests/FavoriteConnected-test.js (1 issue) == 17-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FavoritesBar/tests/FavoritesBar-test.js (2 issues) == 32-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FavoritesBar/tests/FavoritesBarConnected-test.js (1 issue) == 12-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FilterButton/FilterButton.js (1 issue) == 6-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FilterSRPCard/InlineBathroomFilterCard.js (2 issues) == 8-14: Identical blocks of code found in 4 locations. Consider refactoring. [duplication] 56-60: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FilterSRPCard/InlineBedroomFilterCard.js (2 issues) == 8-14: Identical blocks of code found in 4 locations. Consider refactoring. [duplication] 36-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FilterSRPCard/InlinePetFilterCard.js (1 issue) == 8-14: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/FilterSRPCard/InlinePriceFilterCard.js (3 issues) ==
9-15: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
37-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
63-95: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/FilterSRPCard/InlineTourFilterCard.tsx (1 issue) ==
38-69: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/FilterSRPCard/tests/InlineBathroomFilterCard-test.js (1 issue) == 42-46: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FilterSRPCard/tests/InlineBedroomFilterCard-test.js (1 issue) == 7-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/FilterSRPCard/tests/InlinePriceFilterCard-test.js (1 issue) == 7-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Floorplans/DetailsConnected.tsx (8 issues) ==
43-44: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
46-55: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
60-65: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
67-107: Function mapStateToProps
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
67-107: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
109-118: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
120-135: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
143-151: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Floorplans/DetailsContainer.tsx (8 issues) ==
48-49: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
51-60: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
65-70: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
72-112: Function mapStateToProps
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
72-112: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
114-123: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
125-140: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
148-156: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Floorplans/tests/Details-test.js (1 issue) == 67-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Floorplans/tests/FloorplanUla-test.js (5 issues) == 37-48: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 50-61: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 68-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 75-80: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 83-94: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Floorplans/tests/Floorplans-test.js (3 issues) == 26-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 31-34: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Floorplans/tests/Unit-test.js (1 issue) == 32-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Gallery/components/Gallery.tsx (4 issues) ==
1-293: File Gallery.tsx
has 256 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
121-130: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
233-289: Function render
has 52 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
234-243: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/small/Gallery/components/tests/Gallery-test.js (1 issue) == 66-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Gallery/components/tests/GalleryAds-test.js (2 issues) == 31-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/HdMediaModal/HdMediaModal.tsx (1 issue) ==
26-70: Function HdMediaModal
has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/small/Home/components/DiamondMax.tsx (2 issues) ==
79-149: Function DiamondMax
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
79-149: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/Home/components/Home.tsx (1 issue) ==
55-152: Function render
has 85 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/Home/components/tests/DiamondMax-test.js (2 issues) == 76-79: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 92-102: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Home/components/tests/Home-test.js (2 issues) == 86-89: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 91-94: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/HybridHeader/HybridHeader.js (1 issue) ==
25-59: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/HybridHeader/Small.tsx (3 issues) ==
25-62: Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
41-47: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
49-54: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/HybridHeader/tests/HybridHeader-test.js (1 issue) == 7-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/HybridHeader/tests/Small-test.js (2 issues) == 24-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 29-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Layout/Layout.tsx (1 issue) ==
65-118: Function render
has 49 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/Layout/tests/Layout-test.js (10 issues) == 19-22: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 29-32: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 34-37: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 39-42: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 49-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 54-57: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 59-62: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 64-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-72: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/Layouts/Search/Layout.tsx (2 issues) ==
25-74: Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
26-36: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/Layouts/Search/tests/Layout-test.js (4 issues) == 12-15: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 22-25: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 32-36: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 38-42: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/LeadModal/components/LeadFormHeader/LeadFormHeader.tsx (1 issue) ==
22-56: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/LeadModal/components/LeadModal.tsx (1 issue) ==
44-72: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/LeadModal/components/tests/LeadModal-test.js (1 issue) == 48-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LeadSuccessModal/components/LeadSuccessModal.tsx (1 issue) == 58-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LeadSuccessModal/components/RecommendedListing.tsx (3 issues) ==
52-158: Function render
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
52-158: Function render
has 97 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
53-71: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LeadSuccessModal/components/RecommendedListingConnected.ts (1 issue) ==
35-75: Function makeMapStateToProps
has 37 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/LeadSuccessModal/components/RecommendedListings.tsx (1 issue) ==
23-76: Function render
has 48 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/LeadSuccessModal/components/tests/RecommendedListing-test.js (1 issue) == 70-72: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/LinkAccordion/Links.tsx (2 issues) ==
20-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
30-64: Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/tests/closeButtonSelector-test.js (2 issues) == 47-56: Identical blocks of code found in 4 locations. Consider refactoring. [duplication] 81-90: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/tests/container-test.js (9 issues) ==
39-97: Function setup
has 56 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
110-115: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
134-139: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
141-147: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
149-155: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
157-162: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
166-170: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
172-176: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
178-183: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/tests/hashPhotoIdSelector-test.js (1 issue) == 11-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/tests/isModalVisible-test.js (2 issues) == 4-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 18-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/tests/listingIdSelector-test.js (1 issue) == 3-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/tests/thunks-test.js (4 issues) == 75-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 89-101: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 118-130: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 132-144: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/CTA/tests/CTA-test.js (7 issues) == 36-39: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 51-54: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 61-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/CTA/tests/container-test.js (1 issue) == 36-41: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/DelayedPopupCTA/DelayedPopupCTA.tsx (1 issue) ==
29-70: Function DelayedPopupCTA
has 38 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/components/Header/components/tests/Header-test.js (2 issues) == 43-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 62-65: Similar blocks of code found in 26 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/ListingDetails.tsx (1 issue) ==
163-245: Function render
has 75 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/components/PdpTopHeader.tsx (2 issues) == 29-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 37-44: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Schools/components/Schools.js (1 issue) ==
39-70: Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/components/Schools/components/tests/Schools-test.js (5 issues) == 8-14: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 16-22: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 24-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 32-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 40-46: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Schools/selectors/tests/display-test.js (2 issues) == 12-26: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 38-52: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/SectionComponents.tsx (5 issues) ==
1-318: File SectionComponents.tsx
has 293 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
116-124: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
211-222: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
226-236: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
268-307: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Details/components/Details.tsx (5 issues) ==
42-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
75-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-171: Function DETAILS_SUBSECTIONS.propertyDetails
has 84 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
109-113: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
126-134: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Details/components/Fees/FeesSection.tsx (1 issue) == 30-33: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Details/components/Fees/tests/FeesSection-test.js (1 issue) == 9-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Details/components/Pets/tests/PetsSection-test.js (5 issues) == 33-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 45-48: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 50-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 55-58: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 60-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Details/components/tests/Details-test.js (12 issues) ==
1-307: File Details-test.js
has 282 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
149-152: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
153-156: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
157-160: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
163-166: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
168-171: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
173-176: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
180-183: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
184-187: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
227-231: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
233-237: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
245-248: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Floorplans/container.tsx (1 issue) == 31-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Photos/components/Photos.tsx (3 issues) ==
46-93: Function render
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
46-93: Function render
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
47-55: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Photos/components/tests/Photos-test.js (6 issues) == 35-38: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 45-48: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 51-54: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 63-66: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 87-90: Similar blocks of code found in 15 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Photos/selectors.js (1 issue) ==
39-71: Function augmentPhotoFactory
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/components/Sections/Reviews/components/CertifiedResidentContainer.ts (1 issue) == 20-28: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Reviews/components/RatingsAndReviews.tsx (1 issue) ==
46-77: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/components/Sections/Reviews/components/ReportContainer.ts (1 issue) == 25-33: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Reviews/components/Reviews.tsx (2 issues) ==
64-109: Function render
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
65-77: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Reviews/components/tests/DefaultComment-test.js (1 issue) == 7-12: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/Reviews/components/tests/Reviews-test.js (5 issues) == 42-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 76-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 89-107: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/VideoTours/Video.tsx (1 issue) == 32-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/VideoTours/tests/VideoTours-test.js (4 issues) == 8-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 34-37: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 42-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-54: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/Sections/VideoTours/tests/Videos-test.js (6 issues) == 8-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 32-35: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 37-40: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 42-46: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 48-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 54-57: Similar blocks of code found in 15 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/SeoLinks.tsx (2 issues) == 9-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 22-97: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/ShareButton/tests/ShareButton-test.js (1 issue) == 30-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/SimilarProperties/Property/Property.tsx (3 issues) ==
26-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
31-85: Function render
has 52 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
32-43: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/SimilarProperties/SimilarProperties.tsx (1 issue) ==
48-85: Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/components/SimilarProperties/tests/SimilarProperties-test.js (1 issue) == 30-33: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/SimilarProperties/container.ts (1 issue) == 9-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/tests/ListingDetails-test.js (12 issues) ==
1-307: File ListingDetails-test.js
has 258 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
168-172: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
174-178: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
180-185: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
187-192: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
202-207: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
208-211: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
215-220: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
224-236: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
238-250: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
296-299: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
301-304: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/tests/PropertyWebsite-test.js (3 issues) == 6-11: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 38-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 42-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/components/tests/SeoLinks-test.js (1 issue) == 15-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/ListingDetails/container.ts (2 issues) ==
64-114: Function mapStateToProps
has 46 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
116-151: Function mapDispatchToProps
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/ListingDetails/thunks.ts (1 issue) ==
20-49: Function openListingDetails
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/small/LocalGuideBIC/LocalGuideHeader/LocalGuideHeader.tsx (1 issue) == 37-40: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/LocalGuideHeader/tests/LocalGuideHeader-test.js (3 issues) == 25-33: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 40-57: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 88-131: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/LocalGuideInlineCard/InlineLocalGuideCard.tsx (3 issues) == 25-28: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 46-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/LocalGuideInlineCard/tests/InlineLocalGuideCard-test.js (4 issues) == 16-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 35-41: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 43-49: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 51-58: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/PointsOfInterest/PointsOfInterest.tsx (4 issues) ==
34-40: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
59-67: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
69-123: Function render
has 47 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
93-96: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/PointsOfInterest/PointsOfInterestConnected.ts (1 issue) == 8-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/PointsOfInterest/TempPointsOfInterest.tsx (4 issues) ==
32-38: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
40-48: Identical blocks of code found in 4 locations. Consider refactoring. [duplication]
50-106: Function render
has 48 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
74-77: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/PointsOfInterest/tests/PointsOfInterest-test.js (3 issues) == 25-30: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/LocalGuideBIC/PointsOfInterest/tests/TempPointsOfInterest-test.js (4 issues) == 25-30: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 46-49: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/OAuth.ts (1 issue) == 1-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/LoginButton.tsx (1 issue) == 11-29: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/LoginModal.tsx (1 issue) == 126-131: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/ConfirmPasswordForm.tsx (5 issues) ==
36-43: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
45-53: Identical blocks of code found in 6 locations. Consider refactoring. [duplication]
72-80: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
82-144: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
82-144: Function render
has 58 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/LoginModal/components/forms/LoginForm.tsx (7 issues) ==
24-34: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
41-51: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
53-61: Identical blocks of code found in 6 locations. Consider refactoring. [duplication]
67-80: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
82-90: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
92-210: Function render
has 108 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
118-209: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/ResetPasswordForm.tsx (6 issues) == 16-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 31-37: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 47-49: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 62-70: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 80-113: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 115-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/SignUpForm.tsx (8 issues) ==
1-296: File SignUpForm.tsx
has 262 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
24-40: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
47-60: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
62-70: Identical blocks of code found in 6 locations. Consider refactoring. [duplication]
76-103: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
105-113: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
120-292: Function render
has 159 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
160-276: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/tests/ConfirmPasswordForm-test.js (2 issues) == 17-22: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 24-29: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/tests/LoginForm-test.js (2 issues) == 25-30: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 32-37: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/tests/ResetPasswordForm-test.js (1 issue) == 17-22: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/components/forms/tests/SignUpForm-test.js (1 issue) == 9-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/LoginModal/container.ts (1 issue) == 37-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/MapListingCard/components/MapListingCard.tsx (1 issue) ==
33-83: Function render
has 48 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/MapSearch/MapView.tsx (3 issues) ==
237-295: Function render
has 55 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
238-246: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
278-286: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/MapSearch/tests/MapView-test.js (3 issues) == 67-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 174-177: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 186-189: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/MapSearch/tests/SchoolPopup-test.js (1 issue) == 11-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/MapSearch/container.tsx (2 issues) == 27-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Menu/Menu.tsx (3 issues) == 61-70: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 120-125: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 126-131: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Menu/MenuItem.tsx (4 issues) ==
18-76: Function MenuItem
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
18-76: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
35-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
51-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Menu/MenuSection.tsx (1 issue) ==
39-84: Function render
has 41 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/Menu/tests/Menu-test.js (9 issues) == 37-42: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 44-48: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 50-54: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 62-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 68-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 92-96: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 98-102: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 138-143: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Menu/tests/MenuItem-test.js (1 issue) == 29-32: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/Menu/tests/MenuSection-test.js (2 issues) == 48-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 53-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Menu/container.ts (1 issue) == 17-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/MenuFooter/MenuFooter.js (6 issues) ==
23-115: Function render
has 90 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
46-56: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
57-67: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
68-78: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
79-89: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
90-100: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/MenuFooter/tests/MenuFooter-test.js (1 issue) == 11-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Nearby/Nearby.js (4 issues) == 22-77: Consider simplifying this complex logical expression. [structure] 30-37: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 39-46: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 48-55: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Nearby/tests/container-test.js (2 issues) == 31-70: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 72-110: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/OpenReviews/OpenReviews.js (1 issue) == 16-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/PhoneNumber/PhoneNumber.js (1 issue) == 25-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPLayout/LoadResults.js (1 issue) == 164-170: Consider simplifying this complex logical expression. [structure]
== src/apps/small/SRPLayout/PopularLinks.js (1 issue) ==
43-105: Function render
has 59 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPLayout/SRPLayout.tsx (4 issues) ==
102-180: Function render
has 72 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
103-118: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
156-161: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
169-174: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPLayout/tests/LoadResults-test.js (3 issues) == 28-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPLayout/tests/PopularLinks-test.js (2 issues) == 19-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 57-65: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPLayout/tests/SRP-test.js (10 issues) == 36-46: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 56-59: Similar blocks of code found in 26 locations. Consider refactoring. [duplication] 78-81: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 144-147: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 149-152: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 154-157: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 159-162: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 164-167: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 169-172: Similar blocks of code found in 15 locations. Consider refactoring. [duplication] 233-243: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPLayout/tests/mocks/SRPListings.js (3 issues) == 2-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 13-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 27-37: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/SRPList/components/tests/SRPList-test.js (6 issues) == 92-103: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 106-129: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 131-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 139-160: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 169-180: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 252-263: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/MobileSrpBoost/AsyncMobileSrpBoostCard.tsx (1 issue) == 4-6: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/MobileSrpBoost/ConnectedMobileSrpBoostCard.ts (1 issue) ==
24-56: Function makeMapStateToProps
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPListing/MobileSrpBoost/ListingDrawer/ListingDrawer.tsx (2 issues) ==
31-34: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
47-87: Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPListing/MobileSrpBoost/MobileSrpBoostCard.tsx (7 issues) ==
39-42: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
44-50: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
52-147: Function render
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
52-147: Function render
has 86 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
53-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
74-145: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
127-135: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/MobileSrpBoost/tests/MobileSRpBoostCard-test.js (6 issues) == 51-54: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 61-64: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 66-69: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 76-79: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 89-92: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/SRPListing.tsx (1 issue) == 19-52: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/LNPListing/LNPListing.tsx (4 issues) ==
29-34: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
36-89: Function render
has 51 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
37-47: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
72-78: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/LNPListing/tests/LNPListing-test.js (1 issue) == 36-39: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/Listing/AsyncListing.tsx (1 issue) == 4-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/Listing/ConnectedListing.ts (1 issue) ==
29-63: Function makeMapStateToProps
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPListing/components/Listing/Listing.tsx (7 issues) ==
51-54: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
66-71: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
85-191: Function render
has 103 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
85-191: Function render
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. [structure]
86-103: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
114-189: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
146-152: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/Listing/tests/Listing-test.js (3 issues) == 54-62: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 64-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 110-113: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/ListingPhoto/Photo.tsx (2 issues) ==
33-65: Function sourceTags
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
67-101: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPListing/components/LovelyListing/LovelyListing.tsx (4 issues) ==
37-42: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
44-112: Function render
has 65 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
45-57: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
92-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListing/components/LovelyListing/tests/LovelyListing-test.js (1 issue) == 35-38: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListingDrawer/CTA.tsx (1 issue) ==
16-47: Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPListingDrawer/Floorplan/Floorplan.tsx (2 issues) ==
45-92: Function render
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
46-55: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/small/SRPListingDrawer/FloorplanSlider/FloorplanSlider.tsx (1 issue) ==
32-88: Function render
has 52 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SRPListingDrawer/ListingDrawer.tsx (4 issues) ==
27-30: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
32-38: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
40-89: Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
64-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SearchBySchool/components/InlineSearchBySchoolCard/tests/InlineSearchBySchool-test.js (1 issue) == 25-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SearchBySchool/components/SearchBySchoolModal/SearchBySchoolModal.tsx (2 issues) ==
26-64: Function render
has 36 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
30-62: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SearchModeToggle/SearchModeToggle.tsx (2 issues) ==
24-56: Function render
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
24-56: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SearchSort/SearchSort.tsx (1 issue) ==
81-125: Function render
has 42 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/small/SearchSort/tests/SearchSort-test.js (5 issues) == 41-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 54-65: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 67-78: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 81-89: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 91-99: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SearchSort/selectors/tests/sortSelectOptionSelector-test.js (1 issue) == 3-13: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/SmoothScrollGallery/tests/SmoothScrollGallery-test.js (2 issues) == 89-94: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 96-101: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/CollegeLander/CollegeLander.js (1 issue) == 52-58: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/Static/CollegeLander/tests/container-test.js (1 issue) == 4-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Static/CollegeStateLander/tests/container-test.js (1 issue) == 6-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/CollegeStateLander/container.tsx (1 issue) == 11-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/ContactUs/ContactUs.js (2 issues) == 20-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 54-59: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Static/ContactUs/tests/ContactUs-test.js (1 issue) == 7-13: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/small/Static/ContactUs/tests/container-test.js (1 issue) == 11-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/CorporateLander/CorporateLander.js (2 issues) == 31-38: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 42-48: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/Static/CorporateLander/tests/container-test.js (1 issue) == 4-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Static/Generic/tests/SmallRefinementLandingPage-test.js (1 issue) == 5-10: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
== src/apps/small/Static/MilitaryLander/MilitaryLander.js (2 issues) == 34-41: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 50-56: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/Static/MilitaryStateLander/tests/container-test.js (1 issue) == 6-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/MilitaryStateLander/container.tsx (1 issue) == 11-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/MobileApp/tests/AppLink-test.js (5 issues) == 10-18: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 20-28: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 30-38: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 42-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 50-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/NeighborhoodsLander/tests/NeighborhoodsLander-test.js (1 issue) == 38-42: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/SeniorLander/SeniorLander.js (2 issues) == 33-40: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 44-50: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/small/Static/SeniorLander/tests/container-test.js (1 issue) == 4-31: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Static/Sitemap/Sitemap.js (5 issues) == 9-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 70-83: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 97-110: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 118-124: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 127-133: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/Sitemap/tests/Sitemap-test.js (6 issues) == 57-58: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 59-60: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 61-62: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 63-64: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 65: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Static/Sitemap/tests/container-test.js (1 issue) == 12-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SubmitReviewPage/components/tests/ReviewForm-test.js (1 issue) == 19-22: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/SubmitReviewPage/components/tests/SubmitReviewPage-test.js (3 issues) == 10-13: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 112-115: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-120: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/SubmitReviewPage/components/tests/ThankYou-test.js (2 issues) == 12-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 24-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Tracking/tests/selectors-test.js (5 issues) == 27-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-55: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 57-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 84-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Tracking/selectors.js (1 issue) == 35-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Truesearch/components/Header/Header.tsx (4 issues) ==
51-108: Function render
has 54 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
52-60: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
80-86: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
87-92: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/Truesearch/components/Header/tests/Header-test.js (2 issues) == 22: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 33-37: Similar blocks of code found in 26 locations. Consider refactoring. [duplication]
== src/apps/small/Truesearch/components/SearchModal/SearchModalConnected.tsx (1 issue) == 37-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/Truesearch/components/SearchWithTooltip/SearchWithTooltipThemed.tsx (1 issue) == 8-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/reducer.js (2 issues) == 53-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/routes/tests/detailPageRoutes-test.js (4 issues) == 17-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 51-64: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 98-111: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 137-146: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/small/routes/tests/searchPageRoutes-test.js (9 issues) == 16-19: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 70-75: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 83: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 85-97: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 99-110: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 136-141: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 149-154: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 156-168: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 170-181: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/routes/tests/staticPageRoutes-test.js (3 issues) == 8-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 24-66: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 70-130: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/routes/countyRoutes.ts (1 issue) == 7-20: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/store.js (1 issue) == 16-28: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/small/withScrollLock/withScrollLock.tsx (1 issue) ==
11-57: Function withScrollLock
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/store/actions/tests/MapSearch-test.js (1 issue) == 12-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/content-test.js (1 issue) == 10-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/favorites-test.js (2 issues) == 71-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 86-99: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/filters-test.js (2 issues) == 19-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/geoLocation-test.js (1 issue) == 13-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/listings-test.js (1 issue) == 9-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/primaryCTA-test.js (1 issue) == 5-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/reviews-test.ts (4 issues) == 53-65: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 67-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 93-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 100-105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/schools-test.js (2 issues) == 11-18: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 20-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/searchBySchool-test.js (5 issues) == 32-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-45: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 68-76: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 78-86: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 88-96: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/toasts-test.js (3 issues) == 41-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 54-65: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 67-78: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/actions/tests/user-test.js (7 issues) == 36-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 45-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 108-112: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 114-120: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 122-128: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 157-161: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 163-167: Similar blocks of code found in 9 locations. Consider refactoring. [duplication]
== src/apps/store/actions/favorites.ts (2 issues) == 23-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/metaSeo.ts (2 issues) ==
45: Avoid too many return
statements within this function. [structure]
48: Avoid too many return
statements within this function. [structure]
== src/apps/store/actions/reviews.ts (2 issues) == 91-96: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 107-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/schools.ts (2 issues) == 10-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/truesearch.ts (1 issue) == 60-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/actions/user.ts (2 issues) == 105-110: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 112-117: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/tests/getPoints-epic-test.js (3 issues) == 26-36: Similar blocks of code found in 10 locations. Consider refactoring. [duplication] 58-68: Similar blocks of code found in 10 locations. Consider refactoring. [duplication] 90-100: Similar blocks of code found in 10 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/tests/mapInteractions-test.js (5 issues) == 9-18: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 66-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-74: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 82-86: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 88-92: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/tests/mapMarkers-test.ts (5 issues) == 53-63: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 94-104: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 138-148: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 181-191: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 230-240: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/tests/mocks/getPointsData.mock.js (2 issues) ==
1-304: File getPointsData.mock.js
has 303 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
16-27: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/tests/scrollListingGridOnLocationChange-test.js (1 issue) == 34-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/tests/scrollSrpSectionOnLoad-test.js (3 issues) == 55-67: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 82-94: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 107-119: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/getPoints.ts (1 issue) == 67-69: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/large/pinClick.ts (2 issues) ==
55-101: Function mapPinClickEpic
has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring. [structure]
59-100: Function mapPinClickEpic
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/store/epics/large/scrollSrp.ts (2 issues) ==
16-33: Function scrollSrpSectionOnLoad
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
23-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/adLoadAfterSearch-test.js (2 issues) == 46-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/analytics-test.js (3 issues) ==
1-357: File analytics-test.js
has 326 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
93-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
106-117: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/doNotSellUserData-test.js (3 issues) == 61-71: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 96-106: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 131-141: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/getShapeGeoJson-epic-test.js (5 issues) == 25-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 77-87: Similar blocks of code found in 10 locations. Consider refactoring. [duplication] 118-128: Similar blocks of code found in 10 locations. Consider refactoring. [duplication] 160-170: Similar blocks of code found in 10 locations. Consider refactoring. [duplication] 226-272: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/leadForm-epic-test.js (12 issues) ==
1-677: File leadForm-epic-test.js
has 595 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
72-76: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
78-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
90-94: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
276-298: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
300-322: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
360-367: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
407-414: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
535-538: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
628-638: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
640-650: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/localGuide-epic-test.js (2 issues) == 50-60: Similar blocks of code found in 10 locations. Consider refactoring. [duplication] 99-109: Similar blocks of code found in 10 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/mocks/getGeoJsonData.mock.js (2 issues) ==
1-1195: File getGeoJsonData.mock.js
has 1194 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
3-14: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/primaryCTA-test.js (2 issues) == 56-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 95-107: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/redirect-epic-test.js (6 issues) == 17-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 89-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 122-137: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 163-178: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 201-216: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 236-251: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/scroll-test.js (5 issues) ==
1-317: File scroll-test.js
has 274 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
158-167: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
201-210: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
222-230: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
281-289: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/searchBySchool-epic-test.js (4 issues) == 25-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-46: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 72-81: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 102-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/truesearch-test.js (11 issues) ==
1-463: File truesearch-test.js
has 411 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
34-45: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
58-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
106-117: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
127-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
269-280: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
311-334: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
352-375: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
381-394: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
427-440: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
442-459: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/tests/user-test.js (2 issues) == 41-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 81-91: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/localGuide.ts (1 issue) ==
38-62: Function openLocalGuideWithHash
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/store/epics/shared/nightwatchListener.ts (1 issue) ==
84-125: Function nightwatchListenerEpic
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/store/epics/shared/openReviews.ts (2 issues) == 48-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 79-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/redirect.ts (1 issue) ==
38-65: Function redirectUntilNewRedirectEpic
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/store/epics/shared/reviews.ts (4 issues) == 21-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 48-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/routeTransitions/routeTransitionEpic.ts (1 issue) ==
31-70: Function routeTransitionEpicFactory
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/store/epics/shared/scroll.ts (3 issues) ==
56-103: Function handlePdpScroll
has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring. [structure]
62-102: Function handlePdpScroll
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
101: Avoid too many return
statements within this function. [structure]
== src/apps/store/epics/shared/searchInput/tests/searchOnSelection-test.js (4 issues) == 16-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 91-97: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 99-105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/shared/searchInput/fetchAutocomplete.ts (1 issue) ==
35-58: Function createOneShotCloseWatcher
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/store/epics/small/tests/changePhotoOnPageLoad-test.js (2 issues) == 58-76: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 78-96: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/delayedPopupCTA-test.js (9 issues) ==
1-381: File delayedPopupCTA-test.js
has 328 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
116-130: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
132-146: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
148-162: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
206-210: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
260-264: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
281-285: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
303-313: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
315-325: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/leadSuccess-test.js (9 issues) ==
1-507: File leadSuccess-test.js
has 448 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
90-100: Similar blocks of code found in 10 locations. Consider refactoring. [duplication]
123-132: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
167-176: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
191-208: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
269-285: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
304-320: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
341-357: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
381-398: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/mocks/getGeoJsonData.mock.js (1 issue) == 3-14: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/modalUrlParams-test.js (2 issues) == 91-109: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 112-130: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/scrollOnRender-test.js (1 issue) == 26-30: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/scrollOnSrpMobile-test.js (2 issues) == 70-74: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 193-215: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/scrollPdpSectionOnLoad-test.js (3 issues) == 136-158: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 163-180: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 212-223: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/tests/setUnconfirmedAndHide-test.js (1 issue) == 18-28: Similar blocks of code found in 10 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/getPoints.ts (1 issue) == 68-70: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/epics/small/modalUrlParams.ts (1 issue) ==
134-156: Function closeFormsOnPdpWithOutQueryParams
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/apps/store/epics/small/scrollOnSrpMobile.ts (3 issues) ==
48-69: Function scrollToSRPLocationFromPDP
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
120-137: Function scrollLocalGuideSectionOnLoad
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
127-134: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/favorites-test.js (5 issues) == 15-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 25-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 53-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 73-76: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/featureVars-test.js (1 issue) == 6-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/features-test.js (3 issues) == 5-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 34-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/geoLocation-test.js (1 issue) == 13-20: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/helpfulReviews-test.js (1 issue) == 34-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/leadForm-test.js (7 issues) == 33-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-63: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 140-146: Similar blocks of code found in 9 locations. Consider refactoring. [duplication] 175-190: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 192-207: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 211-223: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 230-242: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/localInfo-test.js (1 issue) == 7-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/loginModal-test.js (3 issues) == 22-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 40-45: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 46-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/menu-test.js (1 issue) == 32-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/metaSeo-test.js (9 issues) == 13-20: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 30-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 37-42: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 44-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 51-56: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 58-63: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 65-70: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 72-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 88-95: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/pdp-test.js (2 issues) == 40-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-77: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/ratedSchools-test.js (2 issues) == 45-64: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 66-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/registrationModal-test.js (3 issues) == 22-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 39-44: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 45-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/reportedReviews-test.js (1 issue) == 16-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/reviews-test.ts (2 issues) == 91-107: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 133-149: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/schools-test.js (2 issues) == 32-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/search-test.js (9 issues) ==
1-841: File search-test.js
has 782 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
192-211: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
213-232: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
321-342: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
346-371: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
386-411: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
599-639: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
641-681: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
686-707: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/searchBySchool-test.js (2 issues) == 40-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 138-148: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/toastReducer-test.js (2 issues) == 20-31: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 45-54: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/truesearch-test.js (4 issues) == 29-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 43-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 80-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 106-130: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/tests/user-test.js (4 issues) == 12-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-52: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 92-97: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 100-106: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/content.ts (1 issue) ==
9-54: Function default
has 43 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/store/reducers/helpfulReviews.ts (1 issue) == 15-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/reportedReviews.ts (1 issue) == 15-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/reducers/search.js (16 issues) ==
1-353: File search.js
has 304 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
49-150: Function makeTruesearchLocation
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. [structure]
49-150: Function makeTruesearchLocation
has 92 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
125-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
127-137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
162-165: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
171-174: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
176-179: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
203-352: Function default
has 125 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
203-352: Function default
has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring. [structure]
237-239: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
241-243: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
305-308: Avoid too many return
statements within this function. [structure]
317: Avoid too many return
statements within this function. [structure]
326: Avoid too many return
statements within this function. [structure]
328-346: Avoid too many return
statements within this function. [structure]
== src/apps/store/reducers/searchBySchool.ts (9 issues) ==
72-75: Avoid too many return
statements within this function. [structure]
79-83: Avoid too many return
statements within this function. [structure]
86: Avoid too many return
statements within this function. [structure]
89-93: Avoid too many return
statements within this function. [structure]
96-99: Avoid too many return
statements within this function. [structure]
102-105: Avoid too many return
statements within this function. [structure]
108-112: Avoid too many return
statements within this function. [structure]
115-118: Avoid too many return
statements within this function. [structure]
131-134: Avoid too many return
statements within this function. [structure]
== src/apps/store/reducers/searchInput.ts (3 issues) ==
90-93: Avoid too many return
statements within this function. [structure]
101-104: Avoid too many return
statements within this function. [structure]
107-110: Avoid too many return
statements within this function. [structure]
== src/apps/store/reducers/sitemap.ts (1 issue) ==
14-56: Function reducer
has 41 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/apps/store/reducers/toastReducer.ts (6 issues) ==
67-81: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
84-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
91-97: Avoid too many return
statements within this function. [structure]
100: Avoid too many return
statements within this function. [structure]
107: Avoid too many return
statements within this function. [structure]
110: Avoid too many return
statements within this function. [structure]
== src/apps/store/selectors/tests/home-test.js (1 issue) == 3-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/tests/reviews-test.js (1 issue) == 15-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/home.ts (1 issue) == 34-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/loginModal/tests/email-test.js (1 issue) == 4-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/loginModal/tests/errors-test.js (1 issue) == 3-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/loginModal/tests/isLoggingIn-test.js (1 issue) == 3-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/loginModal/tests/loginModal-test.js (1 issue) == 3-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/loginModal/tests/password-test.js (1 issue) == 4-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/loginModal/tests/visible-test.js (1 issue) == 3-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/registrationModal/tests/errors-test.js (1 issue) == 3-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/registrationModal/tests/registrationModal-test.js (1 issue) == 3-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/selectors/registrationModal/tests/visible-test.js (1 issue) == 3-30: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/apps/store/thunks/tests/search-test.js (2 issues) ==
1-518: File search-test.js
has 464 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
30-38: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/thunks/search.js (2 issues) ==
71-102: Function selectSpotlight
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
181: Avoid too many return
statements within this function. [structure]
== src/apps/store/transforms/tests/fixtures/floorplans_fixture.js (55 issues) ==
1-2344: File floorplans_fixture.js
has 2340 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
10-31: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
32-53: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
54-75: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
115-136: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
137-158: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
159-189: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
190-211: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
212-242: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
243-273: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
274-295: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
296-317: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
318-339: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
340-361: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
362-383: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
384-405: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
406-436: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
437-458: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
551-581: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
582-603: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
604-625: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
626-647: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
648-669: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
670-691: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
802-823: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
824-845: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
846-867: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
868-889: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
901-937: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
938-974: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
975-1011: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1053-1089: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1090-1126: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1127-1166: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
1167-1203: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1204-1243: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
1244-1283: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
1284-1320: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1321-1357: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1358-1394: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1395-1431: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1432-1468: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1469-1505: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1506-1545: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
1546-1582: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1701-1740: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
1741-1777: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1778-1814: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1815-1851: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1852-1888: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
1889-1925: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
2012-2048: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
2049-2085: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
2086-2122: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
2123-2159: Similar blocks of code found in 22 locations. Consider refactoring. [duplication]
== src/apps/store/transforms/tests/fixtures/listingPhotos_fixture.js (1 issue) ==
1-351: File listingPhotos_fixture.js
has 349 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
== src/apps/store/transforms/tests/fixtures/schools_fixture.js (11 issues) ==
1-369: File schools_fixture.js
has 368 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
22-40: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
79-101: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
102-124: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
144-162: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
163-185: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
250-268: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
269-287: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
288-306: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
307-325: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
326-344: Similar blocks of code found in 5 locations. Consider refactoring. [duplication]
== src/apps/store/transforms/tests/floorplans-test.js (4 issues) == 28-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 33-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 51-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 67-83: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/transforms/tests/normalizeSchools-test.js (12 issues) == 17-30: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 33-37: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 39-49: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 51-59: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 61-69: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 71-79: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 86-99: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 108-118: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 121-136: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 143-147: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 149-159: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 162-177: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/transforms/floorplans.ts (2 issues) ==
56-117: Function normalizeFloorplan
has 58 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
57-72: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/apps/store/transforms/listing.ts (1 issue) ==
7-54: Function getEntitiesFromListing
has 36 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/bff/tests/index-test.js (2 issues) == 9-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 18-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/server/tests/elasticsearchFetchOptions-test.js (1 issue) == 14-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/server/notFound.js (1 issue) == 1-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/server/versioning.js (1 issue) == 11-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/shared/tests/refs-test.js (3 issues) == 7-49: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 51-93: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 95-137: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/bff/shared/filters/tests/normalizeFilters-test.js (1 issue) == 5-9: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/bff/shared/serializeObject.js (3 issues) ==
12-53: Function serialize
has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring. [structure]
35-37: Avoid deeply nested control flow statements. [structure]
38-44: Avoid deeply nested control flow statements. [structure]
== src/bff/v1/client/tests/postNoninventoryReview-test.js (2 issues) == 6-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v1/client/fetchOptions.js (1 issue) == 7-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v1/server/locationReviews/tests/routes-test.js (1 issue) == 28-40: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v1/server/locationReviews/routes.js (1 issue) == 4-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v1/server/reviews/tests/routes-test.js (2 issues) == 13-25: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 27-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v1/server/reviews/routes.js (1 issue) == 4-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/tests/answers-test.js (1 issue) == 44-50: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/tests/filters-test.js (1 issue) == 41-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/tests/questions-test.js (1 issue) == 45-51: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/answers.ts (1 issue) == 18-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/fetchOptions.js (1 issue) == 8-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/listings.js (1 issue) == 6-10: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/points.js (1 issue) == 6-10: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/client/questions.ts (1 issue) == 16-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/answers/tests/normalize-test.js (5 issues) == 33-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 57-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-67: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 82-100: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/answers/tests/route-test.js (2 issues) == 30-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 87-122: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/answers/post.ts (1 issue) == 28-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/answers/postFlag.ts (2 issues) == 7-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 21-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/answers/route.ts (1 issue) == 22-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/filters/route.js (1 issue) == 4-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/tests/coerceQuery-test.js (6 issues) == 107-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 114-119: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 151-155: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 165-169: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 172-185: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 187-200: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/tests/normalize-test.js (45 issues) ==
1-976: File normalize-test.js
has 857 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
152-185: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
190-196: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
198-204: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
206-212: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
214-220: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
222-228: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
272-276: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
278-282: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
284-288: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
290-294: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
297-301: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
303-307: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
309-313: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
315-319: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
323-329: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
331-337: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
342-345: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
367-370: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
372-375: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
384-387: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
389-392: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
394-397: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
399-402: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
405-408: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
410-413: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
415-418: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
427-441: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
443-457: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
687-703: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
705-721: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
723-739: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
769-783: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
789-803: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
888-891: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
893-896: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
898-901: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
910-913: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
915-918: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
920-923: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
925-928: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
930-933: Similar blocks of code found in 8 locations. Consider refactoring. [duplication]
960-963: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
965-968: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
970-973: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/tests/normalizeRefinements-test.js (2 issues) == 6-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/tests/normalizeSchools-test.js (4 issues) == 8-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 52-85: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 90-98: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/tests/parseLeadFields-test.js (2 issues) == 5-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 19-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/tests/route-test.js (4 issues) == 23-39: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 41-57: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 59-93: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 95-123: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/coerceQuery.js (1 issue) ==
45: Avoid too many return
statements within this function. [structure]
== src/bff/v2/server/listings/route.js (2 issues) == 5-12: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 14-21: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/bff/v2/server/listings/serviceQueryParams.js (1 issue) ==
1-286: File serviceQueryParams.js
has 270 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
== src/bff/v2/server/points/tests/route-test.js (3 issues) == 19-35: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 37-71: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 73-101: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/points/route.js (2 issues) == 5-12: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 14-21: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/bff/v2/server/questions/tests/normalize-test.js (2 issues) == 8-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 26-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/questions/tests/route-test.js (3 issues) == 14-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 29-45: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 82-117: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/questions/post.ts (1 issue) == 26-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/questions/postFlag.ts (2 issues) == 7-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 21-25: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/bff/v2/server/questions/route.ts (1 issue) == 22-30: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/components/BreakText/test/BreakText-test.js (3 issues) == 28-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 37-44: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/components/JumpLink/JumpLink.tsx (1 issue) == 39-47: Similar blocks of code found in 13 locations. Consider refactoring. [duplication]
== src/components/JumpLink/tests/JumpLink-test.js (1 issue) == 10-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/components/Layout/tests/Column-test.js (2 issues) == 11-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/components/Layout/tests/Row-test.js (5 issues) == 11-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-19: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 21-24: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 26-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/components/LinkList/LinkList.tsx (1 issue) ==
41-71: Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/components/LinkList/tests/LinkItem-test.js (3 issues) == 14-17: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 38-40: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 42-44: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/components/LinkList/tests/LinkList-test.js (3 issues) == 18-21: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 65-69: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 71-75: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/config/blog.ts (29 issues) ==
1-1961: File blog.ts
has 1956 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
5-16: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
16-27: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
35-46: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
62-73: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
73-84: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
84-95: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
95-106: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
106-117: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
141-152: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
152-163: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
163-174: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
190-201: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
205-283: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
284-341: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
342-385: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
514-550: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
749-785: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
786-829: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
830-852: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
853-896: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
920-956: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
957-1105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1115-1137: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1138-1174: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
1193-1341: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1342-1420: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1572-1608: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
1662-1719: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/config/homepageLinks.js (2 issues) ==
1-306: File homepageLinks.js
has 302 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
2-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/config/refinements.js (3 issues) ==
1-993: File refinements.js
has 979 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
820-831: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
833-844: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/config/tagging.ts (1 issue) == 15-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/config/taggingGDPR.ts (1 issue) == 15-41: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/config/version-info.ts (2 issues) == 16-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 26-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/PDPCycler/components/PDPCycler.tsx (2 issues) == 22-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 29-35: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/PDPCycler/hooks/tests/usePrevNextPage-test.ts (3 issues) == 6-10: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 12-16: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 18-22: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/features/PDPCycler/services/cyclerSessionService.ts (3 issues) ==
158-191: Function shouldUpdateSessionStorageFromRoute
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
189: Avoid too many return
statements within this function. [structure]
193-233: Function loadUrlData
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/features/VideoCall/tests/Layout-test.js (1 issue) == 17-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/components/tests/AudioTrack-test.tsx (1 issue) == 15-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/components/tests/LocalParticipant-test.tsx (2 issues) == 12-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 20-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/components/tests/RemoteParticipant-test.tsx (2 issues) == 13-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 26-32: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/components/tests/VideoTrack-test.tsx (1 issue) == 15-19: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/hooks/tests/useAsyncState-test.tsx (4 issues) == 53-62: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 64-73: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 75-84: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 86-95: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/hooks/useAsyncState.tsx (4 issues) == 81-85: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 86-90: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 114-115: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-118: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/hooks/useParticipantTracks.tsx (3 issues) ==
25-65: Function useParticipantTracks
has 32 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
40-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
44-46: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/lib/tests/utils-test.ts (2 issues) == 13-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 23-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/features/VideoCall/lib/utils.ts (2 issues) == 7: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 8: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/gql/runQuery.ts (2 issues) ==
12-43: Function handleQueryFailure
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
46-72: Function handleQuerySuccess
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/ScrollService.ts (1 issue) ==
72-93: Function constructor
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/tests/bathroomRangeDisplayByBedroom-test.js (3 issues) == 8-11: Similar blocks of code found in 12 locations. Consider refactoring. [duplication] 13-16: Similar blocks of code found in 12 locations. Consider refactoring. [duplication] 18-21: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
== src/lib/tests/createStrictGetter-test.js (2 issues) == 13-21: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 31-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/formatRelativeDay-test.js (2 issues) == 12-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 20-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/isBasic-test.js (4 issues) == 10-15: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 17-22: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 24-29: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 31-36: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/lib/tests/isLNP-test.js (4 issues) == 9-14: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 16-21: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 23-28: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 30-35: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/lib/tests/militaryToStandardTime-test.js (4 issues) == 12-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 18-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 24-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 30-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/mobileType-test.js (3 issues) == 30-50: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 52-72: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 74-94: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/lib/tests/refinements-test.js (1 issue) == 4-17: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/removeNonAlphaNumerics-test.js (1 issue) == 3-9: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/sanitizeHtml-test.js (2 issues) == 19-23: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 25-29: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/sanitizeLocalGuideSectionId-test.js (1 issue) == 14-18: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tests/squareFeetRangeDisplay-test.js (5 issues) == 8-11: Similar blocks of code found in 12 locations. Consider refactoring. [duplication] 13-16: Similar blocks of code found in 12 locations. Consider refactoring. [duplication] 18-21: Similar blocks of code found in 12 locations. Consider refactoring. [duplication] 23-26: Similar blocks of code found in 12 locations. Consider refactoring. [duplication] 28-31: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
== src/lib/tests/unitFloorLevelDisplay-test.js (3 issues) == 32-38: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 80-86: Identical blocks of code found in 3 locations. Consider refactoring. [duplication] 95-101: Identical blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/lib/badWords.ts (1 issue) ==
1-365: File badWords.ts
has 361 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
== src/lib/bathroomRangeDisplayByBedroom.ts (2 issues) ==
5-17: Function bathroomRangeDisplayByBedroom
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
16: Avoid too many return
statements within this function. [structure]
== src/lib/bedsDisplay.js (1 issue) ==
27: Avoid too many return
statements within this function. [structure]
== src/lib/client/tests/fullStory-test.js (1 issue) == 42-48: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/client/helpers/padStart.ts (1 issue) ==
5-19: Function padStart
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/client/logBrowserEvents.js (2 issues) ==
2-88: Function logBrowserEvents
has 81 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
3-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/createNamedSelector.ts (68 issues) ==
1-893: File createNamedSelector.ts
has 809 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
11-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
16-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
23-28: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
29-34: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
37-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
44-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
53-60: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
61-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
71-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
80-88: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
91-100: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
101-110: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
113-125: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
126-138: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
141-154: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
155-168: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
171-185: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
186-200: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
203-218: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
219-234: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
237-253: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
254-270: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
273-290: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
291-308: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
346-352: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
355-362: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
363-370: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
373-381: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
382-390: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
393-402: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
403-412: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
415-427: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
428-440: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
443-456: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
457-470: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
473-487: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
488-502: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
505-520: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
521-536: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
539-555: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
556-572: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
575-592: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
593-610: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
615-619: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
620-624: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
627-632: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
633-638: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
641-647: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
648-654: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
657-664: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
665-672: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
675-683: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
684-692: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
695-704: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
705-714: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
717-727: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
728-738: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
741-752: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
753-764: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
767-779: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
780-792: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
795-808: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
809-822: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
825-839: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
840-854: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
857-872: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
873-888: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/geo/tests/mockPoints.js (3 issues) == 1-24: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 26-49: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 51-74: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/lib/geo/tests/states-test.js (2 issues) == 31-39: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 41-49: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/geo/tests/withinBoundingBox-test.js (6 issues) == 6-9: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 11-14: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 16-19: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 21-24: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 35-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/geo/boundingBoxToLatLng.js (1 issue) == 2-7: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/geo/getZoomFromBoundingBox.js (2 issues) == 7-11: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 13-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/geo/getZoomFromPoints.js (2 issues) == 12-16: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 18-20: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/multiSearch.ts (3 issues) ==
23-60: Function criteriaFromMultiSearchSlug
has 28 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
47-51: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
53-57: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/optimizely/tests/attributes-test.js (4 issues) == 8-28: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 66-86: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 88-108: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 110-130: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
== src/lib/optimizely/tests/coerceAttributes-test.js (7 issues) == 11-14: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 16-19: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 26-29: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 31-34: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 36-39: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 41-44: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 46-49: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/lib/optimizely/attributes.ts (1 issue) ==
58-100: Function getOptimizelyAttributes
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/lib/optimizely/client.js (1 issue) == 46-55: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/optimizely/coerceAttributes.ts (5 issues) ==
3-34: Function coerceSearchTypeFromPath
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. [structure]
21: Avoid too many return
statements within this function. [structure]
26: Avoid too many return
statements within this function. [structure]
30: Avoid too many return
statements within this function. [structure]
33: Avoid too many return
statements within this function. [structure]
== src/lib/optimizely/optimizely.js (2 issues) ==
22-43: Function createSiteOptimizationUserId
has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring. [structure]
64-96: Function extractExperimentsData
has 27 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/lib/optimizely/server.js (1 issue) == 33-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/ordinalSuffix.ts (1 issue) ==
3-27: Function ordinalSuffix
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/priceRangeDisplay/tests/missingPriceLabel-test.js (2 issues) == 18-26: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/priceRangeDisplay/tests/priceRangeDisplay-test.js (15 issues) == 20-23: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 25-28: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 30-33: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 40-43: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 45-48: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 50-53: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 65-105: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 109-115: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 117-123: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 125-131: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 133-139: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 141-147: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 150-157: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 159-166: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 168-175: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/lib/priceRangeDisplay/tests/priceRangeDisplayLowOnly-test.js (12 issues) == 19-22: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 24-27: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 29-32: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 39-42: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 44-47: Similar blocks of code found in 8 locations. Consider refactoring. [duplication] 49-52: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 69-109: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 113-119: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 121-127: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 129-135: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 137-143: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 145-151: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/priceRangeDisplay/priceRangeDisplay.ts (4 issues) ==
7-22: Function getLabel
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
21: Avoid too many return
statements within this function. [structure]
51: Avoid too many return
statements within this function. [structure]
54: Avoid too many return
statements within this function. [structure]
== src/lib/scroll/scroll.ts (3 issues) ==
52-85: Function scrollToSrpSection
has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring. [structure]
52-85: Function scrollToSrpSection
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
87-102: Function _scrollToMobilePdpSection
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/server/middleware/tests/parseView-test.jest.js (1 issue) == 31-37: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/server/middleware/tests/redirects-test.js (27 issues) ==
1-372: File redirects-test.js
has 304 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
14-17: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
19-22: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
24-27: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
68-71: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
73-79: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
81-87: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
100-103: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
105-108: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
115-118: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
124-127: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
129-132: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
134-137: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
154-196: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
198-240: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
244-247: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
249-252: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
256-259: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
261-264: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
266-269: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
271-274: Similar blocks of code found in 12 locations. Consider refactoring. [duplication]
293-303: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
305-315: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
317-327: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
329-339: Similar blocks of code found in 4 locations. Consider refactoring. [duplication]
353-360: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
362-369: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/server/middleware/tests/robots-test.js (2 issues) == 28-54: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 56-82: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/server/middleware/tests/sem-test.js (2 issues) == 13-47: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 49-83: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/server/middleware/dynamic-e2e/queries.ts (2 issues) == 5-27: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 28-50: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/server/middleware/parseView.ts (1 issue) ==
30-56: Function parseView
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/server/middleware/prometheus.ts (1 issue) ==
8-34: Function normalizePath
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/server/util/setupOptimizely.ts (1 issue) ==
20-69: Function setupOptimizely
has 30 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/lib/squareFeetRangeDisplay.ts (1 issue) ==
10-26: Function squareFeetRangeDisplay
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. [structure]
== src/lib/tour/tests/getIsTourInMockMode-test.js (2 issues) == 6-14: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 16-24: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/tour/tests/getIsTourVendorEnabled-cookie-test.js (3 issues) == 21-25: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 28-32: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 34-38: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/lib/tour/tests/getIsTourVendorEnabled-env-test.js (3 issues) == 15-19: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 21-25: Similar blocks of code found in 7 locations. Consider refactoring. [duplication] 27-31: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/lib/tour/tests/getIsTourVendorEnabled-no-env-test.js (1 issue) == 12-16: Similar blocks of code found in 7 locations. Consider refactoring. [duplication]
== src/lib/truesearch/tests/criteriaToUiValues-test.js (1 issue) == 70-104: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/truesearch/tests/route-helper-test.js (2 issues) == 30-48: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 124-142: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/truesearch/tests/uiValuesToCriteria-test.js (1 issue) == 5-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/truesearch/helpers.ts (1 issue) ==
7-42: Function makeTrueSearchPins
has 31 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/lib/truesearch/sessionTracking.ts (1 issue) ==
116-151: Function mergeTrackingData
has 26 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
== src/lib/unitFloorLevelDisplay.ts (1 issue) ==
30: Avoid too many return
statements within this function. [structure]
== src/lib/url/tests/locationToUrl-test.js (7 issues) == 9-16: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 39-46: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 56-61: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 63-68: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 70-77: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 79-82: Similar blocks of code found in 4 locations. Consider refactoring. [duplication] 84-91: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/url/tests/photoUrl-test.js (16 issues) == 28-31: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 33-36: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 62-65: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 72-75: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 77-80: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 82-85: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 87-90: Similar blocks of code found in 5 locations. Consider refactoring. [duplication] 95-99: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 108-112: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 134-138: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 146-150: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 165-171: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 173-179: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 181-187: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 189-192: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 194-197: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/url/tests/url-test.js (5 issues) == 19-23: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 25-29: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 43-47: Similar blocks of code found in 3 locations. Consider refactoring. [duplication] 157-163: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 165-171: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/url/base64.ts (2 issues) == 1-7: Similar blocks of code found in 2 locations. Consider refactoring. [duplication] 9-15: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/lib/url/locationToUrl.ts (11 issues) ==
6-76: Function locationToUrl
has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring. [structure]
7-22: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
44: Avoid too many return
statements within this function. [structure]
47: Avoid too many return
statements within this function. [structure]
52: Avoid too many return
statements within this function. [structure]
57: Avoid too many return
statements within this function. [structure]
61: Avoid too many return
statements within this function. [structure]
64: Avoid too many return
statements within this function. [structure]
67: Avoid too many return
statements within this function. [structure]
72: Avoid too many return
statements within this function. [structure]
75: Avoid too many return
statements within this function. [structure]
== src/lib/url/photoUrl.tsx (6 issues) ==
111-134: Function photoParams
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. [structure]
188-241: Function dissectPhotoUrl
has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring. [structure]
188-241: Function dissectPhotoUrl
has 45 lines of code (exceeds 25 allowed). Consider refactoring. [structure]
230-234: Avoid too many return
statements within this function. [structure]
237-240: Avoid too many return
statements within this function. [structure]
258-272: Function applyCdnOptions
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. [structure]
== src/types/login.ts (1 issue) == 7-13: Similar blocks of code found in 2 locations. Consider refactoring. [duplication]
== src/types/searchbar.ts (1 issue) == 11-19: Similar blocks of code found in 3 locations. Consider refactoring. [duplication]
== src/ui/theme/large/components/Maps/greyMapStyles.ts (1 issue) ==
1-294: File greyMapStyles.ts
has 291 lines of code (exceeds 250 allowed). Consider refactoring. [structure]
== stories/coreStories.tsx (2 issues) == 35-37: Identical blocks of code found in 2 locations. Consider refactoring. [duplication] 56-58: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== webpack/loaders/globalstyles.js (1 issue) == 6-13: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
== webpack/loaders/styles.js (1 issue) == 10-17: Identical blocks of code found in 2 locations. Consider refactoring. [duplication]
Analysis complete! Found 3,811 issues.