Ugly Alpha 1
c2rust-refactor:0.15.0

total uncompressed bytes

2.5 MB

total files

350

Fix

NewInclude { include: [ "src/**/*", "README.md", "gen/*", "build.rs", ], has_build_script: true, }

217 wasted files

total waste: 905.2 KB

  1. doc/scripting_api.html : 469.1 KB
  2. scripts/upgrade_ptr_to_ref.lua : 63.2 KB
  3. tests/ownership_upgrade_ptrs/new.rs : 28.3 KB
  4. doc/select.md : 25.9 KB
  5. doc/literate/refactor.py : 25.2 KB
  6. tests/ownership_upgrade_ptrs/old.rs : 24.8 KB
  7. misc/rustfmt-clean-parens.diff : 19.2 KB
  8. doc/literate/diff.py : 18.8 KB
  9. doc/rewrite.md : 15.0 KB
  10. doc/literate/render.py : 13.5 KB
  11. doc/literate/file.py : 13.4 KB
  12. doc/literate/marks.py : 9.3 KB
  13. doc/literate/__init__.py : 9.0 KB
  14. doc/literate/annot.py : 8.6 KB
  15. tests/upgrade_ptr_to_ref/old.rs : 8.6 KB
  16. scripts/test_upgrade_ptr_to_ref.lua : 7.2 KB
  17. doc/literate/points.py : 6.7 KB
  18. doc/ldoc.css : 6.3 KB
  19. editor/vim8.vim : 5.9 KB
  20. tests/upgrade_ptr_to_ref/new.rs : 5.8 KB
  21. doc/literate/README.md : 5.3 KB
  22. scripts/cleanup_params_locals.lua : 5.3 KB
  23. tests/misc/analysis_ownership_split.rs : 4.7 KB
  24. doc/literate/highlight.py : 4.6 KB
  25. tests/ownership_reinfer/new.rs : 3.4 KB
  26. TODO : 3.1 KB
  27. tests/ownership_reinfer/old.rs : 2.8 KB
  28. doc/gen_command_docs.py : 2.7 KB
  29. tests/reorganize_definitions/old.rs : 2.5 KB
  30. tests/retype_str/old.rs : 2.2 KB
  31. scripts/rust_ast.lua : 2.2 KB
  32. tests/rewrite_arg_list/new.rs : 2.0 KB
  33. tests/misc/analysis_type_eq.rs : 2.0 KB
  34. tests/retype_str/new.rs : 1.9 KB
  35. tests/ownership_split/new.rs : 1.9 KB
  36. tests/rewrite_arg_list/old.rs : 1.8 KB
  37. tests/misc/analysis_ownership.rs : 1.8 KB
  38. tests/reorganize_definitions/new.rs : 1.7 KB
  39. tests/rename_unnamed/new.rs : 1.6 KB
  40. tests/rename_unnamed/old.rs : 1.6 KB
  41. scripts/lh_table_counter_cell.rs : 1.6 KB
  42. tests/reflect/new.rs : 1.6 KB
  43. doc/literate/parse.py : 1.6 KB
  44. scripts/simplify_paths.lua : 1.6 KB
  45. doc/literate/format.py : 1.5 KB
  46. PLUGINS.txt : 1.4 KB
  47. tests/sink_lets/new.rs : 1.4 KB
  48. tests/ownership_split_part2/new.rs : 1.4 KB
  49. tests/rewrite_arg_list/run.sh : 1.2 KB
  50. tests/misc/debug_callees.rs : 1.2 KB
  51. tests/cleanup_params_locals/old.rs : 1.1 KB
  52. tests/sink_lets/old.rs : 1.1 KB
  53. tests/set_visibility/run.sh : 1.1 KB
  54. tests/run-test.sh : 1.1 KB
  55. plugin_stub.rs : 1.1 KB
  56. tests/cleanup_params_locals/new.rs : 1.0 KB
  57. scripts/change_ast_kinds.lua : 1.0 KB
  58. tests/ownership_split/old.rs : 999 B
  59. tests/bitcast_retype/new.rs : 904 B
  60. tests/wrap_api/new.rs : 901 B
  61. tests/ownership_constraint_attr/new.rs : 887 B
  62. tests/expr_parens_1/new.rs : 776 B
  63. tests/ownership_split_part2/old.rs : 762 B
  64. scripts/wrapping_arith_to_normal.lua : 736 B
  65. tests/expr_parens_2/new.rs : 724 B
  66. tests/expr_parens_2/old.rs : 718 B
  67. tests/expr_parens_1/old.rs : 718 B
  68. tests/ownership_split_part1/new.rs : 705 B
  69. tests/misc/multi_stmt.rs : 686 B
  70. tests/convert_format_args/new.rs : 679 B
  71. tests/ownership_constraint_attr/old.rs : 636 B
  72. tests/func_to_method/new.rs : 632 B
  73. tests/remove_unused_labels/old.rs : 624 B
  74. tests/fold_let_assign/old.rs : 622 B
  75. tests/remove_unused_labels/new.rs : 604 B
  76. tests/retype_argument/new.rs : 583 B
  77. tests/func_to_method/old.rs : 543 B
  78. tests/retype_argument/old.rs : 523 B
  79. tests/fold_let_assign/new.rs : 518 B
  80. tests/struct_assign_to_update/new.rs : 503 B
  81. tests/retype_str/run.sh : 496 B
  82. tests/wrap_api/old.rs : 456 B
  83. tests/multi_rewrite/run.sh : 455 B
  84. tests/convert_format_args/old.rs : 449 B
  85. tests/struct_assign_to_update/old.rs : 411 B
  86. tests/wrap_extern/new.rs : 399 B
  87. tests/ownership_reinfer/run.sh : 388 B
  88. tests/ownership_constraint_attr/run.sh : 388 B
  89. tests/convert_format_args/run.sh : 380 B
  90. tests/bitcast_retype/old.rs : 380 B
  91. tests/func_to_method/run.sh : 377 B
  92. tests/ownership_split_part1/old.rs : 375 B
  93. tests/retype_static/run.sh : 374 B
  94. tests/generalize_item/run.sh : 373 B
  95. tests/retype_static/new.rs : 352 B
  96. tests/collapse_cfg_attr/new.rs : 340 B
  97. tests/canonicalize_structs_derive/old.rs : 337 B
  98. tests/collapse_cfg_attr/old.rs : 336 B
  99. tests/reflect/old.rs : 335 B
  100. tests/abstract/run.sh : 334 B
  101. tests/static_collect_to_struct/run.sh : 331 B
  102. tests/reconstruct_for_range/old.rs : 328 B
  103. doc/run_ldoc.sh : 319 B
  104. tests/static_to_local_ref/new.rs : 316 B
  105. tests/wrap_extern/run.sh : 310 B
  106. tests/static_to_local_ref/run.sh : 307 B
  107. tests/create_item_preserve_syntax/run.sh : 306 B
  108. tests/retype_return/run.sh : 302 B
  109. tests/retype_argument/run.sh : 301 B
  110. tests/uninit_to_default/old.rs : 299 B
  111. tests/abstract/new.rs : 299 B
  112. SAVE.txt : 295 B
  113. tests/struct_merge_updates/new.rs : 294 B
  114. tests/matcher_marked/run.sh : 294 B
  115. tests/reconstruct_for_range/new.rs : 293 B
  116. tests/struct_merge_updates/old.rs : 289 B
  117. tests/ownership_split_part2/run.sh : 286 B
  118. tests/create_item_inside/run.sh : 284 B
  119. tests/create_item_after/run.sh : 279 B
  120. tests/ownership_split_part1/run.sh : 270 B
  121. tests/misc/src_wrapping_add_multi.txt : 267 B
  122. tests/canonicalize_structs_derive/run.sh : 264 B
  123. tests/misc/mark_uses.rs : 260 B
  124. tests/run-all-tests.sh : 257 B
  125. tests/canonicalize_structs_derive/new.rs : 256 B
  126. tests/uninit_to_default/new.rs : 253 B
  127. tests/wrap_api/run.sh : 252 B
  128. tests/static_to_local_ref/old.rs : 248 B
  129. tests/matcher_typed/run.sh : 239 B
  130. tests/matcher_def/run.sh : 235 B
  131. tests/autoretype_method/run.sh : 234 B
  132. tests/autoretype_array/run.sh : 234 B
  133. tests/collapse_cfg/new.rs : 233 B
  134. tests/retype_static/old.rs : 231 B
  135. tests/ownership_upgrade_ptrs/run.sh : 230 B
  136. tests/collapse_cfg/old.rs : 229 B
  137. tests/upgrade_ptr_to_ref/run.sh : 226 B
  138. tests/cleanup_params_locals/run.sh : 224 B
  139. tests/change_ast_kinds/run.sh : 219 B
  140. config.ld : 217 B
  141. tests/let_x_uninitialized/new.rs : 215 B
  142. tests/reorganize_definitions/run.sh : 212 B
  143. tests/bitcast_retype/run.sh : 212 B
  144. tests/remove_paren/run.sh : 207 B
  145. tests/collapse_cfg_attr/run.sh : 207 B
  146. tests/collapse_cfg/run.sh : 207 B
  147. tests/rename_unnamed/run.sh : 204 B
  148. tests/struct_assign_to_update/run.sh : 201 B
  149. tests/reconstruct_for_range/run.sh : 199 B
  150. tests/struct_merge_updates/run.sh : 198 B
  151. tests/remove_unused_labels/run.sh : 198 B
  152. tests/let_x_uninitialized/run.sh : 197 B
  153. tests/reflect/run.sh : 196 B
  154. tests/uninit_to_default/run.sh : 195 B
  155. tests/reconstruct_while/run.sh : 195 B
  156. tests/expr_parens_1/run.sh : 195 B
  157. tests/fold_let_assign/run.sh : 193 B
  158. tests/expr_parens_2/run.sh : 193 B
  159. tests/misc/select_path_prefix.rs : 191 B
  160. tests/sink_lets/run.sh : 187 B
  161. tests/set_visibility/old.rs : 187 B
  162. tests/set_visibility/new.rs : 187 B
  163. tests/wrap_extern/old.rs : 181 B
  164. doc/run_literate.py : 172 B
  165. tests/static_collect_to_struct/new.rs : 163 B
  166. scripts/utils.lua : 161 B
  167. tests/matcher_typed/new.rs : 159 B
  168. tests/remove_paren/new.rs : 155 B
  169. tests/matcher_typed/old.rs : 153 B
  170. tests/reconstruct_while/old.rs : 152 B
  171. tests/static_collect_to_struct/old.rs : 146 B
  172. tests/misc/src_wrapping_add_inside_macro.txt : 145 B
  173. tests/autoretype_method/old.rs : 139 B
  174. tests/abstract/old.rs : 136 B
  175. tests/autoretype_method/new.rs : 135 B
  176. tests/remove_paren/old.rs : 131 B
  177. tests/ionize/old.rs : 130 B
  178. tests/ownership_split/run.sh : 128 B
  179. scripts/test_ownership_upgrade_ptrs.lua : 124 B
  180. tests/generalize_item/new.rs : 123 B
  181. tests/retype_return/new.rs : 115 B
  182. tests/autoretype_array/old.rs : 114 B
  183. tests/generalize_item/old.rs : 111 B
  184. tests/autoretype_array/new.rs : 110 B
  185. tests/reconstruct_while/new.rs : 108 B
  186. tests/create_item_preserve_syntax/new.rs : 106 B
  187. scripts/noop_traversal.lua : 105 B
  188. tests/misc/src_while_loop.txt : 101 B
  189. tests/retype_return/old.rs : 99 B
  190. tests/matcher_def/new.rs : 97 B
  191. tests/let_x_uninitialized/old.rs : 95 B
  192. tests/matcher_def/old.rs : 89 B
  193. .gitignore : 89 B
  194. doc/literate/__main__.py : 87 B
  195. tests/change_ast_kinds/new.rs : 84 B
  196. tests/misc/src_wrapping_add.txt : 83 B
  197. tests/change_ast_kinds/old.rs : 79 B
  198. tests/misc/src_wrapping_add_println.txt : 74 B
  199. tests/misc/analysis_type_eq_alias.rs : 72 B
  200. tests/misc/pat_while_loop.txt : 70 B
  201. tests/create_item_preserve_syntax/old.rs : 64 B
  202. tests/create_item_inside/new.rs : 57 B
  203. tests/create_item_after/new.rs : 57 B
  204. tests/misc/src_let_x.txt : 55 B
  205. tests/matcher_marked/old.rs : 54 B
  206. tests/matcher_marked/new.rs : 51 B
  207. tests/misc/repl_for_loop.txt : 43 B
  208. tests/create_item_inside/old.rs : 41 B
  209. tests/create_item_after/old.rs : 41 B
  210. tests/misc/repl_let_x_uninit.txt : 39 B
  211. tests/multi_rewrite/old.rs : 29 B
  212. tests/multi_rewrite/new.rs : 29 B
  213. tests/.gitignore : 28 B
  214. tests/misc/pat_wrapping_add.txt : 22 B
  215. tests/misc/repl_add.txt : 10 B
  216. tests/misc/pat_let_x.txt : 9 B
  217. tests/rewrite_arg_list/no-rustfmt : 0 B