Module ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore Str decorator_list FunctionDef arguments args defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call NameLoad Str Return Num Expr Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Call NameLoad
N/A __future__ absolute_import __future__ print_function __future__ unicode_literals N/A argparse N/A os.path N/A shutil N/A sqlite3 N/A flask N/A pkg_resources git_code_debt.server.servlets.changes changes git_code_debt.server.servlets.commit commit git_code_debt.server.servlets.graph graph git_code_debt.server.servlets.index index git_code_debt.server.servlets.status status git_code_debt.server.servlets.widget widget N/A app N/A N/A flask Flask __name__ N/A N/A N/A app register_blueprint changes N/A N/A N/A app register_blueprint commit N/A N/A N/A app register_blueprint graph N/A N/A N/A app register_blueprint index N/A N/A N/A app register_blueprint status N/A N/A N/A app register_blueprint widget AppContext N/A object N/A N/A database_path ./database.db N/A before_request N/A N/A N/A N/A git_code_debt.server.metric_config_watcher watcher N/A N/A N/A watcher reload_if_changed N/A N/A N/A flask g db N/A N/A sqlite3 connect N/A AppContext database_path N/A N/A app before_request teardown_request N/A N/A _ N/A N/A N/A N/A N/A N/A N/A flask g db close N/A N/A app teardown_request create_metric_config_if_not_exists N/A N/A N/A N/A N/A Creates the sameple metric_config.yaml in the current directory if
    it does not exist.
     N/A N/A N/A N/A os path exists metric_config.yaml N/A N/A N/A N/A print WARNING: no metric_config.yaml detected.  Creating sample config! N/A N/A N/A shutil copyfile N/A N/A pkg_resources resource_filename git_code_debt.server metric_config.sample.yaml metric_config.yaml N/A main N/A N/A argv N/A None N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument database_path type str N/A N/A N/A parser add_argument -p --port type int default 5000 N/A N/A N/A parser add_argument --debug action store_true help Run in debug mode (stacktraces + single process). Not suggested for production. N/A N/A N/A parser add_argument --processes type int default 5 help Number of processes, does not apply to --debug N/A args N/A N/A parser parse_args argv N/A N/A N/A N/A N/A os path exists N/A args database_path N/A N/A N/A print N/A N/A Not found: {0} format N/A args database_path N/A N/A print Use git-code-debt-create-tables and git-code-debt-generate to create a database. N/A 1 N/A N/A create_metric_config_if_not_exists N/A N/A AppContext database_path N/A args database_path N/A kwargs N/A port debug N/A args port N/A args debug N/A N/A N/A args debug N/A N/A N/A kwargs N/A processes N/A args processes N/A N/A N/A app run 0.0.0.0 kwargs N/A N/A N/A __name__ __main__ N/A N/A N/A exit N/A main