id: 1 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/ListHueRooms.java start line: 15 end line: 36 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 2 unit: public static void exitAndShowUsageIfNoArgs() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 134 end line: 150 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 3 unit: def main() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 16 LOC McCabe index: 10 number of parameters: 0 id: 4 unit: public static String getHueBridgeIp() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 34 end line: 49 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 5 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/ListHueLights.java start line: 12 end line: 27 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: def get_rooms() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 7 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueRainbow.java start line: 20 end line: 34 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: def get_lights() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 9 unit: public static void initializeLiFXClient() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java start line: 21 end line: 31 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 10 unit: public static List getFullLightListOrExitIfEmpty() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 108 end line: 119 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 11 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueDanceParty.java start line: 19 end line: 32 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: private static void run() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXDanceParty.java start line: 25 end line: 40 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 13 unit: public static String toJson() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/Shared.java start line: 13 end line: 22 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: public static void requireAtLeastOneLight() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java start line: 33 end line: 41 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 15 unit: private static void logLightInfo() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/ListLiFXLights.java start line: 37 end line: 44 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: private static LFXHSBKColor getRandomColor() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXDanceParty.java start line: 42 end line: 54 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: public static List getLightsOrExitIfEmpty() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 121 end line: 132 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: def print_groups_and_lights() file: s1e1-totally-lit/hue-python/lightbulb_discovery.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 19 unit: private static Color getNextColor() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueRainbow.java start line: 36 end line: 44 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: public static Hue getHue() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 25 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: public static List getLights() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 55 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: public static List getLightsByRoomName() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 97 end line: 106 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueOff.java start line: 13 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueOn.java start line: 13 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: def dance_party_mode() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: def main() file: s1e1-totally-lit/hue-python/lightbulb_discovery.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: def get_lights() file: s1e1-totally-lit/hue-python/lightbulb_discovery.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: private static void run() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/ListLiFXLights.java start line: 21 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: public static List getOriginalLightAndRoomList() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 76 end line: 81 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: public static List getCaseInsensitiveLightAndRoomList() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 83 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: public static List getLightsByName() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 90 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: def get_rooms() file: s1e1-totally-lit/hue-python/lightbulb_discovery.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: public static Stream getLightStream() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: public static boolean isRunningInDocker() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java start line: 52 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/ListLiFXLights.java start line: 15 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: public static void listAllLights() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/ListLiFXLights.java start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXDanceParty.java start line: 19 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: def get_bridge_ip() file: s1e1-totally-lit/hue-python/lightbulb_discovery.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: private static long getLightCount() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: public static String readFileAsString() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: private static void setNextColor() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueRainbow.java start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: public static void setUsername() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: public static List getRooms() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueShared.java start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: private static Color getRandomColor() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueDanceParty.java start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: private static void setRandomColor() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/hue/HueDanceParty.java start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: public static void logObjectAsJson() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/Shared.java start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: public static void logString() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/Shared.java start line: 28 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: public static void sleep() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/Shared.java start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: public static void main() file: s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/Info.java start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: def get_light_status() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: def print_lights() file: s1e1-totally-lit/hue-python/lightbulb_discovery.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: def get_light_url() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: def get_light_state_url() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: def get_rando() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: def turn_light_on() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: def send_request_to_bridge() file: s1e1-totally-lit/hue-python/danceparty.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2