def get_developer_relationship(
        sql_params, 
        temp_sql, 
        temp_content_name, 
        file_name,
        plot_function = analysis_plot.developer_to_mashup_line_plot
        ):
    rows = db_execute(temp_sql, sql_params)
    db_loop(rows, file_name)
    sql = arrange_developer_sql(temp_content_name, temp_sql)
    rows = db_execute(sql, sql_params)
    developers = []
    contents = []
    for row in rows:
        #print row[0]
        developers.append(row[0])
        contents.append(row[1])
    #developers = range(len(mashups))
    #mashups = db_loop_for_array(rows, "developer_mashup_count_o", 2)
    #print developers
    #print
    #print mashups
    plot_function(developers, contents)
def developer_api_mashup_count_o(developer_number):    
    sql_params = (developer_number, )
    rows = db_execute(developer_api_mashup_count, sql_params)
    analysis_util.db_loop(rows, "CACM_developer_api__mashup_count_"+str(developer_number)+"_o")
def apis_has_developer_count_o():
    sql_params = ( )
    rows = db_execute(apis_has_developer_count, sql_params)
    db_loop(rows, "apis_has_developer_count_o")
def developer_to_api_o():
    sql_params = ( )
    rows = db_execute(developer_to_api, sql_params)
    db_loop(rows, "developer_to_api_o")