Published June 28, 2021 | Version v1

Characterizing high quality test methods, MSR'22

  • 1. UFMG

Description

Replication Kit for "Characterizing high quality test methods" paper.

Number of records: 15970;

Number of columns: 50;

Columns list:

  • Id;
  • Project;
  • Class;
  • Method;
  • Killed;
  • Survived;
  • TimedOut;
  • Total;
  • Score;
  • WhileCount;
  • ConditionCount;
  • RedundantCount;
  • AssertCount;
  • IfCount;
  • ExceptionCount;
  • ForeachCount;
  • PrintCount;
  • SwitchCount;
  • MysteryCount;
  • ForCount;
  • VerboseCount;
  • ResourceOptimismCount;
  • ThreadSleepCount;
  • SensitiveCount;
  • MagicNumberCount;
  • Assertion Roulette;
  • Mystery Guest;
  • Sleepy Test;
  • Unknown Test;
  • Redundant Assertion;
  • Dependent Test;
  • Magic Number Test;
  • Conditional Test Logic;
  • EmptyTest;
  • General Fixture;
  • Sensitive Equality;
  • Verbose Test;
  • IgnoredTest;
  • Resource Optimism;
  • Duplicate Assert;
  • Exception Catching Throwing;
  • Print Statement;
  • SLOC;
  • Complexity;
  • ModifyingCommits;
  • Contributors;
  • MaxExperienced;
  • MinExperienced;
  • MeanExperience;
  • MedianExperience;
  • StdevExperience

Format: CSV

Attributes per category:

Size & Complexity: number of lines of code, cyclomatic complexity, loop count and conditional count;

Exception: exception count and resource optimism;

Contributors: Developers' expertise and number of contributors;

Changes: Number of modifications;

Quality: Number of asserts, mystery guest count, magic number count, print count, sleep count,
sensitive count

Test Smells: Assertion Roulette, Mystery Guest, Sleepy Test, Unknown Test, Redundant Assertion, Dependent Test, Magic Number Test, Conditional Test Logic, EmptyTest, General Fixture, Sensitive Equality, Verbose Test, IgnoredTest, Resource Optimism, Duplicate Assert, Exception Catching Throwing, Print Statement; 

Files

merged-treated.csv

Files (6.2 MB)

Name Size Download all
md5:d9315d70514110ecf1af7c72d2540f43
6.2 MB Preview Download