Function | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generateToc() | 33 | 137 | ||
render_callback_simpletoc() | 37 | 20 | 67 | |
filter_headings_recursive() | 49 | 14 | 29 | |
addIDstoBlocks_recursive() | 59 | 10 | 12 | |
simpletoc_add_pagenumber() | 56 | 8 | 16 | |
addAnchorAttribute() | 54 | 4 | 19 | |
simpletoc_plugin_meta() | 65 | 2 | 8 | |
simpletoc_sanitize_string() | 66 | 1 | 8 | |
simpletoc_addIDstoContent() | 71 | 1 | 6 | |
register_simpletoc_block() | 67 | 1 | 7 |