Skip to content

fix: sonarCloud code smells - #2187

Merged
krishna2020 merged 22 commits into
developfrom
fix/sonarCloud-code-smell
Jun 5, 2023
Merged

krishna2020 merged 22 commits into
developfrom
fix/sonarCloud-code-smell

Conversation

@Gauravudia

@Gauravudia Gauravudia commented May 17, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

Fixing sonarCloud code smells
https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&sinceLeakPeriod=true&id=rudderlabs_rudder-transformer

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@codecov

codecov Bot commented May 17, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 99.34% and project coverage change: +0.08 🎉

Comparison is base (fde530f) 88.58% compared to head (01a8089) 88.67%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2187      +/-   ##
===========================================
+ Coverage    88.58%   88.67%   +0.08%     
===========================================
  Files          510      510              
  Lines        25867    25831      -36     
  Branches      6380     6337      -43     
===========================================
- Hits         22915    22906       -9     
+ Misses        2637     2612      -25     
+ Partials       315      313       -2     
Impacted Files Coverage Δ
src/v0/destinations/braze/util.js 97.84% <ø> (ø)
...rc/v0/destinations/fb_custom_audience/transform.js 94.23% <ø> (ø)
src/v0/destinations/fb_custom_audience/util.js 93.27% <ø> (ø)
...gle_adwords_enhanced_conversions/networkHandler.js 92.15% <ø> (ø)
...ogle_adwords_offline_conversions/networkHandler.js 94.11% <ø> (ø)
...google_adwords_remarketing_lists/networkHandler.js 96.29% <ø> (ø)
src/v0/destinations/iterable/transform.js 96.89% <ø> (ø)
src/v0/sources/shopify/transform.js 97.67% <ø> (ø)
src/v0/destinations/facebook_pixel/utils.js 96.55% <87.50%> (ø)
src/util/eventValidation.js 96.73% <100.00%> (+4.32%) ⬆️
... and 11 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Gauravudia Gauravudia self-assigned this May 22, 2023
@Gauravudia
Gauravudia marked this pull request as ready for review May 23, 2023 06:58
@Gauravudia
Gauravudia requested a review from a team as a code owner May 23, 2023 06:58
@Gauravudia
Gauravudia requested a review from a team May 23, 2023 06:58
@Gauravudia
Gauravudia requested review from chandumlg, koladilip and krishna2020 and removed request for ItsSudip, saikumarrs, sanpj2292 and shrouti1507 May 25, 2023 11:44
Comment thread src/v0/destinations/braze/transform.js Resolved
koladilip
koladilip previously approved these changes May 26, 2023
Comment thread src/util/eventValidation.js Resolved
krishna2020
krishna2020 previously approved these changes Jun 2, 2023
@Gauravudia
Gauravudia requested a review from a team as a code owner June 3, 2023 05:35
Comment thread src/v0/util/testdata/formatValues.json Resolved
@Gauravudia
Gauravudia requested a review from koladilip June 5, 2023 07:13
@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

93.9% 93.9% Coverage
1.1% 1.1% Duplication

@Gauravudia
Gauravudia removed request for chandumlg and lvrach June 5, 2023 11:57
@krishna2020
krishna2020 merged commit 6646257 into develop Jun 5, 2023
@sanpj2292
sanpj2292 deleted the fix/sonarCloud-code-smell branch June 5, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants