This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.py
2326 lines (1848 loc) · 103 KB
/
run.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
from flaskblog.models import *
from flaskblog import create_app
from flaskblog import db
app = create_app()
guides = {}
def createGuidelines():
createAGuideline('Experimentation in Software Engineering',
'Wohlin et al.')
createAGuideline('Design and Analysis of Experiments',
'Montgomery et al.')
createAGuideline('Repeatable software engineering experiments for comparing defect-detection techniques',
'Lott and Rombach')
createAGuideline('Basics of software engineering experimentation',
'Juristo and Moreno')
createAGuideline('Improving Quality through Planned Experimentation.',
'R. Moen, T. Nolan, and L. Provost')
createAGuideline('Reporting experiments in software engineering',
'Jedlitschka et al.')
createAGuideline('Desmet: a method for evaluating software engineering methods and tools',
'Kitchenham, B.')
createAGuideline('Qualitative Methods in Empirical Studies of Software Engineering',
'Seaman, C.B.')
createAGuideline('A practical guide for using statistical tests to assess randomized algorithms in software engineering',
'A. Arcuri, L. Briand')
createAGuideline('A critique and improvement of the cl common language effect size statistics of mcgraw and wong',
'A. Vargha , H.D. Delaney')
for g in guides.values():
db.session.add(g)
db.session.commit()
def createAGuideline(newTitle, newAuthors):
g = Guideline(title=newTitle.lower(), authors=newAuthors.lower())
guides[newAuthors] = g
def newExperiment(newTitle, newYear, newVenue, newAuthors, guidelines, newSettings):
p = Publication(title=newTitle, year=newYear, venue=newVenue.lower(),
authors=newAuthors.lower())
e = Experiment(settings=newSettings.lower())
for g in guidelines:
p.guidelines.append(guides[g])
p.experiments.append(e)
db.session.add(p)
db.session.add(e)
return e
def addExperiment(experiment, newSettings):
e = Experiment(settings=newSettings.lower())
experiment.exp_pub.experiments.append(e)
db.session.add(e)
return e
def addTask(newTaskType, newQuantity, experiment):
t = Task(task_type=newTaskType.lower(), quantity=newQuantity)
t.task_parent = experiment
db.session.add(t)
def setExperimentDesign(newDesign, explicity, treatmentQuantity, experiment, normalizedDesing):
d = ExperimentDesign(design_description=newDesign.lower(), is_explicity_design=explicity,
treatment_quantity=treatmentQuantity, design_normalized=normalizedDesing)
experiment.design = d
db.session.add(d)
def createSampling(strategy, experiment):
s = Sampling()
s.exp = experiment
r = Recruting(recruiting_strategy=strategy.lower(), parent_recru=s)
db.session.add(s)
db.session.add(r)
return s
def addProfile(newProfile, newQuantity, sample):
sp = SamplingProfile(profile=newProfile.lower(),
quantity=newQuantity, parent_profile=sample)
db.session.add(sp)
def addCharacteristic(newCharac, sample):
sc = SamplingCharacteristic(charac=newCharac.lower(), parent_charac=sample)
db.session.add(sc)
def addMeasuriment(experiment, newMeasure='TIME', instrument=None, details=None):
m = Measurement(measurement_type=newMeasure.lower())
if (instrument):
m.measurement_instruments = instrument.lower()
if (details):
m.measurement_details = details.lower()
experiment.measurements.append(m)
db.session.add(m)
# def attachDesign(experiment, ReclassifiedDesing):
# experiment.design_normalized=ReclassifiedDesing
# print('ReclassifiedDesing='+ReclassifiedDesing)
def createStatistics(experiment, hasPower=0, details=None, np_p=0):
s = Statistics(has_power=hasPower, statistic_details=details.lower())
s.p_or_np = np_p
s.exp = experiment
db.session.add(s)
def createPaper1():
e = newExperiment('Answering software evolution questions: An empirical evaluation', 2013, 'IST',
'Lile Hattori; Marco D’Ambros; Michele Lanza; Mircea Lungu',
['Wohlin et al.'], 'Laboratory')
# attachDesign(e, 'Independent groups')
e.median_experiment_duration = 0.5
addTask(newTaskType='COMPREHENSION', newQuantity=6, experiment=e)
setExperimentDesign(newDesign='between-subjects with balanced design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
s = createSampling('Voluntiers', e)
addProfile(newProfile='GradStudent', newQuantity=44, sample=s)
addCharacteristic(newCharac='age', sample=s)
addCharacteristic(newCharac='sex', sample=s)
addCharacteristic(newCharac='nationality', sample=s)
addCharacteristic(newCharac='Level of experience', sample=s)
addCharacteristic(newCharac='Years of experience', sample=s)
addCharacteristic(newCharac='Linux experience', sample=s)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='paper form')
createStatistics(e, 0, 'Shapiro-Wilk test; Student’s t-test; Mann-Whitney test', 2)
def createPaper2():
e = newExperiment('The impact of Software Testing education on code reliability: An empirical assessment', 2018, 'JSS',
'Otávio Augusto Lazzarini Lemos; Fábio Fagundes Silveira; Fabiano Cutigi Ferrari; Alessandro Garcia',
['Montgomery et al.'], 'Laboratory')
# attachDesign(e, 'Pretest and posttest control')
e.median_task_duration = 2
addTask(newTaskType='CONSTRUCTION', newQuantity=4, experiment=e)
setExperimentDesign(newDesign='pre-post test with control group',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Pretest and posttest control')
s = createSampling('Not Clear', e)
addProfile(newProfile='GradStudent', newQuantity=60, sample=s)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='paper form')
createStatistics(e, 0, 'Student’s t-test; Shapiro-Wilk test', 2)
def createPaper3():
e = newExperiment('A replicated experiment for evaluating the effectiveness of pairing practice in PSP education', 2019, 'JSS',
'Guoping Rong; He Zhang; Bohan Liu; Qi Shan; Dong Shao',
[], 'Laboratory')
# attachDesign(e, 'Independent groups')
e.median_task_duration = 2
addTask(newTaskType='CONSTRUCTION', newQuantity=4, experiment=e)
setExperimentDesign(newDesign='Not Clear',
explicity=0, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
s = createSampling('Not Clear', e)
addProfile(newProfile='GradStudent', newQuantity=120, sample=s)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE', instrument='form')
addMeasuriment(experiment=e, newMeasure='TIME',
instrument='Experimenter and log')
addMeasuriment(experiment=e, newMeasure='Others',
details='Number Of Errors')
addMeasuriment(experiment=e, newMeasure='Others', details='grade')
createStatistics(e, 0, 'Wilcoxon Signed Rank Test')
def createPaper4():
e = newExperiment('On some end-user programming constructs and their understandability', 2018, 'JSS',
'M Mackowiak,; J Nawrocki; M Ochodek',
[], 'Laboratory')
# attachDesign(e, 'Independent groups')
e.median_experiment_duration = 0.1
addTask(newTaskType='COMPREHENSION', newQuantity=1, experiment=e)
setExperimentDesign(newDesign='Paired Comparison Design',
explicity=1, treatmentQuantity=1, experiment=e, normalizedDesing='Independent groups')
s = createSampling('Not Clear', e)
addProfile(newProfile='Undergradstudent', newQuantity=114, sample=s)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 1, 'Mann-Whitney test; Wilcoxon Signed Rank Test; Shapiro-Wilk test; Fisher`s exact test; Cliff’s δ effect')
def createPaper5():
e = newExperiment('A controlled experiment in assessing and estimating software maintenance tasks', 2018, 'JSS',
'M Mackowiak,; J Nawrocki; M Ochodek',
[], 'Laboratory')
# attachDesign(e, 'Independent groups')
e.median_experiment_duration = 7
addTask(newTaskType='MAINTENANCE', newQuantity=6, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=6, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=5, experiment=e)
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=3, experiment=e, normalizedDesing='Independent groups')
s = createSampling('Not Clear', e)
addProfile(newProfile='Undergradstudent', newQuantity=23, sample=s)
addProfile(newProfile='GradStudent', newQuantity=1, sample=s)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='paper form')
createStatistics(e, 0, 'Kruskal-Wallis test; Mann-Whitney test')
def createPaper6():
e = newExperiment('Impact of test-driven development on productivity, code and tests: A controlled experiment', 2011, 'IST',
'M Pancur; M Ciglaric',
['Wohlin et al.', 'Lott and Rombach'], 'Laboratory and Home')
e.median_experiment_duration = 35
e.median_task_duration = 4
# attachDesign(e, '4-group crossover')
addTask(newTaskType='CONSTRUCTION', newQuantity=9, experiment=e)
addTask(newTaskType='CONSTRUCTION', newQuantity=9, experiment=e)
addTask(newTaskType='CONSTRUCTION', newQuantity=9, experiment=e)
setExperimentDesign(newDesign='standard one factor and two treatments',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='4-group crossover')
s = createSampling('Voluntiers', e)
addProfile(newProfile='GradStudent', newQuantity=34, sample=s)
addMeasuriment(experiment=e, newMeasure='CODE', instrument='tool')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='tool')
addCharacteristic(newCharac='Java experience', sample=s)
addCharacteristic(newCharac='Programming experience', sample=s)
addCharacteristic(newCharac='OO experience', sample=s)
addCharacteristic(newCharac='Industry experience', sample=s)
createStatistics(e, 1, 'Kolmogorov-Smirnov test; Shapiro-Wilk test; Mann-Whitney test; Pearson P test; Cohen’s d; Wilcoxon Signed Rank Test')
def createPaper7():
e = newExperiment('Evaluating the productivity of a reference-based programming approach: A controlled experiment', 2014, 'IST',
'A Sturm; O Kramer',
[], 'Laboratory')
e.median_experiment_duration = 0.1
e.median_task_duration = 9
# attachDesign(e, 'Independent groups')
addTask(newTaskType='CONSTRUCTION', newQuantity=1, experiment=e)
setExperimentDesign(newDesign='standard one factor and two treatments',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
s = createSampling('Voluntiers', e)
addProfile(newProfile='GradStudent', newQuantity=50, sample=s)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='paper form')
createStatistics(e, 0, 'Mann-Whitney test')
def createPaper9():
e = newExperiment('Towards an operationalization of test-driven development skills: An industrial empirical study', 2015, 'IST',
'Fucci, D.; Turhan, B.; Juristo, N.; Dieste, O.; Tosun-Misirli, A.; Oivo, M.',
[], 'Company')
e.median_experiment_duration = 5
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=1, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='CONSTRUCTION', newQuantity=3, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE')
createStatistics(e, 1, 'ANOVA; Bartlett’s test')
s = createSampling('Voluntiers', e)
addProfile(newProfile='Professionals', newQuantity=30, sample=s)
def createPaper10():
e = newExperiment('Tester interactivity makes a difference in search-based software testing: A controlled experiment', 2016, 'IST',
'Marculescu, B.; Poulding, S.; Feldt, R.; Petersen, K.; Torkar, R. ',
['A. Arcuri, L. Briand', 'A. Vargha , H.D. Delaney'], 'Company')
e.median_task_duration = 0.75
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='crossover design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='TEST', newQuantity=1, experiment=e)
addTask(newTaskType='TEST', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE',
instrument='form')
addMeasuriment(experiment=e, newMeasure='CODE', details='test cases')
createStatistics(e, 1, 'Mann-Whitney test; Vargha and Delaney')
s = createSampling('part of Course', e)
addProfile(newProfile='Gradstudent', newQuantity=58, sample=s)
def createPaper12():
e = newExperiment('Live programming in practice: A controlled experiment on state machines for robotic behaviors', 2018, 'IST',
'Campusano, M.; Fabry, J.; Bergel, A.',
[], 'Laboratory')
# attachDesign(e, '4-group crossover')
# experiment 1
e.median_task_duration = 4
setExperimentDesign(newDesign='within-subjects design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='4-group crossover')
addTask(newTaskType='COMPREHENSION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 0, 'Mann-Whitney test')
s = createSampling('Not Clear', e)
addProfile(newProfile='Gradstudent', newQuantity=2, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=8, sample=s)
addCharacteristic(newCharac='age', sample=s)
addCharacteristic(newCharac='Scholarity', sample=s)
addCharacteristic(newCharac='tool expertize', sample=s)
# experiment 2
e2 = addExperiment(e, newSettings='Laboratory')
setExperimentDesign(newDesign='within-subjects design',
explicity=1, treatmentQuantity=2, experiment=e2, normalizedDesing='4-group crossover')
# attachDesign(e2, '4-group crossover')
addTask(newTaskType='CONSTRUCTION', newQuantity=3, experiment=e2)
addMeasuriment(experiment=e2, newMeasure='SUBJECTIVE')
addMeasuriment(experiment=e2, newMeasure='TIME')
createStatistics(e2, 0, 'Mann-Whitney test')
s2 = createSampling('Not Clear', e2)
addProfile(newProfile='Gradstudent', newQuantity=2, sample=s2)
addProfile(newProfile='Undergradstudent', newQuantity=8, sample=s2)
def createPaper14():
e = newExperiment('The impact of test-first programming on branch coverage and mutation score indicator of unit tests: An experiment', 2010, 'IST',
'Madeyski L.',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 5
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='design is one factor with the two treatments',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='CONSTRUCTION;TEST', newQuantity=10, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE', instrument='repository')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='paper form')
createStatistics(
e, 1, 'Kolmogorov-Smirnov test; Shapiro-Wilk test; Mahalanobis distance;' +
' Levene test; Test of Equality of Covariance Matrices; MANCOVA')
s = createSampling('Part of Course', e)
addCharacteristic(newCharac='programming experience', sample=s)
addCharacteristic(newCharac='JUnit experience', sample=s)
addCharacteristic(newCharac='Larger program in JAVA', sample=s)
addProfile(newProfile='GradStudent', newQuantity=19, sample=s)
def createPaper15():
e = newExperiment('Combining Functional and Imperative Programming for Multicore Software: An Empirical Study Evaluating Scala and Java', 2012, 'ICSE',
'Pankratius, V.; Schmidt, F.; Garretón, G.',
[], 'Laboratory')
#e.median_task_duration = 1.5
e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='counterbalanced within-subjects design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='CONSTRUCTION', newQuantity=1, experiment=e)
addTask(newTaskType='CONSTRUCTION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE', instrument='upload')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='form')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE', instrument='form')
createStatistics(e, 0, 'MANOVA; Wilcoxon Signed Rank Test')
s = createSampling('Not Clear', e)
addProfile(newProfile='GradStudent', newQuantity=13, sample=s)
def createPaper16():
e = newExperiment('An Empirical Study on the Developers’ Perception of Software Coupling', 2013, 'ICSE',
'Bavota, G.; Dit, B.; Oliveto, R.; Di Penta, M.; Poshyvanyk, D.; De Lucia, A.',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=4, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='COMPREHENSION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
createStatistics(e, 1, 'Mann-Whitney test; Cliff’s δ effect')
s = createSampling('Voluntiers', e)
addProfile(newProfile='GradStudent', newQuantity=49, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=10, sample=s)
addProfile(newProfile='Professionals', newQuantity=14, sample=s)
def createPaper17():
e = newExperiment('Recommending Source Code for Use in Rapid Software Prototypes', 2012, 'ICSE',
'McMillan, C.; Hariri, N.; Poshyvanyk, D.; Cleland-Huang, J.; Mobasher, B.',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='Cross-Validation Design',
explicity=1, treatmentQuantity=4, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='CONSTRUCTION', newQuantity=6, experiment=e)
addTask(newTaskType='CONSTRUCTION', newQuantity=6, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
createStatistics(e, 0, 'ANOVA; t-test')
s = createSampling('Not Clear', e)
addCharacteristic(newCharac='Industry experience', sample=s)
addCharacteristic(newCharac='Java experience', sample=s)
addProfile(newProfile='GradStudent', newQuantity=28, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=3, sample=s)
def createPaper18():
e = newExperiment('Improving Feature Location Practice with Multi-faceted Interactive Exploration', 2013, 'ICSE',
'Wang, J.; Peng, X.; Xing, Z.; Zhao, W. ',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='COMPREHENSION', newQuantity=4, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE',
instrument='screen recorder')
addMeasuriment(experiment=e, newMeasure='TIME',
instrument='screen recorder')
createStatistics(e, 0, 't-test')
s = createSampling('Not Clear', e)
addProfile(newProfile='GradStudent', newQuantity=13, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=7, sample=s)
def createPaper19():
e = newExperiment('The Effect of Noise on Software Engineers’ Performance', 2018, 'ESEM',
'Romano, S.; Scanniello, G.; Fucci, D.; Juristo, N.; Turhan, B.',
['Juristo and Moreno', 'Wohlin et al.', 'Jedlitschka et al.'], 'Laboratory')
e.median_task_duration = 0.5
e.median_experiment_duration = 0.1
# attachDesign(e, 'crossover design')
# setExperimentDesign(newDesign='ABBA crossover design', explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
setExperimentDesign(newDesign='AB/BA crossover design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='COMPREHENSION', newQuantity=1, experiment=e)
addTask(newTaskType='COMPREHENSION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
createStatistics(e, 1, 'Mann-Whitney test; Shapiro-Wilk test; Cliff’s δ effect')
s = createSampling('Extra Grade', e)
addProfile(newProfile='Undergradstudent', newQuantity=55, sample=s)
# experiment 2
e2 = addExperiment(e, newSettings='Laboratory')
# attachDesign(e2, 'crossover design')
setExperimentDesign(newDesign='AB/BA crossover design',
explicity=1, treatmentQuantity=2, experiment=e2, normalizedDesing='crossover design')
addTask(newTaskType='MAINTENANCE', newQuantity=1, experiment=e2)
addTask(newTaskType='MAINTENANCE', newQuantity=1, experiment=e2)
addMeasuriment(experiment=e2, newMeasure='CODE')
createStatistics(e2, 1, 'Mann-Whitney test; Shapiro-Wilk test')
s2 = createSampling('Extra Grade', e2)
addProfile(newProfile='Undergradstudent', newQuantity=42, sample=s2)
def createPaper20():
e = newExperiment('Developer Reading Behavior While Summarizing Java Methods: Size and Context Matters', 2019, 'ICSE',
'Abid, N. J.; Sharif, B.; Dragan, N.; Alrasheed, H.; Maletic, J. I. ',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=1, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='COMPREHENSION', newQuantity=23, experiment=e)
addMeasuriment(experiment=e, newMeasure='Others',
instrument='eye traker')
addMeasuriment(experiment=e, newMeasure='CODE',
instrument='tool')
addMeasuriment(experiment=e, newMeasure='TIME',
instrument='tool')
createStatistics(e, 1, 'Wilcoxon Signed Rank Test; Bonferroni p-value correction; Cohen’s d')
s = createSampling('Not Clear', e)
addProfile(newProfile='GradStudent', newQuantity=3, sample=s)
addProfile(newProfile='Student', newQuantity=13, sample=s)
addProfile(newProfile='Professionals', newQuantity=2, sample=s)
def createPaper21():
e = newExperiment('Debugging for Reactive Programming', 2016, 'ICSE',
'Salvaneschi, G.; Mezini, M.',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='between-subjects design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='DEGUGGING', newQuantity=6, experiment=e)
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 0, 'Mann-Whitney test')
s = createSampling('Not Clear', e)
addProfile(newProfile='Undergradstudent', newQuantity=18, sample=s)
def createPaper22():
e = newExperiment('The Effect of Poor Source Code Lexicon and Readability on Developers’ Cognitive Load', 2018, 'ICSE',
'Fakhoury, S.; Ma, Y.; Arnaoudova, V.; Adesope, O. ',
[], 'Laboratory')
#e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=4, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='DEGUGGING', newQuantity=1, experiment=e)
addTask(newTaskType='COMPREHENSION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='Others',
instrument='eye traker')
addMeasuriment(experiment=e, newMeasure='Others',
instrument='Brain Image')
createStatistics(e, 1, 'Wilcoxon Signed Rank Test; Cliff’s δ effect')
s = createSampling('Reward', e)
addProfile(newProfile='Professionals', newQuantity=15, sample=s)
def createPaper23():
e = newExperiment('A Controlled Experiment for Program Comprehension through Trace Visualization', 2018, 'ICSE',
'Cornelissen, B.; Zaidman, A.; van Deursen, A.',
[], 'Laboratory')
e.median_task_duration = 1.5
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='COMPREHENSION', newQuantity=8, experiment=e)
addMeasuriment(experiment=e, newMeasure='TIME',
instrument='form')
addMeasuriment(experiment=e, newMeasure='CODE')
createStatistics(e, 0, 'Kolmogorov-Smirnov test; Levene test; Student’s t-test')
s = createSampling('Voluntiers', e)
addProfile(newProfile='Gradstudent', newQuantity=26, sample=s)
addProfile(newProfile='Professionals', newQuantity=8, sample=s)
def createPaper24():
e = newExperiment('A Controlled Experiment for Evaluating the Impact of Coupling on the Maintainability of Service-Oriented Software', 2010, 'TSE',
'Cornelissen, B.; Zaidman, A.; van Deursen, A.',
['R. Moen, T. Nolan, and L. Provost'], 'Laboratory')
e.median_task_duration = 3
#e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='incomplete within-subjects design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='MAINTENANCE', newQuantity=1, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME',
instrument='Experimenter')
createStatistics(
e, 1, 'Shapiro-Wilk test; G*Power 3; ANOVA')
s = createSampling('Voluntiers', e)
addProfile(newProfile='Gradstudent', newQuantity=5, sample=s)
def createPaper25():
e = newExperiment('Improving Source Code Lexicon via Traceability and Information Retrieval', 2010, 'TSE',
'De Lucia, A.; Di Penta, M.; Oliveto, R.',
[], 'Laboratory')
e.median_task_duration = 2
e.median_experiment_duration = 0.1
# attachDesign(e, '4-group crossover')
setExperimentDesign(newDesign='completely balanced design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='4-group crossover')
addTask(newTaskType='MAINTENANCE', newQuantity=2, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE',
instrument='form')
createStatistics(e, 1, 'Shapiro-Wilk test; Mann-Whitney test')
s = createSampling('Voluntiers', e)
addProfile(newProfile='Gradstudent', newQuantity=16, sample=s)
# experiment 2
e2 = addExperiment(e, newSettings='Laboratory')
# attachDesign(e2, '4-group crossover')
setExperimentDesign(newDesign='Paired Comparison Design',
explicity=0, treatmentQuantity=2, experiment=e2, normalizedDesing='4-group crossover')
e2.median_task_duration = 2
addTask(newTaskType='MAINTENANCE', newQuantity=2, experiment=e2)
addMeasuriment(experiment=e2, newMeasure='CODE')
addMeasuriment(experiment=e2, newMeasure='SUBJECTIVE',
instrument='form')
createStatistics(e2, 1, 'Mann-Whitney test; Shapiro-Wilk test; ANOVA')
s2 = createSampling('Extra Grade', e2)
addProfile(newProfile='Undergradstudent', newQuantity=20, sample=s2)
def createPaper26():
e = newExperiment('Preserving Aspects via Automation: a Maintainability Study', 2011, 'ESEM',
'Hovsepyan, A., Scandariato, R., Van Baelen, S., Joosen, W., & Demeyer, S.',
[], 'Laboratory')
e.median_task_duration = 3
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='MAINTENANCE', newQuantity=4, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME',
instrument='tool')
createStatistics(e, 1, 'Shapiro-Wilk test; t-test')
s = createSampling('Voluntiers', e)
addCharacteristic(newCharac='Programming experience', sample=s)
addCharacteristic(newCharac='Java experience', sample=s)
addCharacteristic(newCharac='UML experience', sample=s)
addProfile(newProfile='Gradstudent', newQuantity=17, sample=s)
def createPaper27():
e = newExperiment('A Replicated Experiment on the Effectiveness of Test-first Development', 2013, 'ESEM',
'Fucci, D.; Turhan, B. ',
['Juristo and Moreno'], 'Laboratory')
e.median_task_duration = 3
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='Paired Comparison Design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='CONSTRUCTION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 1, 'Lilliefors test; Mann-Whitney test; ANCOVA')
s = createSampling('Voluntiers', e)
addCharacteristic(newCharac='OO experience', sample=s)
addCharacteristic(newCharac='JUnit experience', sample=s)
addCharacteristic(newCharac='TDD experience', sample=s)
addCharacteristic(newCharac='Eclipse experience', sample=s)
addProfile(newProfile='Gradstudent', newQuantity=33, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=25, sample=s)
def createPaper28():
e = newExperiment('Refactoring Inspection Support for Manual Refactoring Edits', 2017, 'TSE',
'Alves, E. L.; Song, M.; Massoni, T.; Machado, P. D.; Kim, M.',
[], 'Laboratory')
e.median_task_duration = 3
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='INSPECTION', newQuantity=4, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 0, 'Chi-squared Tests')
s = createSampling('Voluntiers', e)
addProfile(newProfile='Professionals', newQuantity=15, sample=s)
def createPaper29():
e = newExperiment('A Comparison of Program Comprehension Strategies by Blind and Sighted Programmers', 2017, 'TSE',
'Armaly, A.; Rodeghero, P.; McMillan, C.',
[], 'Laboratory')
e.median_task_duration = 1
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='COMPREHENSION', newQuantity=23, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 0, 'Mann-Whitney test')
s = createSampling('Reward', e)
addCharacteristic(newCharac='Industry experience', sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=3, sample=s)
addProfile(newProfile='Professionals', newQuantity=9, sample=s)
def createPaper30():
e = newExperiment('The Scent of a Smell: An Extensive Comparison Between Textual and Structural Smells', 2017, 'TSE',
'Palomba, F.; Panichella, A.; Zaidman, A.; Oliveto, R.; De Lucia, A.',
[], 'Laboratory')
e.median_task_duration = 2.5
#e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='',
explicity=0, treatmentQuantity=3, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='MAINTENANCE', newQuantity=4, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=4, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=4, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(e, 1, 'Wilcoxon Signed Rank Test')
s = createSampling('Not Clear', e)
addCharacteristic(newCharac='Industry experience', sample=s)
addCharacteristic(newCharac='programming experience', sample=s)
addCharacteristic(newCharac='Code Smells experience', sample=s)
addProfile(newProfile='Professionals', newQuantity=19, sample=s)
# def createPaper31():
# e = newExperiment('VT-Revolution: Interactive Programming Video Tutorial Authoring and Watching System', 2018, 'TSE',
# 'Bao, L.; Xing, Z.; Xia, X.; Lo, D.',
# [], 'Laboratory')
# e.median_task_duration = 2.5
# #e.median_experiment_duration = 28
# setExperimentDesign(newDesign='Factorial Design',
# explicity=0, treatmentQuantity=3, experiment=e)
# addTask(newTaskType='COMPREHENSION', newQuantity=12, experiment=e)
# addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
# addMeasuriment(experiment=e, newMeasure='TIME')
# createStatistics(e, 1, 'Wilcoxon')
# s = createSampling('Not Clear', e)
# addCharacteristic(newCharac='programmin experience', sample=s)
# addCharacteristic(newCharac='Code Smells experience', sample=s)
# addProfile(newProfile='Professionals', newQuantity=19, sample=s)
def createPaper32():
e = newExperiment('Cascade: A Universal Type Qualifier Inference Tool', 2015, 'ICSE',
'Vakilian, M.; Phaosawasdi, A.; Ernst, M. D.; Johnson, R. E.',
[], 'Laboratory')
#e.median_task_duration = 2.5
#e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='within-subject, counterbalanced',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='MAINTENANCE', newQuantity=1, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE')
createStatistics(e, 0, 'Welch t test')
s = createSampling('Reward', e)
addCharacteristic(newCharac='programming experience', sample=s)
addProfile(newProfile='GradStudent', newQuantity=12, sample=s)
def createPaper34():
e = newExperiment('A Longitudinal Cohort Study on the Retainment of Test-Driven Development', 2018, 'ESEM',
'Fucci, D.; Romano, S.; Baldassarre, M. T.; Caivano, D.; Scanniello, G.; Turhan, B.; Juristo, N.',
[], 'Laboratory')
#e.median_task_duration = 2.5
#e.median_experiment_duration = 28
# attachDesign(e, '4-group crossover')
setExperimentDesign(newDesign='within-subjects design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='4-group crossover')
addTask(newTaskType='CONSTRUCTION', newQuantity=2, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE', instrument='repository')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE', instrument='form')
createStatistics(e, 1, 'Shapiro-Wilk test; Linear Mixed Model Analysis')
s = createSampling('Extra Grade', e)
addProfile(newProfile='Undergradstudent', newQuantity=30, sample=s)
def createPaper35():
e = newExperiment('Syntax, predicates, idioms — what really affects code complexity?', 2019, 'ESE',
'Ajami, S.; Woodbridge, Y.; Feitelson, D. G.',
[], 'Home')
#e.median_task_duration = 2.5
#e.median_experiment_duration = 28
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='Within Subject Design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='COMPREHENSION', newQuantity=6, experiment=e)
addTask(newTaskType='COMPREHENSION', newQuantity=6, experiment=e)
addMeasuriment(experiment=e, newMeasure='TIME', instrument='tool')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE', instrument='tool')
createStatistics(
e, 1, 't-test; Wilcoxon Signed Rank Test; Welch t-test; correlation coefficient')
s = createSampling('Reward', e)
addCharacteristic(newCharac='gender', sample=s)
addCharacteristic(newCharac='age', sample=s)
addCharacteristic(newCharac='programming experience', sample=s)
addProfile(newProfile='Professionals', newQuantity=220, sample=s)
def createPaper36():
e = newExperiment('Are Forward Designed or Reverse-Engineered UML Diagrams More Helpful for Code Maintenance?: A Controlled Experiment', 2013, 'EASE',
'Fernández-Sáez, A. M.; Chaudron, M. R.; Genero, M.; Ramos, I. ',
['Wohlin et al.', 'Juristo and Moreno', 'Jedlitschka et al.'], 'Laboratory')
e.median_task_duration = 2
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='between-subjects balanced design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='MAINTENANCE', newQuantity=5, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE', instrument='tool')
addMeasuriment(experiment=e, newMeasure='TIME')
createStatistics(
e, 0, 'Kolmogorov-Smirnov test; Levene test; Mann-Whitney test; ANOVA; T-test')
s = createSampling('Voluntiers', e)
addCharacteristic(newCharac='grade', sample=s)
addCharacteristic(newCharac='Professional experience', sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=40, sample=s)
# def createPaper37():
# e = newExperiment('Using Psycho-Physiological Measures to Assess Task Difficulty in Software Development', 2013, 'ICSE',
# 'Fritz, T.; Begel, A.; Müller, S. C.; Yigit-Elliott, S.; Züger, M.',
# [], 'Laboratory')
# e.median_task_duration = 1.5
# #e.median_experiment_duration = 28
# setExperimentDesign(newDesign='',
# explicity=0, treatmentQuantity=2, experiment=e)
# addTask(newTaskType='COMPREHENSION', newQuantity=8, experiment=e)
# addMeasuriment(experiment=e, newMeasure='SUBJECTIVE', instrument='form')
# addMeasuriment(experiment=e, newMeasure='Others',
# instrument='eye-tracking')
# addMeasuriment(experiment=e, newMeasure='Others', instrument='EDA')
# addMeasuriment(experiment=e, newMeasure='Others', instrument='EEG')
# createStatistics(
# e, 0, 'ANOVA')
# s = createSampling('Reward', e)
# addCharacteristic(newCharac='age', sample=s)
# addCharacteristic(newCharac='gender', sample=s)
# addCharacteristic(newCharac='Professional experience', sample=s)
# addProfile(newProfile='Professionals', newQuantity=15, sample=s)
def createPaper39():
e = newExperiment('A family of experiments to assess the effectiveness and efficiency of source code obfuscation techniques', 2014, 'ESEM',
'Ceccato, M.; Di Penta, M.; Falcarin, P.; Ricca, F.; Torchiano, M.; Tonella, P.',
['Wohlin et al.'], 'Laboratory')
#e.median_task_duration = 2
#e.median_experiment_duration = 28
# attachDesign(e, '4-group crossover')
setExperimentDesign(newDesign='counter-balanced design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='4-group crossover')
addTask(newTaskType='MAINTENANCE', newQuantity=4, experiment=e)
addTask(newTaskType='MAINTENANCE', newQuantity=4, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE', instrument='email')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='form')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE',
instrument='form')
createStatistics(
e, 1, 'Fisher`s exact test; x2 test; Mann-Whitney test; ANOVA; repeated measures permutation test')
s = createSampling('Not Clear', e)
addProfile(newProfile='Gradstudent', newQuantity=61, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=13, sample=s)
def createPaper40():
e = newExperiment('Understanding JavaScript Event-Based Interactions', 2014, 'ICSE',
'Alimadadi, S.; Sequeira, S.; Mesbah, A.; Pattabiraman, K.',
['Wohlin et al.'], 'Laboratory')
#e.median_task_duration = 2
#e.median_experiment_duration = 28
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='between-subject design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='COMPREHENSION', newQuantity=6, experiment=e)
addMeasuriment(experiment=e, newMeasure='TIME')
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE',
instrument='paper form')
createStatistics(
e, 0, 't-test; Mann-Whitney test')
s = createSampling('Not Clear', e)
addCharacteristic(newCharac='Web programming experience', sample=s)
addCharacteristic(newCharac='gender', sample=s)
addProfile(newProfile='Gradstudent', newQuantity=14, sample=s)
addProfile(newProfile='Undergradstudent', newQuantity=2, sample=s)
# experiment 2
e2 = addExperiment(e, newSettings='Company')
# attachDesign(e2, 'Independent groups')
setExperimentDesign(newDesign='between-subject design',
explicity=1, treatmentQuantity=2, experiment=e2, normalizedDesing='Independent groups')
#e2.median_task_duration = 2
addTask(newTaskType='COMPREHENSION', newQuantity=4, experiment=e2)
addMeasuriment(experiment=e2, newMeasure='TIME')
addMeasuriment(experiment=e2, newMeasure='SUBJECTIVE',
instrument='paper form')
createStatistics(
e2, 0, 't-test')
s2 = createSampling('Not Clear', e2)
addProfile(newProfile='Professionals', newQuantity=20, sample=s2)
def createPaper41():
e = newExperiment('Comparing the Defect Reduction Benefits of Code Inspection and Test-Driven Development', 2011, 'TSE',
'Wilkerson, J. W.; Nunamaker, J. F.; Mercer, R.',
['Wohlin et al.'], 'Home')
#e.median_task_duration = 2
e.median_experiment_duration = 14
# attachDesign(e, 'Independent groups')
setExperimentDesign(newDesign='two-by-two, between-subjects, factorial design',
explicity=1, treatmentQuantity=4, experiment=e, normalizedDesing='Independent groups')
addTask(newTaskType='CONSTRUCTION', newQuantity=1, experiment=e)
addMeasuriment(experiment=e, newMeasure='CODE')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='form')
createStatistics(
e, 0, 'Bartlett’s test; MANOVA')
s = createSampling('Reward', e)
addProfile(newProfile='Undergradstudent', newQuantity=29, sample=s)
def createPaper42():
e = newExperiment('Descriptive Compound Identifier Names Improve Source Code Comprehension', 2018, 'ICSE',
'Schankin, A.; Berger, A.; Holt, D. V.; Hofmeister, J. C.; Riedel, T.; Beigl, M. ',
[], 'Home')
#e.median_task_duration = 2
#e.median_experiment_duration = 14
# attachDesign(e, 'crossover design')
setExperimentDesign(newDesign='within-subjects design',
explicity=1, treatmentQuantity=2, experiment=e, normalizedDesing='crossover design')
addTask(newTaskType='DEGUGGING', newQuantity=4, experiment=e)
addMeasuriment(experiment=e, newMeasure='SUBJECTIVE', instrument='tool')
addMeasuriment(experiment=e, newMeasure='TIME', instrument='tool')
createStatistics(
e, 1, 'Cohen’s d; t-test')
s = createSampling('Not Clear', e)
addProfile(newProfile='Student', newQuantity=50, sample=s)
addProfile(newProfile='Professionals', newQuantity=38, sample=s)
def createPaper43():
e = newExperiment('Drag-and-Drop Refactoring: Intuitive and Efficient Program Transformation', 2013, 'ICSE',
'Lee, Y. Y.; Chen, N.; Johnson, R. E.',
[], 'Home')
#e.median_task_duration = 2
#e.median_experiment_duration = 14