Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightweight Assessment of Test-Case Effectivene...

Lightweight Assessment of Test-Case Effectiveness using Source-Code-Quality Indicators

Presentation given at Automated Software Engineering (ASE) International Conference in San Diego, 2019.
I presented a IEEE Transaction on Software Engineering paper titled Lightweight Assessment of Test-Case Effectiveness using Source-Code-Quality Indicators.

Avatar for Giovanni Grano

Giovanni Grano

November 12, 2019
Tweet

More Decks by Giovanni Grano

Other Decks in Research

Transcript

  1. Lightweight Assessment of Test-Case Effectiveness Using Source-Code-Quality Indicators Giovanni Grano,

    Fabio Palomba, Harald C. Gall http://tiny.uzh.ch/Zx @giograno90 34th IEEE/ACM International Conference on Automated Software Engineering 2019 (San Diego) software evolu tion & arch itectu re lab
  2. measuring effectiveness mutation testing if (a && b) c =

    c + 1; else c = 0; mutation score detected (killed) mutants generated mutants if (a || b) c = c + 1; else c = 0; mutants
  3. source-code metrics test smells code smells relationship with fault-proneness of

    production code 67 metrics readability code coverage production/test metrics CK OO
  4. machine learning problem binary classification 3 ML algorithms 2 models

    0 low score 1 high score random forest k-neighbors support vector machine all features only static
  5. results dynamic model static model random forest 0.949 AUC 0.864

    AUC estimation of the effectiveness without actually run any test
  6. important factors line coverage others 0 0.175 0.35 0.525 0.7

    dynamic model mean decrease in impurity
  7. important factors McCabe prod. RFC prod. WMC test LCOM1 test

    LCOM1 prod. 0 0.04 0.08 0.12 0.16 static model mean decrease in impurity