Function | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generateToc() | 42 | 14 | 51 | |
render_callback() | 48 | 5 | 30 | |
register_block() | 52 | 2 | 28 | |
addAnchorAttribute() | 59 | 2 | 13 | |
init() | 58 | 1 | 16 | |
simpletoc_plugin_meta() | 65 | 2 | 8 | |
filter_block() | 67 | 2 | 8 | |
simpletoc_sanitize_string() | 70 | 1 | 6 |