Skip to content

Transpiler unit tests and bug fixes#12

Open
chadsec1 wants to merge 20 commits into
mainfrom
feat/transpiler-tests
Open

Transpiler unit tests and bug fixes#12
chadsec1 wants to merge 20 commits into
mainfrom
feat/transpiler-tests

Conversation

@chadsec1
Copy link
Copy Markdown
Owner

@chadsec1 chadsec1 commented May 24, 2026

This PR adds unit tests to the transpiler layer, and fixes some bugs, notably the typo #11

It also makes variables locked by default if they're expliclitiy initialized like: own x int32 = 1
but if they're implicility initialized, they're unlocked, because the programmer is most likely going to assign to them, like: own x int32

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 24, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 302 complexity · 95 duplication

Metric Results
Complexity 302
Duplication 95

View in Codacy

🟢 Coverage 100.00% diff coverage · +8.34% coverage variation

Metric Results
Coverage variation +8.34% coverage variation (-1.00%)
Diff coverage 100.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (48d8b0c) 2881 2485 86.25%
Head commit (869d0e4) 3036 (+155) 2872 (+387) 94.60% (+8.34%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#12) 172 172 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

1 participant