Rating | Name | Duplication | Size | Complexity |
---|---|---|---|---|
F | CollaboratorsPermissionLogic.has_perm() | 66 | 66 | 16 |
F | AuthorPermissionLogic.has_perm() | 64 | 64 | 15 |
F | GroupInPermissionLogic.has_perm() | 65 | 65 | 19 |
F | StaffPermissionLogic.has_perm() | 63 | 63 | 19 |
F | OneselfPermissionLogic.has_perm() | 0 | 61 | 15 |
F | get_object_from_classbased_instance() | 0 | 52 | 11 |
D | get_object_from_date_based_view() | 0 | 65 | 9 |
C | PermissionHandlerRegistry.register() | 0 | 43 | 7 |
C | remove_permission_logic() | 0 | 41 | 7 |
C | PermissionBackend.has_perm() | 0 | 52 | 8 |
B | _get_object_from_date_based_view_validation() | 0 | 8 | 7 |
B | PermissionBackend.has_module_perms() | 0 | 41 | 6 |
B | PermissionHandler.get_supported_permissions() | 0 | 26 | 6 |
B | field_lookup() | 0 | 35 | 6 |
B | permission_required() | 0 | 48 | 6 |