{"id":"https://openalex.org/W1987615754","doi":"https://doi.org/10.1145/2635868.2635924","title":"Mining preconditions of APIs in large-scale code corpus","display_name":"Mining preconditions of APIs in large-scale code corpus","publication_year":2014,"publication_date":"2014-11-04","ids":{"openalex":"https://openalex.org/W1987615754","doi":"https://doi.org/10.1145/2635868.2635924","mag":"1987615754"},"language":"en","primary_location":{"id":"doi:10.1145/2635868.2635924","is_oa":false,"landing_page_url":"https://doi.org/10.1145/2635868.2635924","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5044339946","display_name":"Hoan Anh Nguyen","orcid":"https://orcid.org/0000-0002-6194-7930"},"institutions":[{"id":"https://openalex.org/I173911158","display_name":"Iowa State University","ror":"https://ror.org/04rswrd78","country_code":"US","type":"education","lineage":["https://openalex.org/I173911158"]}],"countries":["US"],"is_corresponding":true,"raw_author_name":"Hoan Anh Nguyen","raw_affiliation_strings":["Iowa State University, USA"],"affiliations":[{"raw_affiliation_string":"Iowa State University, USA","institution_ids":["https://openalex.org/I173911158"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5057293289","display_name":"Robert Dyer","orcid":"https://orcid.org/0000-0001-9571-5567"},"institutions":[{"id":"https://openalex.org/I173911158","display_name":"Iowa State University","ror":"https://ror.org/04rswrd78","country_code":"US","type":"education","lineage":["https://openalex.org/I173911158"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Robert Dyer","raw_affiliation_strings":["Iowa State University, USA"],"affiliations":[{"raw_affiliation_string":"Iowa State University, USA","institution_ids":["https://openalex.org/I173911158"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5089000736","display_name":"Tien N. Nguyen","orcid":"https://orcid.org/0009-0006-7962-6090"},"institutions":[{"id":"https://openalex.org/I173911158","display_name":"Iowa State University","ror":"https://ror.org/04rswrd78","country_code":"US","type":"education","lineage":["https://openalex.org/I173911158"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Tien N. Nguyen","raw_affiliation_strings":["Iowa State University, USA"],"affiliations":[{"raw_affiliation_string":"Iowa State University, USA","institution_ids":["https://openalex.org/I173911158"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5059626072","display_name":"Hridesh Rajan","orcid":"https://orcid.org/0000-0002-9410-9562"},"institutions":[{"id":"https://openalex.org/I173911158","display_name":"Iowa State University","ror":"https://ror.org/04rswrd78","country_code":"US","type":"education","lineage":["https://openalex.org/I173911158"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Hridesh Rajan","raw_affiliation_strings":["Iowa State University, USA"],"affiliations":[{"raw_affiliation_string":"Iowa State University, USA","institution_ids":["https://openalex.org/I173911158"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":4,"corresponding_author_ids":["https://openalex.org/A5044339946"],"corresponding_institution_ids":["https://openalex.org/I173911158"],"apc_list":null,"apc_paid":null,"fwci":16.3609,"has_fulltext":false,"cited_by_count":79,"citation_normalized_percentile":{"value":0.9879108,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":96,"max":100},"biblio":{"volume":null,"issue":null,"first_page":"166","last_page":"177"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9977999925613403,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T12423","display_name":"Software Reliability and Analysis Research","score":0.9934999942779541,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.8497182130813599},{"id":"https://openalex.org/keywords/java","display_name":"Java","score":0.6856280565261841},{"id":"https://openalex.org/keywords/application-programming-interface","display_name":"Application programming interface","score":0.6636103987693787},{"id":"https://openalex.org/keywords/source-lines-of-code","display_name":"Source lines of code","score":0.6318665146827698},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.5799473524093628},{"id":"https://openalex.org/keywords/guard","display_name":"Guard (computer science)","score":0.5523626208305359},{"id":"https://openalex.org/keywords/software-engineering","display_name":"Software engineering","score":0.5247585773468018},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.4945521056652069},{"id":"https://openalex.org/keywords/scale","display_name":"Scale (ratio)","score":0.45021727681159973},{"id":"https://openalex.org/keywords/point","display_name":"Point (geometry)","score":0.4474312961101532},{"id":"https://openalex.org/keywords/key","display_name":"Key (lock)","score":0.44327986240386963},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.43231523036956787},{"id":"https://openalex.org/keywords/benchmark","display_name":"Benchmark (surveying)","score":0.41731297969818115},{"id":"https://openalex.org/keywords/software-development","display_name":"Software development","score":0.4121236801147461},{"id":"https://openalex.org/keywords/relation","display_name":"Relation (database)","score":0.41101300716400146},{"id":"https://openalex.org/keywords/database","display_name":"Database","score":0.3248034119606018},{"id":"https://openalex.org/keywords/operating-system","display_name":"Operating system","score":0.20283955335617065},{"id":"https://openalex.org/keywords/set","display_name":"Set (abstract data type)","score":0.0934508740901947}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8497182130813599},{"id":"https://openalex.org/C548217200","wikidata":"https://www.wikidata.org/wiki/Q251","display_name":"Java","level":2,"score":0.6856280565261841},{"id":"https://openalex.org/C99613125","wikidata":"https://www.wikidata.org/wiki/Q165194","display_name":"Application programming interface","level":2,"score":0.6636103987693787},{"id":"https://openalex.org/C199519371","wikidata":"https://www.wikidata.org/wiki/Q942695","display_name":"Source lines of code","level":3,"score":0.6318665146827698},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5799473524093628},{"id":"https://openalex.org/C141141315","wikidata":"https://www.wikidata.org/wiki/Q2379942","display_name":"Guard (computer science)","level":2,"score":0.5523626208305359},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.5247585773468018},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.4945521056652069},{"id":"https://openalex.org/C2778755073","wikidata":"https://www.wikidata.org/wiki/Q10858537","display_name":"Scale (ratio)","level":2,"score":0.45021727681159973},{"id":"https://openalex.org/C28719098","wikidata":"https://www.wikidata.org/wiki/Q44946","display_name":"Point (geometry)","level":2,"score":0.4474312961101532},{"id":"https://openalex.org/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","level":2,"score":0.44327986240386963},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.43231523036956787},{"id":"https://openalex.org/C185798385","wikidata":"https://www.wikidata.org/wiki/Q1161707","display_name":"Benchmark (surveying)","level":2,"score":0.41731297969818115},{"id":"https://openalex.org/C529173508","wikidata":"https://www.wikidata.org/wiki/Q638608","display_name":"Software development","level":3,"score":0.4121236801147461},{"id":"https://openalex.org/C25343380","wikidata":"https://www.wikidata.org/wiki/Q277521","display_name":"Relation (database)","level":2,"score":0.41101300716400146},{"id":"https://openalex.org/C77088390","wikidata":"https://www.wikidata.org/wiki/Q8513","display_name":"Database","level":1,"score":0.3248034119606018},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.20283955335617065},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0934508740901947},{"id":"https://openalex.org/C13280743","wikidata":"https://www.wikidata.org/wiki/Q131089","display_name":"Geodesy","level":1,"score":0.0},{"id":"https://openalex.org/C62520636","wikidata":"https://www.wikidata.org/wiki/Q944","display_name":"Quantum mechanics","level":1,"score":0.0},{"id":"https://openalex.org/C121332964","wikidata":"https://www.wikidata.org/wiki/Q413","display_name":"Physics","level":0,"score":0.0},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.0},{"id":"https://openalex.org/C205649164","wikidata":"https://www.wikidata.org/wiki/Q1071","display_name":"Geography","level":0,"score":0.0},{"id":"https://openalex.org/C2524010","wikidata":"https://www.wikidata.org/wiki/Q8087","display_name":"Geometry","level":1,"score":0.0}],"mesh":[],"locations_count":2,"locations":[{"id":"doi:10.1145/2635868.2635924","is_oa":false,"landing_page_url":"https://doi.org/10.1145/2635868.2635924","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering","raw_type":"proceedings-article"},{"id":"pmh:oai:lib.dr.iastate.edu:cs_conf-1035","is_oa":false,"landing_page_url":"https://lib.dr.iastate.edu/cgi/viewcontent.cgi?article=1035&amp;amp;context=cs_conf","pdf_url":null,"source":{"id":"https://openalex.org/S4377196104","display_name":"Iowa State University Digital Repository (Iowa State University)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I173911158","host_organization_name":"Iowa State University","host_organization_lineage":["https://openalex.org/I173911158"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Computer Science Conference Presentations, Posters and Proceedings","raw_type":"text"}],"best_oa_location":null,"sustainable_development_goals":[{"display_name":"Industry, innovation and infrastructure","id":"https://metadata.un.org/sdg/9","score":0.41999998688697815}],"awards":[],"funders":[{"id":"https://openalex.org/F4320306076","display_name":"National Science Foundation","ror":"https://ror.org/021nxhr62"}],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":57,"referenced_works":["https://openalex.org/W90447038","https://openalex.org/W1767990287","https://openalex.org/W1964830323","https://openalex.org/W1966982815","https://openalex.org/W1968027261","https://openalex.org/W1986453394","https://openalex.org/W1990169779","https://openalex.org/W1993836075","https://openalex.org/W1995008247","https://openalex.org/W2014886770","https://openalex.org/W2025674334","https://openalex.org/W2025677988","https://openalex.org/W2043811931","https://openalex.org/W2053352009","https://openalex.org/W2054520963","https://openalex.org/W2056139220","https://openalex.org/W2059215200","https://openalex.org/W2071088932","https://openalex.org/W2074644416","https://openalex.org/W2087527532","https://openalex.org/W2089139117","https://openalex.org/W2093938715","https://openalex.org/W2096449544","https://openalex.org/W2098629748","https://openalex.org/W2103318645","https://openalex.org/W2104301886","https://openalex.org/W2106259924","https://openalex.org/W2107376583","https://openalex.org/W2109394703","https://openalex.org/W2113548992","https://openalex.org/W2119467398","https://openalex.org/W2121818394","https://openalex.org/W2123227336","https://openalex.org/W2124081952","https://openalex.org/W2124666592","https://openalex.org/W2126775986","https://openalex.org/W2131954495","https://openalex.org/W2133832333","https://openalex.org/W2135274583","https://openalex.org/W2136646111","https://openalex.org/W2144344516","https://openalex.org/W2146177878","https://openalex.org/W2148702066","https://openalex.org/W2149203879","https://openalex.org/W2150990363","https://openalex.org/W2153943889","https://openalex.org/W2156417145","https://openalex.org/W2156841542","https://openalex.org/W2158391928","https://openalex.org/W2166019458","https://openalex.org/W2170747189","https://openalex.org/W2294152467","https://openalex.org/W2295399529","https://openalex.org/W4232188856","https://openalex.org/W4237492309","https://openalex.org/W4254234063","https://openalex.org/W4254645357"],"related_works":["https://openalex.org/W2528467228","https://openalex.org/W2954796040","https://openalex.org/W2105097921","https://openalex.org/W2119855409","https://openalex.org/W2014813794","https://openalex.org/W4311134623","https://openalex.org/W2164998267","https://openalex.org/W2183928278","https://openalex.org/W3101523611","https://openalex.org/W4225579336"],"abstract_inverted_index":{"Modern":[0],"software":[1,18,39],"relies":[2],"on":[3],"existing":[4,37],"application":[5],"programming":[6],"interfaces":[7],"(APIs)":[8],"from":[9,91,131,159,163,171],"libraries.":[10],"Formal":[11],"specifications":[12],"for":[13,44,120,139,199],"the":[14,97,118,140,191],"APIs":[15],"enable":[16],"many":[17],"engineering":[19],"tasks":[20],"as":[21,23,111,194],"well":[22],"help":[24],"developers":[25],"correctly":[26],"use":[27,107],"them.":[28],"In":[29,183],"this":[30],"work,":[31],"we":[32,77,206],"mine":[33,96],"large-scale":[34],"repositories":[35],"of":[36,66,129,190,211],"open-source":[38],"to":[40,101,115,136],"derive":[41],"potential":[42,98],"preconditions":[43,53,119,138,169,193],"API":[45,67],"methods.":[46],"Our":[47],"key":[48],"idea":[49],"is":[50],"that":[51,150],"APIs\u2019":[52],"would":[54],"appear":[55],"frequently":[56],"in":[57],"an":[58],"ultra-large":[59],"code":[60,130],"corpus":[61],"with":[62,157],"a":[63,87,112,180,184,195,209],"large":[64],"number":[65],"usages,":[68],"while":[69],"project-specific":[70],"conditions":[71,99,110],"will":[72],"occur":[73],"less":[74],"frequently.":[75],"First,":[76],"find":[78],"all":[79,177],"client":[80],"methods":[81],"invoking":[82],"APIs.":[83],"We":[84,106,123,165],"then":[85],"compute":[86],"control":[88],"dependence":[89],"relation":[90],"each":[92,121],"call":[93,104],"site":[94],"and":[95,133,161],"used":[100],"reach":[102],"those":[103],"sites.":[105],"these":[108],"guard":[109],"starting":[113,197],"point":[114,198],"automatically":[116],"infer":[117,137],"API.":[122],"analyzed":[124],"almost":[125],"120":[126],"million":[127],"lines":[128],"SourceForge":[132],"Apache":[134],"projects":[135],"standard":[141],"Java":[142],"Development":[143],"Kit":[144],"(JDK)":[145],"library.":[146],"The":[147],"results":[148],"show":[149],"our":[151,203],"technique":[152],"can":[153],"achieve":[154],"high":[155],"accuracy":[156],"recall":[158],"75\u201380%":[160],"precision":[162],"82\u201384%.":[164],"also":[166,207],"found":[167,188],"5":[168],"missing":[170],"human":[172],"written":[173],"specifications.":[174,201],"They":[175],"were":[176],"confirmed":[178],"by":[179],"specification":[181],"expert.":[182],"user":[185],"study,":[186],"participants":[187],"82%":[189],"mined":[192],"good":[196],"writing":[200],"Using":[202],"mining":[204],"result,":[205],"built":[208],"benchmark":[210],"more":[212],"than":[213],"4,000":[214],"precondition-related":[215],"bugs.":[216]},"counts_by_year":[{"year":2024,"cited_by_count":5},{"year":2023,"cited_by_count":4},{"year":2022,"cited_by_count":3},{"year":2021,"cited_by_count":10},{"year":2020,"cited_by_count":11},{"year":2019,"cited_by_count":10},{"year":2018,"cited_by_count":16},{"year":2017,"cited_by_count":6},{"year":2016,"cited_by_count":8},{"year":2015,"cited_by_count":6}],"updated_date":"2026-04-05T17:49:38.594831","created_date":"2025-10-10T00:00:00"}
