MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
6823 matches across 18 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/uncrustify.cfg | 1 | # Uncrustify-0.71.0_f |
| LOW | tools/uncrustify.cfg | 21 | # |
| LOW | tools/uncrustify.cfg | 41 | tok_split_gte = false # true/false |
| LOW | tools/uncrustify.cfg | 81 | # |
| LOW | tools/uncrustify.cfg | 101 | |
| LOW | tools/uncrustify.cfg | 221 | # prototype or function definition. |
| LOW | tools/uncrustify.cfg | 381 | # |
| LOW | tools/uncrustify.cfg | 701 | |
| LOW | tools/uncrustify.cfg | 721 | sp_member = remove # ignore/add/remove/force |
| LOW | tools/uncrustify.cfg | 781 | # (OC) Add or remove space between '@selector' and '(', |
| LOW | tools/uncrustify.cfg | 821 | |
| LOW | tools/uncrustify.cfg | 881 | |
| LOW | tools/uncrustify.cfg | 921 | |
| LOW | tools/uncrustify.cfg | 941 | # The continuation indent, only for class header line(s). If non-zero, this |
| LOW | tools/uncrustify.cfg | 1101 | # Indentation column for standalone 'throw' qualifier on a function |
| LOW | tools/uncrustify.cfg | 1161 | # >0: Absolute column where 1 is the leftmost column |
| LOW | tools/uncrustify.cfg | 1181 | # line so that it lines up after the open parenthesis (not recommended). |
| LOW | tools/uncrustify.cfg | 1241 | # followed by a newline, the next line indent is one tab. |
| LOW | tools/uncrustify.cfg | 1261 | indent_oc_msg_colon = 0 # unsigned number |
| LOW | tools/uncrustify.cfg | 1281 | |
| LOW | tools/uncrustify.cfg | 1301 | # |
| LOW | tools/uncrustify.cfg | 1541 | |
| LOW | tools/uncrustify.cfg | 1581 | # Add or remove newline between 'namespace' and '{'. |
| LOW | tools/uncrustify.cfg | 1601 | |
| LOW | tools/uncrustify.cfg | 1621 | |
| LOW | tools/uncrustify.cfg | 1641 | # Add or remove newline between 'class' and '{'. |
| LOW | tools/uncrustify.cfg | 1661 | |
| LOW | tools/uncrustify.cfg | 1841 | # Whether to add a newline after a virtual brace open with a non-empty body. |
| LOW | tools/uncrustify.cfg | 1961 | # is only one line so that the entire definition (prototype, braces, body) is |
| LOW | tools/uncrustify.cfg | 2021 | # Requires nl_class_leave_one_liners=true. Overrides nl_before_func_body_def |
| LOW | tools/uncrustify.cfg | 2041 | # of a function body. |
| LOW | tools/uncrustify.cfg | 2061 | |
| LOW | tools/uncrustify.cfg | 2101 | |
| LOW | tools/uncrustify.cfg | 2121 | nl_after_namespace = 0 # unsigned number |
| LOW | tools/uncrustify.cfg | 2141 | # |
| LOW | tools/uncrustify.cfg | 2181 | |
| LOW | tools/uncrustify.cfg | 2321 | # The span for aligning function-call parameters for single line functions. |
| LOW | tools/uncrustify.cfg | 2341 | # 1: Part of the variable 'void *foo;' |
| LOW | tools/uncrustify.cfg | 2381 | # |
| LOW | tools/uncrustify.cfg | 2401 | # 0: Don't align (default). |
| LOW | tools/uncrustify.cfg | 2421 | # The gap for aligning class member definitions. |
| LOW | tools/uncrustify.cfg | 2441 | align_struct_init_span = 0 # unsigned number |
| LOW | tools/uncrustify.cfg | 2461 | # 1: Part of type name: 'typedef int *pint;' |
| LOW | tools/uncrustify.cfg | 2481 | # an effect. |
| LOW | tools/uncrustify.cfg | 2561 | # on the ':'. |
| LOW | tools/uncrustify.cfg | 2581 | # |
| LOW | tools/uncrustify.cfg | 2641 | # and last lines of the comment are the same length. |
| LOW | tools/uncrustify.cfg | 2661 | cmt_insert_file_footer = "" # string |
| LOW | tools/uncrustify.cfg | 2681 | cmt_insert_oc_msg_header = "" # string |
| LOW | tools/uncrustify.cfg | 2721 | # Whether to enforce that all blocks of an 'if'/'else if'/'else' chain either |
| LOW | tools/uncrustify.cfg | 2741 | mod_full_brace_nl = 0 # unsigned number |
| LOW | tools/uncrustify.cfg | 2861 | # (OC) Weight of getter type ('getter=') when organizing properties. |
| LOW | tools/uncrustify.cfg | 2921 | # Whether to indent case statements between #if, #else, and #endif. |
| LOW | tools/uncrustify.cfg | 2941 | |
| LOW | tools/uncrustify.cfg | 2961 | |
| LOW | tools/uncrustify.cfg | 2981 | # To prevent the double use of the indentation value, use this option with the |
| LOW | tools/uncrustify.cfg | 3001 | # by default. |
| LOW | tools/uncrustify.cfg | 3021 | # Warn levels - 1: error, 2: warning (default), 3: note |
| LOW | tools/uncrustify.cfg | 3041 | # Ignore - do not do any changes |
| LOW | tools/uncrustify.cfg | 3061 | # Example: |
| 5790 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 2ma output // stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " // --> level ‘1’ enables the approx // 4ma output stage |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> level ‘1’ // enables the approx 8ma output // stage. note: any drive strength // between 2ma and 14ma can be // ob |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> output enable // value. level ‘0’ enables the ido // to pad path. else pad is // tristated (except for the pu/pd / |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> output enable // value. level ‘0’ enables the ido // to pad path. else pad is // tristated (except for the pu/pd / |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> output enable // value. level ‘0’ enables the ido // to pad path. else pad is // tristated (except for the pu/pd / |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> output enable // value. level ‘0’ enables the ido // to pad path. else pad is // tristated (except for the pu/pd / |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> output enable // value. level ‘0’ enables the ido // to pad path. else pad is // tristated (except for the pu/pd / |
| HIGH | ports/cc3200/hal/inc/hw_ocp_shared.h | 0 | " --> output enable // value. level ‘0’ enables the ido // to pad path. else pad is // tristated (except for the pu/pd / |
| 52 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/manifestfile.py | 255 | except Exception as er: |
| LOW | tools/manifestfile.py | 397 | except Exception as e: |
| MEDIUM | tools/manifestfile.py | 633 | print("Error: No mode specified.", file=sys.stderr) |
| MEDIUM | tools/pyboard.py | 243 | print("Error: unable to find PTY device in startup line:", pty_line) |
| MEDIUM | tools/gen-cpydiff.py | 144 | print("Error: Test has same output in CPython vs MicroPython: " + test_fullpath) |
| LOW | tools/ar_util.py | 76 | except Exception: |
| LOW | tools/ar_util.py | 86 | except Exception: |
| MEDIUM | tools/mpremote/mpremote/romfs.py | 141 | print("Error: OSError {}".format(er), file=sys.stderr) |
| LOW | tools/autobuild/build-downloads.py | 98 | except Exception as e: |
| LOW | tests/misc/print_exception.py | 37 | except Exception as e: |
| LOW | tests/misc/print_exception.py | 53 | except Exception as e: |
| LOW | tests/misc/print_exception.py | 63 | except Exception as e: |
| LOW | tests/misc/print_exception.py | 71 | except Exception as e: |
| LOW | tests/misc/print_exception.py | 75 | except Exception as e: |
| LOW | tests/misc/print_exception.py | 89 | except Exception as e: |
| LOW | tests/misc/sys_settrace_subdir/sys_settrace_generic.py | 25 | except Exception: |
| MEDIUM | tests/misc/sys_settrace_subdir/sys_settrace_generic.py | 21 | def test_exception(): |
| LOW | tests/basics/class_setname_hazard.py | 135 | except Exception as e: # CPython raises RuntimeError, MicroPython propagates the original exception |
| LOW | tests/basics/string_tstring_parser1.py | 39 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 47 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 54 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 62 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 107 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 114 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 121 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 129 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 136 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 191 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 200 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 208 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 255 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 265 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 275 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 78 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 89 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 96 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 161 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 178 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 219 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 229 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 244 | except Exception as e: |
| LOW | tests/basics/string_tstring_parser1.py | 287 | except Exception as e: |
| LOW | tests/basics/generator_throw_nested.py | 11 | except Exception: |
| LOW | tests/basics/generator_throw_nested.py | 15 | except Exception: |
| LOW | tests/basics/generator_throw_nested.py | 19 | except Exception: |
| MEDIUM | tests/basics/generator_throw_nested.py | 4 | def gen(): |
| LOW | tests/basics/string_tstring_basic1.py | 128 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 35 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 56 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 62 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 87 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 96 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 102 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 111 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 120 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 211 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 218 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 225 | except Exception as e: |
| LOW | tests/basics/string_tstring_errors1.py | 232 | except Exception as e: |
| LOW | tests/basics/exception_chain.py | 13 | except Exception: |
| 176 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/metrics.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/manifestfile.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/codeformat.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/hci_trace_to_pcap.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/pyboard.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/gen-cpydiff.py | 1 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/ar_util.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/ar_util.py | 55 | "# This file is a cache directory tag created by MicroPython.\n" |
| MEDIUM | tools/boardgen.py | 1 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/mpy-tool.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/mpy-tool.py | 326 | # Create a dict mapping opcode value to opcode name. |
| MEDIUM | tools/mpy-tool.py | 1565 | # Create the outer-level compiled module representing the whole .mpy file. |
| MEDIUM | tools/mpy-tool.py | 1709 | # Define the string of frozen module names. |
| MEDIUM | tools/mpy-tool.py | 1724 | # Define the array of pointers to frozen module content. |
| MEDIUM | tools/mpy_ld.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/mpy_ld.py | 563 | # Create a relocation for each GOT entry |
| MEDIUM | tools/makemanifest.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/pydfu.py | 2 | # This file is part of the OpenMV project. |
| MEDIUM | tools/pydfu.py | 7 | """This module implements enough functionality to program the STM32F4xx over |
| MEDIUM | tools/mpremote/mpremote/transport_serial.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/mpremote/mpremote/transport.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tools/mpremote/mpremote/commands.py | 282 | # Create the destination if necessary. |
| MEDIUM | tools/mpremote/tests/test_filesystem.sh | 92 | # Create a local directory structure and copy it to `:` on the device. |
| MEDIUM | tools/mpremote/tests/test_mip_local_install.sh | 17 | # Create the smallest permissible ramdisk. |
| MEDIUM | tools/mpremote/tests/test_mount.sh | 6 | # Create a local directory structure and mount the parent directory on the device. |
| MEDIUM | tools/autobuild/build-downloads.py | 81 | # Create the board markdown, which is the concatenation of the |
| MEDIUM | tests/test_utils.py | 1 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tests/run-multitests.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tests/run-natmodtests.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tests/run-perfbench.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | tests/misc/cexample_subclass.py | 28 | # Initialize base class. |
| MEDIUM | tests/basics/namedtuple1.py | 89 | # Creating an empty namedtuple should not segfault |
| MEDIUM | tests/multi_bluetooth/ble_gap_device_name.py | 65 | # Create an empty service and start advertising. |
| MEDIUM | tests/cmdline/repl_autocomplete_underscore.py | 27 | # Create an instance |
| MEDIUM | tests/extmod/asyncio_lock_cancel.py | 26 | # Create a lock and acquire it so the tasks below must wait |
| MEDIUM | tests/extmod/deflate_compress_memory_error.py | 16 | # Create a compressor object. |
| MEDIUM | tests/extmod/select_poll_eintr.py | 49 | # Create the poller object. |
| MEDIUM | tests/extmod/select_ipoll.py | 35 | # Create a second socket. |
| MEDIUM | tests/extmod/vfs_fat_mtime.py | 46 | # Create an empty file, should have a timestamp. |
| MEDIUM | tests/extmod/btree_gc.py | 11 | # Create a BytesIO but don't keep a reference to it. |
| MEDIUM | tests/extmod/asyncio_event.py | 43 | # Create a task waiting on the already-set event |
| MEDIUM | tests/extmod/vfs_lfs_mtime.py | 49 | # Create an empty file, should have a timestamp. |
| MEDIUM | tests/extmod/vfs_lfs_superblock.py | 35 | # Create the block device from the static data (it will be read-only). |
| MEDIUM | tests/extmod/vfs_lfs_superblock.py | 38 | # Create the VFS explicitly, no auto-detection is needed for this. |
| MEDIUM | tests/extmod/asyncio_set_exception_handler.py | 29 | # Create a task that raises and uses the custom exception handler |
| MEDIUM | tests/extmod/asyncio_set_exception_handler.py | 42 | # Create a task, let it run, then await it (no exception should be printed) |
| MEDIUM | tests/extmod/asyncio_await_return.py | 18 | # Create a task and await on it |
| MEDIUM | tests/multi_net/tcp_client_rst.py | 35 | # Create a poller for the connected socket. |
| MEDIUM | tests/multi_net/tls_dtls_server_client.py | 30 | # Create a UDP socket and bind it to accept incoming connections. |
| MEDIUM | tests/multi_net/tls_dtls_server_client.py | 73 | # Create a UDP socket and connect to the server. |
| MEDIUM | tests/multi_net/tls_dtls_server_client.py | 79 | # Create a DTLS context and load the certificate. |
| MEDIUM | tests/ports/unix/mod_os.py | 1 | # This module is not entirely compatible with CPython |
| MEDIUM | extmod/asyncio/task.py | 4 | # This file contains the core TaskQueue based on a pairing heap, and the core Task class. |
| MEDIUM | extmod/asyncio/core.py | 246 | # Create a new task from a coroutine and run it until it finishes |
| MEDIUM | extmod/asyncio/stream.py | 96 | # Create a TCP stream connection to a remote host |
| MEDIUM | docs/conf.py | 7 | # This file is execfile()d with the current directory set to its |
| MEDIUM | mpy-cross/mpy_cross/__init__.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | mpy-cross/mpy_cross/__main__.py | 3 | # This file is part of the MicroPython project, http://micropython.org/ |
| MEDIUM | examples/network/https_client_nonblocking.py | 50 | # Create a TCP socket and connect to the server in non-blocking mode. |
| MEDIUM | examples/network/https_client_nonblocking.py | 59 | # Create an object to poll the SSL stream for readability/writability. |
| 35 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/metrics.py | 108 | |
| LOW | tools/metrics.py | 123 | |
| LOW | tools/manifestfile.py | 577 | |
| LOW | tools/manifestfile.py | 258 | |
| LOW | tools/manifestfile.py | 290 | |
| LOW | tools/manifestfile.py | 336 | |
| LOW | tools/codeformat.py | 91 | |
| LOW | tools/codeformat.py | 136 | |
| LOW | tools/pyboard.py | 706 | |
| LOW | tools/pyboard.py | 805 | |
| LOW | tools/pyboard.py | 269 | |
| LOW | tools/pyboard.py | 339 | |
| LOW | tools/pyboard.py | 442 | |
| LOW | tools/pyboard.py | 477 | |
| LOW | tools/pyboard.py | 636 | |
| LOW | tools/uf2conv.py | 64 | |
| LOW | tools/uf2conv.py | 214 | |
| LOW | tools/uf2conv.py | 258 | |
| LOW | tools/uf2conv.py | 330 | |
| LOW | tools/gen-cpydiff.py | 211 | |
| LOW | tools/ar_util.py | 118 | |
| LOW | tools/boardgen.py | 205 | |
| LOW | tools/boardgen.py | 242 | |
| LOW | tools/mpy-tool.py | 372 | |
| LOW | tools/mpy-tool.py | 404 | |
| LOW | tools/mpy-tool.py | 1389 | |
| LOW | tools/mpy-tool.py | 1429 | |
| LOW | tools/mpy-tool.py | 1509 | |
| LOW | tools/mpy-tool.py | 1858 | |
| LOW | tools/mpy-tool.py | 2086 | |
| LOW | tools/mpy-tool.py | 605 | |
| LOW | tools/mpy-tool.py | 720 | |
| LOW | tools/mpy_ld.py | 484 | |
| LOW | tools/mpy_ld.py | 532 | |
| LOW | tools/mpy_ld.py | 604 | |
| LOW | tools/mpy_ld.py | 895 | |
| LOW | tools/mpy_ld.py | 1136 | |
| LOW | tools/mpy_ld.py | 1191 | |
| LOW | tools/mpy_ld.py | 1383 | |
| LOW | tools/mpy_ld.py | 1522 | |
| LOW | tools/makemanifest.py | 73 | |
| LOW | tools/makemanifest.py | 125 | |
| LOW | tools/pydfu.py | 500 | |
| LOW | tools/mpremote/mpremote/transport_serial.py | 52 | |
| LOW | tools/mpremote/mpremote/transport_serial.py | 121 | |
| LOW | tools/mpremote/mpremote/transport_serial.py | 218 | |
| LOW | tools/mpremote/mpremote/transport_serial.py | 253 | |
| LOW | tools/mpremote/mpremote/transport_serial.py | 328 | |
| LOW | tools/mpremote/mpremote/transport_serial.py | 1024 | |
| LOW | tools/mpremote/mpremote/romfs.py | 76 | |
| LOW | tools/mpremote/mpremote/mip.py | 95 | |
| LOW | tools/mpremote/mpremote/mip.py | 134 | |
| LOW | tools/mpremote/mpremote/mip.py | 165 | |
| LOW | tools/mpremote/mpremote/repl.py | 6 | |
| LOW | tools/mpremote/mpremote/main.py | 487 | |
| LOW | tools/mpremote/mpremote/commands.py | 20 | |
| LOW | tools/mpremote/mpremote/commands.py | 134 | |
| LOW | tools/mpremote/mpremote/commands.py | 304 | |
| LOW | tools/mpremote/mpremote/commands.py | 345 | |
| LOW | tools/mpremote/mpremote/commands.py | 380 | |
| 122 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/manifestfile.py | 31 | |
| LOW | tools/boardgen.py | 72 | |
| LOW | tools/mpremote/mpremote/romfs.py | 3 | |
| LOW | tools/mpremote/mpremote/repl.py | 1 | |
| LOW | tests/run-internalbench.py | 11 | |
| LOW | tests/run-tests.py | 17 | |
| LOW | tests/run-tests.py | 17 | |
| LOW | tests/run-tests.py | 17 | |
| LOW | tests/run-perfbench.py | 11 | |
| LOW | tests/basics/op_error.py | 59 | |
| LOW | tests/basics/import_star_nonmodule.py | 24 | |
| LOW | tests/basics/import_star_nonmodule.py | 29 | |
| LOW | tests/basics/import_star_nonmodule.py | 49 | |
| LOW | tests/basics/import_star_nonmodule.py | 54 | |
| LOW | tests/basics/import_star_nonmodule.py | 62 | |
| LOW | tests/micropython/const_math.py | 8 | |
| LOW | tests/micropython/const_error.py | 3 | |
| LOW | tests/extmod_hardware/machine_encoder.py | 13 | |
| LOW | tests/cmdline/cmd_showbc.py | 160 | |
| LOW | tests/extmod/vfs_fat_ramdisk.py | 2 | |
| LOW | tests/extmod/machine_uart_irq_txidle.py | 12 | |
| LOW | tests/extmod/vfs_fat_more.py | 115 | |
| LOW | tests/extmod/vfs_rom.py | 4 | |
| LOW | tests/extmod/vfs_fat_finaliser.py | 4 | |
| LOW | tests/extmod/vfs_fat_finaliser.py | 4 | |
| LOW | tests/extmod/vfs_fat_finaliser.py | 34 | |
| LOW | tests/extmod/vfs_fat_finaliser.py | 34 | |
| LOW | tests/extmod/vfs_fat_finaliser.py | 53 | |
| LOW | tests/extmod/vfs_fat_finaliser.py | 53 | |
| LOW | tests/extmod/vfs_fat_oldproto.py | 2 | |
| LOW | tests/extmod/vfs_fat_oldproto.py | 2 | |
| LOW | tests/extmod/vfs_lfs.py | 4 | |
| LOW | tests/extmod/ssl_poll.py | 2 | |
| LOW | tests/extmod/vfs_userfs.py | 87 | |
| LOW | tests/extmod/vfs_userfs.py | 103 | |
| LOW | tests/extmod/vfs_userfs.py | 107 | |
| LOW | tests/extmod/vfs_userfs.py | 91 | |
| LOW | tests/extmod/vfs_userfs.py | 97 | |
| LOW | tests/extmod/framebuf_palette.py | 3 | |
| LOW | tests/extmod/vfs_fat_ramdisklarge.py | 4 | |
| LOW | tests/extmod/vfs_fat_mtime.py | 4 | |
| LOW | tests/extmod/vfs_lfs_mount.py | 61 | |
| LOW | tests/extmod/vfs_lfs_mount.py | 67 | |
| LOW | tests/extmod/vfs_lfs_mount.py | 73 | |
| LOW | tests/extmod/machine_spi_rate.py | 4 | |
| LOW | tests/extmod/vfs_fat_ilistdir_del.py | 4 | |
| LOW | tests/extmod/vfs_posix_readonly.py | 4 | |
| LOW | tests/multi_extmod/machine_can_04_tx_order.py | 2 | |
| LOW | …ts/multi_net/asyncio_tls_server_client_verify_error.py | 4 | |
| LOW | tests/multi_net/ssl_cert_ec.py | 5 | |
| LOW | tests/multi_net/ssl_cert_ec.py | 5 | |
| LOW | tests/multi_net/sslcontext_server_client_files.py | 4 | |
| LOW | …i_net/asyncio_tls_server_client_cert_required_error.py | 4 | |
| LOW | tests/multi_net/sslcontext_getpeercert.py | 5 | |
| LOW | tests/multi_net/asyncio_tls_server_client_readline.py | 4 | |
| LOW | tests/multi_net/sslcontext_check_hostname_error.py | 4 | |
| LOW | tests/multi_net/ssl_cert_rsa.py | 5 | |
| LOW | tests/multi_net/ssl_cert_rsa.py | 5 | |
| LOW | tests/multi_net/sslcontext_server_client_ciphers.py | 4 | |
| LOW | tests/multi_net/sslcontext_server_client.py | 4 | |
| 112 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/extmod/json_loads.py | 22 | my_print(json.loads("[null]")) |
| HIGH | tests/extmod/json_loads.py | 23 | my_print(json.loads("[null,false,true]")) |
| HIGH | tests/extmod/json_loads.py | 24 | my_print(json.loads(" [ null , false , true ] ")) |
| HIGH | tests/extmod/json_loads.py | 27 | my_print(json.loads('{"a":null, "b":false, "c":true}')) |
| HIGH | tests/extmod/json_loads.py | 71 | my_print(json.loads("[null] a")) |
| HIGH | tests/extmod/json_loads_bytes.py | 10 | print(json.loads(bytearray(b"[null]"))) |
| HIGH | tests/jni/list.py | 14 | print(l.toString()) |
| HIGH | tests/import/pkgstar_default/__init__.py | 1 | # When __all__ is undefined, star import should only |
| HIGH | tests/perf_bench/misc_raytrace.py | 28 | l = self.length() |
| HIGH | tests/perf_bench/misc_raytrace.py | 173 | light_dist = light_vec.length() |
| HIGH | extmod/asyncio/task.py | 150 | self.state.push(core.cur_task) |
| HIGH | extmod/asyncio/task.py | 171 | core._task_queue.push(self) |
| HIGH | extmod/asyncio/task.py | 175 | core._task_queue.push(self) |
| HIGH | extmod/asyncio/event.py | 21 | core._task_queue.push(self.waiting.pop()) |
| HIGH | extmod/asyncio/event.py | 31 | self.waiting.push(core.cur_task) |
| HIGH | extmod/asyncio/core.py | 45 | _task_queue.push(cur_task, self.state) |
| HIGH | extmod/asyncio/core.py | 119 | _task_queue.push(sm[0]) |
| HIGH | extmod/asyncio/core.py | 123 | _task_queue.push(sm[1]) |
| HIGH | extmod/asyncio/core.py | 147 | _task_queue.push(t) |
| HIGH | extmod/asyncio/core.py | 219 | _task_queue.push(t.state.pop()) |
| HIGH | extmod/asyncio/core.py | 227 | _task_queue.push(t) |
| HIGH | extmod/asyncio/core.py | 281 | _task_queue.push(_stop_task) |
| HIGH | extmod/asyncio/funcs.py | 84 | core._task_queue.push(gather_task) |
| HIGH | extmod/asyncio/lock.py | 27 | core._task_queue.push(self.state) |
| HIGH | extmod/asyncio/lock.py | 36 | self.waiting.push(core.cur_task) |
| HIGH | ports/webassembly/asyncio/core.py | 42 | _task_queue.push(cur_task, self.state) |
| HIGH | ports/webassembly/asyncio/core.py | 89 | _task_queue.push(self.waiting) |
| HIGH | ports/webassembly/asyncio/core.py | 98 | _task_queue.push(self.waiting) |
| HIGH | ports/webassembly/asyncio/core.py | 184 | _task_queue.push(t.state.pop()) |
| HIGH | ports/webassembly/asyncio/core.py | 192 | _task_queue.push(t) |
| HIGH | ports/webassembly/asyncio/core.py | 213 | _task_queue.push(t) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/codeformat.py | 92 | # Read file. |
| LOW | tools/mpy-tool.py | 416 | # Check if the bytecode_offset is small enough to use a 1-byte encoding. |
| LOW | tools/makemanifest.py | 217 | # Check if output file needs generating |
| LOW | tools/mpremote/mpremote/mip.py | 48 | # Check if the specified path exists and matches the hash. |
| LOW | tools/mpremote/mpremote/main.py | 447 | # Check if config file exists. |
| LOW | tools/mpremote/mpremote/commands.py | 662 | # Check if ROMFS image is valid |
| LOW | tools/mpremote/mpremote/commands.py | 667 | # Check if ROMFS filesystem image will fit in the target partition. |
| LOW | py/makeversionhdr.py | 132 | # Check if the file contents changed from last time |
| LOW | tests/serial_test.py | 155 | # Print results. |
| LOW | tests/serial_test.py | 222 | # Print results. |
| LOW | tests/serial_test.py | 261 | # Print results. |
| LOW | tests/run-multitests.py | 513 | # Check if truth exists in a file, and read it in |
| LOW | tests/run-multitests.py | 531 | # Print result of test |
| LOW | tests/run-natmodtests.py | 224 | # Print result |
| LOW | tests/run-tests.py | 774 | # Check if micropython.native is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 779 | # Check if arbitrary-precision integers are supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 784 | # Check if 'long long' precision integers are supported, even if arbitrary precision is not |
| LOW | tests/run-tests.py | 789 | # Check if bytearray is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 794 | # Check if set type (and set literals) is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 799 | # Check if slice is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 804 | # Check if async/await keywords are supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 809 | # Check if const keyword (MicroPython extension) is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 814 | # Check if __rOP__ special methods are supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 819 | # Check if fstring feature is enabled, and skip such tests if it doesn't |
| LOW | tests/run-tests.py | 824 | # Check if tstring feature is enabled, and skip such tests if it doesn't |
| LOW | tests/run-tests.py | 840 | # Check if emacs repl is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 845 | # Check if words movement in repl is supported, and skip such tests if it's not |
| LOW | tests/run-tests.py | 1018 | # Check if the target requested to skip this test. |
| LOW | tests/run-perfbench.py | 103 | # Check if test should be skipped |
| LOW | tests/basics/string_tstring_errors1.py | 242 | # Check if we get the specific error message or generic one |
| LOW | tests/extmod/machine_rtc.py | 14 | # Set datetime to a known value. |
| LOW | tests/extmod/deflate_decompress.py | 2 | # Check if deflate is available. |
| LOW | tests/extmod/deflate_compress_memory_error.py | 4 | # Check if deflate is available. |
| LOW | tests/extmod/deflate_compress_memory_error.py | 11 | # Check if compression is enabled. |
| LOW | tests/extmod/asyncio_gather_finished_early.py | 59 | # Print results. |
| LOW | tests/extmod/deflate_stream_error.py | 4 | # Check if deflate & IOBase are available. |
| LOW | tests/extmod/deflate_stream_error.py | 12 | # Check if compression is enabled. |
| LOW | tests/extmod/deflate_compress.py | 2 | # Check if deflate is available. |
| LOW | tests/extmod/deflate_compress.py | 9 | # Check if compression is enabled. |
| LOW | tests/perf_bench/misc_raytrace.py | 155 | # Check if any objects hit |
| LOW | tests/stress/bytecode_limit.py | 16 | # Print results at the end in case an intermediate value of n fails with MemoryError. |
| LOW | extmod/asyncio/task.py | 158 | # Check if task is already finished. |
| LOW | ports/esp32/boards/UM_TINYPICO/modules/dotstar.py | 86 | # Set auto_write to False temporarily so brightness setter does _not_ |
| LOW | ports/mimxrt/boards/make-flexram-config.py | 95 | # Check if DTCM and ITCM size is either multiple of 32k or 4k,8k or 16k |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/ports/webassembly/register_js_module.js | 27 | print(js_module2.yes) |
| HIGH | tests/ports/webassembly/register_js_module.js | 28 | print(js_module2.add1(1)) |
| HIGH | tests/ports/webassembly/register_js_module.js | 29 | print(js_module2.getThis()) |
| HIGH | tests/ports/webassembly/register_js_module.js | 30 | print(js_module2.getThis().yes) |
| HIGH | tests/ports/webassembly/register_js_module.js | 39 | print(yes) |
| HIGH | tests/ports/webassembly/register_js_module.js | 40 | print(add1(2)) |
| HIGH | tests/ports/webassembly/register_js_module.js | 41 | print(getThis()) |
| HIGH | tests/ports/webassembly/register_js_module.js | 42 | print(getThis().yes) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ports/renesas-ra/README.md | 66 | ## Board definition auto-generated code |
| HIGH | ports/cc3200/hal/timer.c | 261 | // Set the output levels as requested. |
| HIGH | ports/cc3200/hal/uart.c | 743 | // Set the flow control mode as requested. |
| HIGH | ports/cc3200/hal/uart.c | 1101 | // Set the break condition as requested. |
| HIGH | ports/esp8266/machine_pin.c | 285 | // configure the GPIO as requested |
| HIGH | ports/stm32/pin.c | 387 | // configure the GPIO as requested |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/pyboard.py | 386 | def _enter_raw_repl_unprotected(self, soft_reset, timeout_overall): |
| LOW | tools/verifygitlog.py | 120 | def verify_subject_line_prefix(prefix, err): |
| LOW | tools/mpy-tool.py | 1085 | def get_opcode_annotations_labels( |
| LOW | tools/mpy-tool.py | 1781 | def adjust_bytecode_qstr_obj_indices(bytecode_in, qstr_table_base, obj_table_base): |
| LOW | tools/makemanifest.py | 73 | def generate_frozen_str_content(modules): |
| LOW | tools/mpremote/mpremote/transport.py | 58 | def _convert_filesystem_error(e, info): |
| LOW | tools/mpremote/mpremote/main.py | 465 | def prepare_command_expansions(config): |
| LOW | tools/mpremote/mpremote/commands.py | 198 | def do_filesystem_recursive_cp(state, src, dest, multiple, check_hash): |
| LOW | tools/mpremote/mpremote/commands.py | 304 | def do_filesystem_recursive_rm(state, path, args): |
| LOW | py/makeversionhdr.py | 22 | def get_version_info_from_git(repo_path): |
| LOW | py/makeversionhdr.py | 71 | def get_version_info_from_mpconfig(repo_path): |
| LOW | py/make_root_pointers.py | 17 | def find_root_pointer_registrations(filename): |
| LOW | py/make_root_pointers.py | 27 | def generate_root_pointer_header(root_pointers): |
| LOW | py/makemoduledefs.py | 34 | def find_module_registrations(filename): |
| LOW | py/makemoduledefs.py | 47 | def generate_module_table_header(modules): |
| LOW | py/makemoduledefs.py | 109 | def generate_module_delegations(delegations): |
| LOW | tests/test_utils.py | 131 | def run_script_on_remote_target(self, args, test_file, is_special, requires_target_wiring): |
| LOW | tests/test_utils.py | 194 | def convert_device_shortcut_to_real_device(device): |
| LOW | tests/test_utils.py | 227 | def prepare_script_for_target(args, *, script_text=None, force_plain=False): |
| LOW | tests/test_utils.py | 263 | def run_script_on_remote_target(pyb, args, test_file, is_special, requires_target_wiring): |
| LOW | tests/run-tests.py | 414 | def detect_target_wiring_script(pyb, args): |
| LOW | tests/micropython/heapalloc_fail_tstring.py | 235 | def test_many_interpolations_heap(): |
| LOW | tests/micropython/heapalloc_fail_tstring.py | 266 | def test_template_concat_heap(): |
| LOW | tests/extmod/vfs_posix.py | 80 | def write_files_without_closing(): |
| LOW | tests/extmod/asyncio_wait_for.py | 47 | async def task_wait_for_cancel_ignore(t_wait): |
| LOW | tests/extmod/marshal_fun_nested.py | 36 | def f_with_child_closure_defargs(): |
| LOW | tests/extmod/marshal_fun_nested.py | 46 | def f_with_list_comprehension(a): |
| LOW | tests/extmod/asyncio_wait_for_fwd.py | 26 | async def test_cancellation_forwarded(catch, catch_inside): |
| LOW | tests/net_inet/resolve_on_connect.py | 20 | def test_bind_resolves_localhost(self): |
| LOW | tests/net_inet/resolve_on_connect.py | 30 | def test_connect_non_existent(self): |
| LOW | tests/net_hosted/connect_nonblock_xfer.py | 119 | def test_plain_sockets_to_nowhere(self): |
| LOW | tests/net_hosted/connect_nonblock_xfer.py | 123 | def test_ssl_sockets_to_nowhere(self): |
| LOW | tests/ports/rp2/rp2_dma.py | 86 | def test_time_taken_for_large_memory_copy(self): |
| LOW | tests/ports/stm32_hardware/sdcard_dma_align.py | 158 | def test_interrupted_read_write(self): |
| LOW | tests/ports/stm32_hardware/spi_dma_align.py | 19 | def test_variable_offset_fixed_length(self): |
| LOW | tests/ports/stm32_hardware/spi_dma_align.py | 30 | def test_variable_offset_and_lengths(self): |
| LOW | extmod/asyncio/core.py | 294 | def default_exception_handler(loop, context): |
| LOW | ports/stm32/boards/pllvalues.py | 229 | def search_header_for_hsx_values(filename): |
| LOW | ports/stm32/boards/LEGO_HUB_NO6/appupdate.py | 19 | def _copy_file_to_raw_filesystem(filename, flash, block): |
| LOW | ports/nrf/examples/ubluepy_eddystone.py | 31 | def generate_eddystone_adv_packet(url): |
| LOW | ports/webassembly/asyncio/core.py | 242 | def default_exception_handler(loop, context): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/uncrustify.cfg | 3004 | # Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially, |
| MEDIUM | py/emitnative.c | 27 | // Essentially normal Python has 1 type: Python objects |
| MEDIUM | py/objmodule.c | 205 | // built-in. Essentially, this makes it as if all the extensible |
| MEDIUM | tests/basics/string_format2.py | 1 | # comprehensive functionality test for {} format string |
| LOW | tests/basics/struct_micropython.py | 23 | # putting this in a dedicated test that can be skipped we simply pass |
| MEDIUM | tests/float/string_format2.py | 1 | # Change the following to True to get a much more comprehensive set of tests |
| MEDIUM | tests/thread/stress_aes.py | 10 | # and then the test harness at the bottom. It can be tuned to be more/less |
| MEDIUM | tests/perf_bench/misc_aes.py | 7 | # and then the test harness at the bottom. |
| MEDIUM | examples/natmod/features4/features4.c | 31 | // Essentially Factorial.__new__ (but also kind of __init__). |
| MEDIUM | ports/esp32/modespnow.c | 842 | // from the non-802.11b 6Mbit rate, for more robust error correction |
| MEDIUM | ports/stm32/sdcard.c | 188 | // makes it more robust to have the pins always pulled high |
| MEDIUM | ports/stm32/boards/LEGO_HUB_NO6/board_init.c | 94 | // This makes the update robust to power failures: if the update does not complete then |
| MEDIUM | ports/stm32/boards/LEGO_HUB_NO7/board_init.c | 64 | // This makes the update robust to power failures: if the update does not complete then |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/basics/fun_code_colines.py | 21 | obj.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.fun() # line 21: bc+31 line+1; bc+27 line+0 |
| CRITICAL | tests/basics/fun_code_colines.py | 30 | obj2.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.fun() # line 30: bc+31 line+3; bc+27 line+0 |
| CRITICAL | tests/basics/fun_code_colines.py | 60 | return obj3.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.fun() # line 60: bc+31 line+27; bc+27 line+0 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/basics/gen_yield_from_stopped.py | 6 | |
| MEDIUM | tests/basics/stopiteration.py | 34 | |
| MEDIUM | tests/basics/generator_exc.py | 18 | |
| MEDIUM | tests/basics/generator_exc.py | 19 | |
| MEDIUM | tests/cmdline/cmd_showbc_opt.py | 7 | |
| MEDIUM | tests/cmdline/cmd_showbc_opt.py | 19 | |
| MEDIUM | tests/extmod/asyncio_exception.py | 14 | |
| MEDIUM | tests/extmod/asyncio_exception.py | 27 | |
| MEDIUM | tests/extmod/asyncio_exception.py | 54 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ports/samd/machine_uart.c | 483 | // Step 1: Configure the Pin mux. |
| LOW | ports/samd/mcu/samd21/clock_config.c | 224 | // Step 1: Set up the reference clock |
| LOW | ports/samd/mcu/samd21/clock_config.c | 251 | // Step 2: Set the coarse and fine values. |
| LOW | ports/samd/mcu/samd21/clock_config.c | 262 | // Step 3: Set the multiplication values. The offset of 16384 to the freq is for rounding. |
| LOW | ports/samd/mcu/samd21/clock_config.c | 267 | // Step 4: Start the DFLL and wait for the PLL lock. We just wait for the fine lock, since |
| LOW | ports/samd/mcu/samd51/clock_config.c | 262 | // Step 1: Peripheral channel 0 is driven by GCLK4 and it feeds DFLL48M |
| LOW | ports/samd/mcu/samd51/clock_config.c | 266 | // Step 2: Set the multiplication values. The offset of 16384 to the freq is for rounding. |
| LOW | ports/samd/mcu/samd51/clock_config.c | 271 | // Step 3: Set the mode to closed loop |
| LOW | ports/samd/mcu/samd51/clock_config.c | 278 | // Step 4: Start the DFLL. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/mpy-tool.py | 191 | MP_BC_BASE_RESERVED = (0x00) # ---------------- |
| MEDIUM | …stm32/boards/LEGO_HUB_NO6/bluetooth_init_cc2564C_1.5.c | 30 | // #-------------------------------------------------------------------------------- |
| MEDIUM | …stm32/boards/LEGO_HUB_NO6/bluetooth_init_cc2564C_1.5.c | 43 | // #-------------------------------------------------------------------------------- |
| MEDIUM | …stm32/boards/LEGO_HUB_NO6/bluetooth_init_cc2564C_1.5.c | 557 | // ##-------------------------------------------------------------------------------- |
| MEDIUM | …stm32/boards/LEGO_HUB_NO6/bluetooth_init_cc2564C_1.5.c | 559 | // ##-------------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ports/renesas-ra/machine_rtc.c | 54 | /// Example usage: |
| LOW | ports/stm32/rtc.c | 47 | /// Example usage: |
| LOW | ports/stm32/dac.c | 46 | /// Example usage: |
| LOW | ports/stm32/accel.c | 46 | /// Example usage: |
| LOW | ports/nrf/examples/powerup.py | 34 | # Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/network/http_server_simplistic_commented.py | 61 | # ten lines of code, and you can use this technique for quick hacks |
| MEDIUM | ports/stm32/boards/NUCLEO_WB55/mboot_keys.h | 5 | // The above keys are for demonstration purposes only, do not use them in production! |