Skip to content

Metrics to mine #7

@Dahny

Description

@Dahny

General Test-Refactoring info:
Miner Info:

  • RefactoringType
  • RefactoringSummary

Diff Metrics:

  • Number of lines in the diff

Meta info:

  • Project Name
  • Commit Hash
  • Parent Commit Hash
  • Method Name (if available)
  • Class Name
  • File location
  • Commit Date
  • Commit Message

Extract-Method Refactoring:
Class-level metrics (before and after):

  • LOC
  • Number of Methods
  • Number of Attributes
  • Number of Method Invocations
  • WMC
    Lifetime of class:
  • When was it created
  • When was the method added
  • Every commit date when the class was changed

Method-level Metrics (related to the origin method):

  • LOC
  • Complexity
  • Coupling
  • contains an assertion

The extracted piece of code:

  • Complexity
  • LOC
  • Contains an Assertion
  • ReplacementType

All the "General Test-Refactoring info" will also be included in the "Extract-Method Refactoring" info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions