Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 517 Bytes

YAML.md

File metadata and controls

24 lines (19 loc) · 517 Bytes

File Metrics for YAML

This document outlines the definition of file metrics for YAML.

max_nesting_level

The max_nesting_level metric quantifies the deepest level of array (annotated with -, not [...]) and object nesting within a YAML file.

Examples: max_nesting_level is:

  • 0 for name: "yaml" and empty files.
  • 2 for
    name:
        - firstname: "Hans"
    
  • 0 for
    name: |
        firstname
        lastname
    

lines_of_code

see README.md