Skip to content

dead code cleanup#3441

Open
ProgrammerIn-wonderland wants to merge 1 commit into
mainfrom
NS/puterjs-deadcode-cleanup
Open

dead code cleanup#3441
ProgrammerIn-wonderland wants to merge 1 commit into
mainfrom
NS/puterjs-deadcode-cleanup

Conversation

@ProgrammerIn-wonderland

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for puter.js SDK

Status Category Percentage Covered / Total
🔵 Lines 34.34%
⬆️ +0.09%
2079 / 6054
🔵 Statements 33.39%
⬆️ +0.02%
2154 / 6451
🔵 Functions 32.48%
⬇️ -0.06%
359 / 1105
🔵 Branches 26.66%
⬆️ +0.35%
1175 / 4407
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/puter-js/src/index.js 47.71%
🟰 ±0%
34.26%
🟰 ±0%
46.57%
🟰 ±0%
49.16%
🟰 ±0%
38-64, 131-142, 230, 236, 238, 259-265, 272, 290, 296-299, 308, 311, 321, 331, 337, 342, 364, 366, 374-378, 417, 423-425, 434-436, 442-444, 450, 455-457, 463, 473-475, 477, 495-497, 502-589, 605, 611-616, 621-625, 647-651, 654-657, 671-684, 710, 717-718, 732-733, 737-738, 753, 765, 797-798, 806, 812, 836-840, 851-865, 873-875, 886, 914-1010, 1015-1021, 1037-1040, 1044-1047, 1062-1100, 1105-1119, 1289, 1320-1350, 1362-1365, 1375-1378, 1383-1386, 1409-1423, 1435, 1447, 1487-1506, 1517-1590, 1612-1652, 1658-1698
src/puter-js/src/lib/utils.js 57.55%
⬆️ +4.33%
53.21%
⬆️ +1.21%
68.75%
⬆️ +12.34%
59.63%
⬆️ +4.33%
30, 38-41, 47, 120-130, 154-172, 179, 188-192, 217-222, 230-237, 245-256, 350-355, 360-376, 385-390, 419-422, 426, 431, 440-444, 455-456, 473, 475, 478, 484-485, 494-495, 503, 518-526, 533, 534
src/puter-js/src/modules/Drivers.js 72.88%
🟰 ±0%
35.71%
🟰 ±0%
87.5%
🟰 ±0%
71.92%
🟰 ±0%
14, 16, 41-56, 63-68, 74-85, 212-214
src/puter-js/src/modules/FSItem.js 0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
5-109
src/puter-js/src/modules/FileSystem/index.js 58.76%
⬇️ -0.46%
26.31%
🟰 ±0%
46.15%
⬆️ +3.30%
58.76%
⬇️ -0.46%
104, 123, 149, 156, 161-163, 168-170, 175-177, 182-184, 189-191, 208-210, 239-321
src/puter-js/src/modules/FileSystem/operations/mkdir.js 81.81%
🟰 ±0%
78.26%
🟰 ±0%
100%
🟰 ±0%
81.81%
🟰 ±0%
18, 31-35
src/puter-js/src/modules/FileSystem/operations/move.js 76.19%
🟰 ±0%
76.92%
🟰 ±0%
100%
🟰 ±0%
76.19%
🟰 ±0%
10, 28-32, 45
src/puter-js/src/modules/FileSystem/operations/write.js 75%
🟰 ±0%
56.75%
🟰 ±0%
100%
🟰 ±0%
75%
🟰 ±0%
7, 11-12, 45, 54, 59
src/puter-js/src/modules/FileSystem/operations/upload/entries.js 73.56%
🟰 ±0%
51.28%
🟰 ±0%
66.66%
🟰 ±0%
74.68%
🟰 ±0%
17, 49-64, 140, 145-149, 164, 176-182
src/puter-js/src/modules/FileSystem/operations/upload/legacyBatchUpload.js 63.88%
🟰 ±0%
45.63%
🟰 ±0%
28.57%
🟰 ±0%
63.26%
🟰 ±0%
51, 56-66, 72-89, 102, 115, 161-162, 184-200, 210-215, 224-230, 262, 268-270
src/puter-js/src/modules/FileSystem/operations/upload/signedBatchUpload.js 50.45%
🟰 ±0%
40.94%
🟰 ±0%
47.36%
🟰 ±0%
49.83%
🟰 ±0%
30, 31, 43, 55-69, 119, 131-139, 143-154, 159, 165-169, 183, 188, 195-210, 262, 272-289, 293, 297-403, 407, 440-442, 449, 460-462, 465, 474, 478-479, 483, 499-501, 513-521, 529-534, 538, 550, 556-558, 564, 576, 579, 587, 595-627, 633-638, 661-662, 665-687, 693, 709-710, 716, 726-727
src/puter-js/src/modules/FileSystem/utils/getAbsolutePathForApp.js 57.14%
🟰 ±0%
50%
🟰 ±0%
100%
🟰 ±0%
57.14%
🟰 ±0%
7, 13, 19, 25-28
src/puter-js/src/modules/ai/lib/media.js 7.4%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
8.33%
🟰 ±0%
12-25, 37-42, 50-55, 66-93
Generated in workflow #39 for commit d30e972 by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 77.07%
🟰 ±0%
16748 / 21729
🔵 Statements 75.36%
🟰 ±0%
17833 / 23663
🔵 Functions 73.68%
🟰 ±0%
2763 / 3750
🔵 Branches 63.92%
🟰 ±0%
11746 / 18375
File CoverageNo changed files found.
Generated in workflow #568 for commit d30e972 by the Vitest Coverage Report Action

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