Spaces Data

Minimal test - lines (152, 164)

path: .spaces[2].spaces[5].metrics.loc.cloc
old: 9.0
new: 11.0

path: .spaces[2].spaces[5].metrics.loc.sloc
old: 11.0
new: 13.0

path: .spaces[2].spaces[5].metrics.mi.mi_visual_studio
old: 66.00793919344575
new: 64.42532154926839

path: .spaces[2].spaces[5].metrics.mi.mi_sei
old: 136.5265929358004
new: 132.8086790179034

path: .spaces[2].spaces[5].metrics.mi.mi_original
old: 112.87357602079224
new: 110.16729984924892

Code

  def AddFiles(self, files):
    """Adds files to the project.

    Args:
      files: A list of Filter objects and/or relative paths to files.

    This makes a copy of the file/filter tree at the time of this call.  If you
    later add files to a Filter object which was passed into a previous call
    to AddFiles(), it will not be reflected in this project.
    """
    self._AddFilesToNode(self.files_section, files)
    # TODO(rspangler) This also doesn't handle adding files to an existing
    # filter.  That is, it doesn't merge the trees.