Function | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generateToc() | 36 | 20 | 74 | |
render_callback() | 43 | 12 | 46 | |
filter_headings_recursive() | 54 | 8 | 20 | |
addAnchorAttribute() | 55 | 3 | 18 | |
simpletoc_plugin_meta() | 65 | 2 | 8 | |
filter_block() | 67 | 2 | 8 | |
register_simpletoc_block() | 67 | 1 | 7 | |
simpletoc_sanitize_string() | 66 | 1 | 8 |