Skip to main content

Showing 1–15 of 15 results for author: Feitelson, D G

.
  1. arXiv:2404.08303  [pdf, other

    cs.SE cs.LG

    A Large Scale Survey of Motivation in Software Development and Analysis of its Validity

    Authors: Idan Amit, Dror G. Feitelson

    Abstract: Context: Motivation is known to improve performance. In software development in particular, there has been considerable interest in the motivation of contributors to open source. Objective: We identify 11 motivators from the literature (enjoying programming, ownership of code, learning, self use, etc.), and evaluate their relative effect on motivation. Since motivation is an internal subjective fe… ▽ More

    Submitted 12 April, 2024; originally announced April 2024.

  2. arXiv:2402.10022  [pdf, ps, other

    cs.SE

    Reproducing, Extending, and Analyzing Naming Experiments

    Authors: Rachel Alpern, Ido Lazer, Issar Tzachor, Hanit Hakim, Sapir Weissbuch, Dror G. Feitelson

    Abstract: Naming is very important in software development, as names are often the only vehicle of meaning about what the code is intended to do. A recent study on how developers choose names collected the names given by different developers for the same objects. This enabled a study of these names' diversity and structure, and the construction of a model of how names are created. We reproduce different par… ▽ More

    Submitted 15 February, 2024; originally announced February 2024.

    Comments: 35 pages with 10 figures and 6 tables

  3. arXiv:2401.07704  [pdf, other

    cs.SE

    The Paradox of Function Header Comments

    Authors: Arthur Oxenhorn, Almog Mor, Uri Stern, Dror G. Feitelson

    Abstract: Perhaps the most widely used form of code documentation is function header comments. We performed a large-scale survey of 367 developers to catalog their expectations from such documentation and to chronicle actual practice. Paradoxically, we found that developers appreciate the value of header comments and estimate that they are worth the investment in time, but nevertheless they tend not to writ… ▽ More

    Submitted 15 January, 2024; originally announced January 2024.

    Comments: 11 pages, 2 figures plus 23 inlined graphs

  4. arXiv:2209.03198  [pdf, ps, other

    cs.SE

    When Are Names Similar Or the Same? Introducing the Code Names Matcher Library

    Authors: Moshe Munk, Dror G. Feitelson

    Abstract: Program code contains functions, variables, and data structures that are represented by names. To promote human understanding, these names should describe the role and use of the code elements they represent. But the names given by developers show high variability, reflecting the tastes of each developer, with different words used for the same meaning or the same words used for different meanings.… ▽ More

    Submitted 7 September, 2022; originally announced September 2022.

    Comments: 20 pages. Download from https://pypi.org/project/namecompare/

  5. arXiv:2209.01098  [pdf, other

    cs.SE

    How Developers Extract Functions: An Experiment

    Authors: Alexey Braver, Dror G. Feitelson

    Abstract: Creating functions is at the center of writing computer programs. But there has been little empirical research on how this is done and what are the considerations that developers use. We design an experiment in which we can compare the decisions made by multiple developers under exactly the same conditions. The experiment is based on taking existing production code, "flattening" it into a single m… ▽ More

    Submitted 2 September, 2022; originally announced September 2022.

    Comments: 11 pages with 7 figures and 1 table

  6. arXiv:2112.13217  [pdf, ps, other

    cs.SE

    "We do not appreciate being experimented on": Developer and Researcher Views on the Ethics of Experiments on Open-Source Projects

    Authors: Dror G. Feitelson

    Abstract: A tenet of open source software development is to accept contributions from users-developers (typically after appropriate vetting). But should this also include interventions done as part of research on open source development? Following an incident in which buggy code was submitted to the Linux kernel to see whether it would be caught, we conduct a survey among open source developers and empirica… ▽ More

    Submitted 2 June, 2023; v1 submitted 25 December, 2021; originally announced December 2021.

    Comments: 15 pages with 42 charts and 3 tables; accepted version

  7. arXiv:2103.13198  [pdf, ps, other

    cs.HC cs.SE

    Use and Perceptions of Multi-Monitor Workstations: A Natural Experiment

    Authors: Guy Amir, Ayala Prusak, Tal Reiss, Nir Zabari, Dror G. Feitelson

    Abstract: Using multiple monitors is commonly thought to improve productivity, but this is hard to check experimentally. We use a survey, taken by 101 practitioners of which 80% have coded professionally for at least 2 years, to assess subjective perspectives based on experience. To improve validity, we compare situations in which developers naturally use different setups -- the difference between working a… ▽ More

    Submitted 12 March, 2021; originally announced March 2021.

    Comments: 9 pages, 16 figures. Accepted to 8th International Workshop on Software Engineering Research and Industrial Practice

    ACM Class: D.2.3

  8. arXiv:2103.11008  [pdf, ps, other

    cs.SE

    Does Code Structure Affect Comprehension? On Using and Naming Intermediate Variables

    Authors: Roee Cates, Nadav Yunik, Dror G. Feitelson

    Abstract: Intermediate variables can be used to break complex expressions into more manageable smaller expressions, which may be easier to understand. But it is unclear when and whether this actually helps. We conducted an experiment in which subjects read 6 mathematical functions and were supposed to give them meaningful names. 113 subjects participated, of which 58% had 3 or more years of programming work… ▽ More

    Submitted 19 March, 2021; originally announced March 2021.

    Comments: 10 pages, 5 figures, 2 tables. Accepted to the 29th IEEE/ACM International Conference on Program Comprehension

  9. arXiv:2103.08769  [pdf, ps, other

    cs.SE

    Considerations and Pitfalls in Controlled Experiments on Code Comprehension

    Authors: Dror G. Feitelson

    Abstract: Understanding program code is a complicated endeavor. As such, myriad different factors can influence the outcome. Investigations of program comprehension, and in particular those using controlled experiments, have to take these factors into account. In order to promote the development and use of sound experimental methodology, we discuss potential problems with regard to the experimental subjects… ▽ More

    Submitted 15 March, 2021; originally announced March 2021.

    Comments: 13 pages. Accepted to the 29th IEEE/ACM International Conference on Program Comprehension

  10. arXiv:2103.08701  [pdf, other

    cs.SE

    Using Non-Verbal Expressions as a Tool in Naming Research

    Authors: Omer Regev, Michael Soloveitchik, Dror G. Feitelson

    Abstract: Variable and function names are extremely important for program comprehension. It is therefore also important to study how developers select names. But controlled experiments on naming are hindered by the need to describe to experimental subjects what it is they need to name. Words appearing in these descriptions may then find their way into the names, leading to a bias in the results. We suggest… ▽ More

    Submitted 15 March, 2021; originally announced March 2021.

    Comments: 11 pages, 3 figures, 3 tables. Accepted to the 29th IEEE/ACM International Conference on Program Comprehension

  11. How Developers Choose Names

    Authors: Dror G. Feitelson, Ayelet Mizrahi, Nofar Noy, Aviad Ben Shabat, Or Eliyahu, Roy Sheffer

    Abstract: The names of variables and functions serve as implicit documentation and are instrumental for program comprehension. But choosing good meaningful names is hard. We perform a sequence of experiments in which a total of 334 subjects are required to choose names in given programming scenarios. The first experiment shows that the probability that two developers would select the same name is low: in th… ▽ More

    Submitted 12 March, 2021; originally announced March 2021.

    Comments: 17 pages (incl. appendix), 10 figures, 3 tables. Accepted to IEEE Trans. Software Engineering

    ACM Class: D.2.3

  12. arXiv:2103.01861  [pdf, other

    cs.SE cs.LG

    Follow Your Nose -- Which Code Smells are Worth Chasing?

    Authors: Idan Amit, Nili Ben Ezra, Dror G. Feitelson

    Abstract: The common use case of code smells assumes causality: Identify a smell, remove it, and by doing so improve the code. We empirically investigate their fitness to this use. We present a list of properties that code smells should have if they indeed cause lower quality. We evaluated the smells in 31,687 Java files from 677 GitHub repositories, all the repositories with 200+ commits in 2019. We measur… ▽ More

    Submitted 15 January, 2024; v1 submitted 2 March, 2021; originally announced March 2021.

  13. arXiv:2007.10912  [pdf, other

    cs.SE cs.LG

    The Corrective Commit Probability Code Quality Metric

    Authors: Idan Amit, Dror G. Feitelson

    Abstract: We present a code quality metric, Corrective Commit Probability (CCP), measuring the probability that a commit reflects corrective maintenance. We show that this metric agrees with developers' concept of quality, informative, and stable. Corrective commits are identified by applying a linguistic model to the commit messages. Corrective commits are identified by applying a linguistic model to the c… ▽ More

    Submitted 21 July, 2020; originally announced July 2020.

  14. arXiv:1512.08409  [pdf, ps, other

    cs.SE

    Using Students as Experimental Subjects in Software Engineering Research -- A Review and Discussion of the Evidence

    Authors: Dror G. Feitelson

    Abstract: Should students be used as experimental subjects in software engineering? Given that students are in many cases readily available and cheap it is no surprise that the vast majority of controlled experiments in software engineering use them. But they can be argued to constitute a convenience sample that may not represent the target population (typically "real" developers), especially in terms of ex… ▽ More

    Submitted 28 December, 2015; originally announced December 2015.

    Comments: 53 pages including 5 pages of tables and 191 references

  15. arXiv:1106.2673  [pdf, ps, other

    cs.DC cs.GT

    No justified complaints: On fair sharing of multiple resources

    Authors: Danny Dolev, Dror G. Feitelson, Joseph Y. Halpern, Raz Kupferman, Nati Linial

    Abstract: Fair allocation has been studied intensively in both economics and computer science, and fair sharing of resources has aroused renewed interest with the advent of virtualization and cloud computing. Prior work has typically focused on mechanisms for fair sharing of a single resource. We provide a new definition for the simultaneous fair allocation of multiple continuously-divisible resources… ▽ More

    Submitted 14 June, 2011; originally announced June 2011.