Reference
compute_metrics(file_name, code, unit)
builtin
Calculates various code metrics for the provided code.
Imitates the behavior of the metrics REST API endpoint of rust-code-analysis-web.
| Parameters: |
|
|---|
| Returns: |
|
|---|
remove_comments(file_name, code)
builtin
Removes comments from the provided code.
Imitates the behavior of the remove_comments REST API endpoint of rust-code-analysis-web.
| Parameters: |
|
|---|
| Returns: |
|
|---|