Function | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generateToc() | 34 | 22 | 83 | |
render_callback() | 43 | 12 | 46 | |
filter_headings_recursive() | 54 | 8 | 20 | |
simpletoc_add_pagenumber() | 56 | 8 | 16 | |
simpletoc_addIDstoContent() | 59 | 8 | 13 | |
addAnchorAttribute() | 55 | 3 | 18 | |
simpletoc_plugin_meta() | 65 | 2 | 8 | |
simpletoc_sanitize_string() | 66 | 1 | 8 | |
register_simpletoc_block() | 67 | 1 | 7 |