Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sum (0.16 sec)

  1. .cm/summary_table.cm

    changes:
      # Sum all the lines added/edited in the PR
      additions: {{ branch.diff.files_metadata | map(attr='additions') | sum }}
      # Sum all the line removed in the PR
      deletions: {{ branch.diff.files_metadata | map(attr='deletions') | sum }}
      # Calculate the ratio of new code
      ratio: {{ (changes.additions / (changes.additions + changes.deletions)) * 100 }}
      # Total number of files changed
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top