id: 1 unit: def upload_file() file: app.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 0 id: 2 unit: def stream() file: app.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 3 unit: eventSource.onmessage = function() file: static/chat.js start line: 52 end line: 66 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 4 unit: def chat() file: app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: eventSource.onerror = function() file: static/chat.js start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: def allowed_file() file: app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: def index() file: app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0