Function | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generateToc() | 40 | 16 | 57 | |
render_callback() | 46 | 7 | 36 | |
register_block() | 53 | 2 | 25 | |
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 |