2013
DOI: 10.1002/spe.2215
|View full text |Cite
|
Sign up to set email alerts
|

Some structural measures of API usability

Abstract: In this age of collaborative software development, the importance of usable APIs is well recognized. There already exists a rich body of literature that addresses issues ranging from how to design usable APIs to assessing qualitatively the usability of a given API. However, there does not yet exist a set of generalpurpose metrics that can be pressed into service for a more quantitative assessment of API usability. The goal of this paper is to remedy this shortcoming in the literature. Our work presents a set o… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

1
50
0

Year Published

2015
2015
2023
2023

Publication Types

Select...
5
2

Relationship

0
7

Authors

Journals

citations
Cited by 29 publications
(52 citation statements)
references
References 25 publications
1
50
0
Order By: Relevance
“…the task to be solved, as well as the developer's experience), and (2) that both the API and the resulting code are evaluated. Existing API usability metrics [11,13] only evaluate the API itself, but not the resulting code, and ignore the context of use. There are only very few mentions of similar ideas: [21] defines interface complexity as a combination of the complexities of the interface signature, constraints and configuration, where signature conforms to our definition interface complexity, and configuration to setup complexity.…”
Section: Similar Approaches In Literaturementioning
confidence: 99%
See 1 more Smart Citation
“…the task to be solved, as well as the developer's experience), and (2) that both the API and the resulting code are evaluated. Existing API usability metrics [11,13] only evaluate the API itself, but not the resulting code, and ignore the context of use. There are only very few mentions of similar ideas: [21] defines interface complexity as a combination of the complexities of the interface signature, constraints and configuration, where signature conforms to our definition interface complexity, and configuration to setup complexity.…”
Section: Similar Approaches In Literaturementioning
confidence: 99%
“…A different approach is taken in [13], where a set of 9 metrics is introduced that are based on existing API design guidelines. The metrics are easy to apply and relate very well to the respective guidelines.…”
Section: Introductionmentioning
confidence: 99%
“…One example of applying this guideline is that the order of parameters should be the same in every method. However, javax.xml.stream.XMLStreamWriter for Java 8 has different overloadings for the writeStartElement method, which take the String parameters localName and namespaceURI in the opposite order from each other [18], and since they are both strings, the compiler will not be able to detect any user errors: Another Nielsen guideline is to reduce error proneness [16]. This can apply to avoiding long sequences of parameters of the same type, which the API user is likely to get wrong, and the compiler will also not be able to check.…”
Section: Design Phasementioning
confidence: 99%
“…This can apply to avoiding long sequences of parameters of the same type, which the API user is likely to get wrong, and the compiler will also not be able to check. For example, the class TPASupplierOrderXDE in Petstore (J2EE demonstration software from Oracle) takes a sequence of nine Strings [18]: Similarly, in Microsoft's .Net, System.Net.Cookie has 4 constructors, that take 0, 2, 3, or 4 strings as input. Another application of this principle is to make the default or example parameters do the right thing.…”
Section: Design Phasementioning
confidence: 99%
See 1 more Smart Citation