Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added expression propagation for literal-or-new-object-identity codemod #200

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

andrecsilva
Copy link
Contributor

Overview

Literals will now propagate through variables for detection in literal-or-new-object-identity codemod.

Copy link

codecov bot commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (efc0926) 96.35% compared to head (9092ffe) 96.37%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
+ Coverage   96.35%   96.37%   +0.02%     
==========================================
  Files          82       82              
  Lines        3836     3837       +1     
==========================================
+ Hits         3696     3698       +2     
+ Misses        140      139       -1     
Files Coverage Δ
src/codemodder/codemods/utils_mixin.py 92.09% <100.00%> (+0.39%) ⬆️
...rc/core_codemods/literal_or_new_object_identity.py 100.00% <100.00%> (ø)

Copy link

sonarqubecloud bot commented Jan 2, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@andrecsilva andrecsilva marked this pull request as ready for review January 2, 2024 17:13
@andrecsilva andrecsilva requested a review from drdavella as a code owner January 2, 2024 17:13
@andrecsilva andrecsilva added this pull request to the merge queue Jan 3, 2024
Merged via the queue into main with commit 313e236 Jan 3, 2024
14 checks passed
@andrecsilva andrecsilva deleted the lonoi-cp branch January 3, 2024 10:44
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.

2 participants