GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 13-13 lines in 2 locations

WatchDogServer/spec/watchdog_server_spec.rb 1 location

@@ 29-41 (lines=13) @@
26
existing_user = nil
27
existing_project = nil
28
29
def test_project(user_id)
30
  project = Hash.new
31
  project['name']        = 'Foo Bar Proj'
32
  project['role']        = 'Foo Barer'
33
  project['belongToASingleSofware'] = true
34
  project['usesJunit'] = true
35
  project['usesOtherFrameworks'] = false
36
  project['productionPercentage'] = 50
37
  project['useJunitOnlyForUnitTesting'] = false
38
  project['followTestDrivenDesign'] = false
39
  project['userId'] = user_id
40
  project
41
end
42
43
def test_interval(from, to)
44
  interval = Hash.new

WatchDogServer/stress.rb 1 location

@@ 17-29 (lines=13) @@
14
  user
15
end
16
17
def test_project(user_id)
18
  project = Hash.new
19
  project['name']        = 'Foo Bar Proj'
20
  project['role']        = 'Foo Barer'
21
  project['belongToASingleSofware'] = true
22
  project['usesJunit'] = true
23
  project['usesOtherFrameworks'] = false
24
  project['productionPercentage'] = 50
25
  project['useJunitOnlyForUnitTesting'] = false
26
  project['followTestDrivenDesign'] = false
27
  project['userId'] = user_id
28
  project
29
end
30
31
def interval
32