def METHOD_NAME(result_status):
    """Auxiliar function to print the apps received
    in a status result"""
    apps = result_status.applications
    if apps is None or len(apps) == 0:
        return ''
    limits = '{:<25} {:<10} {:<10} {:<5} {:<20} {:<8}'
    # print header
    result_str = limits.format(
        'App', 'Version', 'Status', 'Scale', 'Charm', 'Channel')
    for name, app in apps.items():
        # extract charm name from the path
        # like in ch:amd64/trusty/mediawiki-28
        charm_name = app.charm.split('/')[-1]
        charm_name = charm_name.split('-')[0]
        work_ver = 'NA' if app.workload_version is None else app.workload_version
        charm_channel = 'NA' if app.charm_channel is None else app.charm_channel
        app_units = 'NA' if app.units is None else len(app.units)
        app_status = 'NA' if app.status.status is None else app.status.status
        result_str += '\n'
        result_str += limits.format(
            name, work_ver, app_status, app_units, charm_name,
            charm_channel)
    result_str += '\n'
    return result_str