bin/pull_req_data_extraction.rb
def at_mentions_description(pr)
    pull_req = pull_req_entry(pr)
    unless pull_req['body'].nil?
      pull_req['body'].\
        gsub(/`.*?`/, '').\
        gsub(/[\w]*@[\w]+\.[\w]+/, '').\
        scan(/(@[a-zA-Z0-9]+)/).size
    else
      0
    end
  end
# Num of @uname mentions in the description
# Modelling the results of: An Exploratory Study of @-mention in GitHub's Pull-requests
# DOI: 10.1109/APSEC.2014.58
Num of @uname mentions in the description
Modelling the results of: An Exploratory Study of @-mention in GitHub's Pull-requests
DOI: 10.1109/APSEC.2014.58
Num of @uname mentions in the description Modelling the results of : An Exploratory Study of @ - mention in GitHub ' s Pull - requests DOI : 10 . 1109 / APSEC . 2014 . 58
def at_mentions_description(pr)
    pull_req = pull_req_entry(pr)
    unless pull_req['body'].nil?
      pull_req['body'].\
        gsub(/`.*?`/, '').\
        gsub(/[\w]*@[\w]+\.[\w]+/, '').\
        scan(/(@[a-zA-Z0-9]+)/).size
    else
      0
    end
  end
def at_mentions_description ( pr ) pull_req = pull_req_entry ( pr ) unless pull_req [ 'body' ] . nil? pull_req [ 'body' ] . gsub ( / `.*?` / , '' ) . gsub ( / [ \w ]*@[ \w ]+ \. [ \w ]+ / , '' ) . scan ( / (@[a-zA-Z0-9]+) / ) . size else 0 end end
Num of @uname mentions in the description
Modelling the results of: An Exploratory Study of @-mention in GitHub's Pull-requests
DOI: 10.1109/APSEC.2014.58
Num of @uname mentions in the description Modelling the results of : An Exploratory Study of @ - mention in GitHub ' s Pull - requests DOI : 10 . 1109 / APSEC . 2014 . 58
pr