Coverage report: 80%

Files Functions Classes

coverage.py v7.6.1, created at 2024-11-07 05:11 +0000

File class statements missing excluded coverage
slidge/__init__.py (no class) 21 3 0 86%
slidge/__main__.py (no class) 2 2 0 0%
slidge/__version__.py (no class) 2 0 0 100%
slidge/command/__init__.py (no class) 3 0 0 100%
slidge/command/adhoc.py AdhocProvider 107 10 0 91%
slidge/command/adhoc.py (no class) 32 1 3 97%
slidge/command/admin.py AdminCommand 0 0 0 100%
slidge/command/admin.py ListUsers 8 8 0 0%
slidge/command/admin.py SlidgeInfo 27 27 0 0%
slidge/command/admin.py DeleteUser 10 10 0 0%
slidge/command/admin.py ChangeLoglevel 2 2 0 0%
slidge/command/admin.py Exec 10 10 0 0%
slidge/command/admin.py (no class) 53 0 0 100%
slidge/command/base.py TableResult 8 0 0 100%
slidge/command/base.py SearchResult 0 0 0 100%
slidge/command/base.py Confirmation 5 0 0 100%
slidge/command/base.py Form 12 0 0 100%
slidge/command/base.py CommandAccess 0 0 0 100%
slidge/command/base.py Option 0 0 0 100%
slidge/command/base.py FormField 47 10 0 79%
slidge/command/base.py Command 25 2 0 92%
slidge/command/base.py (no class) 107 0 4 100%
slidge/command/categories.py CommandCategory 0 0 0 100%
slidge/command/categories.py (no class) 8 0 0 100%
slidge/command/chat_command.py ChatCommandProvider 142 72 0 49%
slidge/command/chat_command.py (no class) 30 1 2 97%
slidge/command/register.py RegistrationType 0 0 0 100%
slidge/command/register.py TwoFactorNotRequired 0 0 0 100%
slidge/command/register.py Register 45 45 0 0%
slidge/command/register.py (no class) 35 0 0 100%
slidge/command/user.py Search 9 9 0 0%
slidge/command/user.py SyncContacts 26 26 0 0%
slidge/command/user.py ListContacts 3 3 0 0%
slidge/command/user.py ListGroups 4 4 0 0%
slidge/command/user.py Login 10 10 0 0%
slidge/command/user.py CreateGroup 7 7 0 0%
slidge/command/user.py Preferences 14 14 0 0%
slidge/command/user.py Unregister 6 6 0 0%
slidge/command/user.py LeaveGroup 8 8 0 0%
slidge/command/user.py (no class) 84 0 2 100%
slidge/contact/__init__.py (no class) 3 0 0 100%
slidge/contact/contact.py LegacyContact 246 47 0 81%
slidge/contact/contact.py (no class) 88 1 3 99%
slidge/contact/roster.py ContactIsUser 0 0 0 100%
slidge/contact/roster.py LegacyRoster 88 30 0 66%
slidge/contact/roster.py (no class) 31 0 2 100%
slidge/core/__init__.py (no class) 2 0 0 100%
slidge/core/config.py _TimedeltaSeconds 1 0 0 100%
slidge/core/config.py (no class) 82 0 0 100%
slidge/core/dispatcher/__init__.py (no class) 2 0 0 100%
slidge/core/dispatcher/caps.py CapsMixin 32 4 0 88%
slidge/core/dispatcher/caps.py (no class) 10 0 2 100%
slidge/core/dispatcher/disco.py DiscoMixin 24 2 0 92%
slidge/core/dispatcher/disco.py (no class) 11 0 2 100%
slidge/core/dispatcher/message/__init__.py MessageMixin 0 0 0 100%
slidge/core/dispatcher/message/__init__.py (no class) 6 0 0 100%
slidge/core/dispatcher/message/chat_state.py ChatStateMixin 19 8 0 58%
slidge/core/dispatcher/message/chat_state.py (no class) 13 0 0 100%
slidge/core/dispatcher/message/marker.py MarkerMixin 31 8 0 74%
slidge/core/dispatcher/message/marker.py (no class) 11 0 0 100%
slidge/core/dispatcher/message/message.py MessageContentMixin 190 87 0 54%
slidge/core/dispatcher/message/message.py (no class) 29 0 0 100%
slidge/core/dispatcher/muc/__init__.py MucMixin 0 0 0 100%
slidge/core/dispatcher/muc/__init__.py (no class) 8 0 0 100%
slidge/core/dispatcher/muc/admin.py MucAdminMixin 42 3 0 93%
slidge/core/dispatcher/muc/admin.py (no class) 12 0 0 100%
slidge/core/dispatcher/muc/mam.py MamMixin 34 2 0 94%
slidge/core/dispatcher/muc/mam.py (no class) 15 0 2 100%
slidge/core/dispatcher/muc/misc.py MucMiscMixin 48 3 0 94%
slidge/core/dispatcher/muc/misc.py (no class) 17 0 0 100%
slidge/core/dispatcher/muc/owner.py MucOwnerMixin 39 1 0 97%
slidge/core/dispatcher/muc/owner.py (no class) 11 0 0 100%
slidge/core/dispatcher/muc/ping.py PingMixin 24 10 0 58%
slidge/core/dispatcher/muc/ping.py (no class) 11 0 2 100%
slidge/core/dispatcher/presence.py _IsDirectedAtComponent 1 0 0 100%
slidge/core/dispatcher/presence.py PresenceHandlerMixin 94 19 0 80%
slidge/core/dispatcher/presence.py (no class) 25 0 0 100%
slidge/core/dispatcher/registration.py RegistrationMixin 35 13 0 63%
slidge/core/dispatcher/registration.py (no class) 17 0 2 100%
slidge/core/dispatcher/search.py SearchMixin 46 24 0 48%
slidge/core/dispatcher/search.py (no class) 10 0 2 100%
slidge/core/dispatcher/session_dispatcher.py SessionDispatcher 30 11 0 63%
slidge/core/dispatcher/session_dispatcher.py (no class) 21 0 2 100%
slidge/core/dispatcher/util.py Ignore 0 0 0 100%
slidge/core/dispatcher/util.py DispatcherMixin 55 11 0 80%
slidge/core/dispatcher/util.py (no class) 56 1 3 98%
slidge/core/dispatcher/vcard.py VCardMixin 81 11 0 86%
slidge/core/dispatcher/vcard.py (no class) 18 0 0 100%
slidge/core/gateway.py BaseGateway 246 121 3 51%
slidge/core/gateway.py (no class) 111 0 2 100%
slidge/core/mixins/__init__.py FullMixin 0 0 0 100%
slidge/core/mixins/__init__.py FullCarbonMixin 0 0 0 100%
slidge/core/mixins/__init__.py StoredAttributeMixin 2 1 0 50%
slidge/core/mixins/__init__.py (no class) 13 0 0 100%
slidge/core/mixins/attachment.py AttachmentMixin 215 48 0 78%
slidge/core/mixins/attachment.py (no class) 55 1 0 98%
slidge/core/mixins/avatar.py AvatarMixin 99 26 1 74%
slidge/core/mixins/avatar.py (no class) 35 0 2 100%
slidge/core/mixins/base.py MetaBase 0 0 0 100%
slidge/core/mixins/base.py Base 2 1 0 50%
slidge/core/mixins/base.py BaseSender 0 0 1 100%
slidge/core/mixins/base.py (no class) 17 0 3 100%
slidge/core/mixins/db.py UpdateInfoMixin 5 0 0 100%
slidge/core/mixins/db.py (no class) 5 0 0 100%
slidge/core/mixins/disco.py BaseDiscoMixin 17 3 0 82%
slidge/core/mixins/disco.py ChatterDiscoMixin 28 0 0 100%
slidge/core/mixins/disco.py ContactAccountDiscoMixin 9 0 0 100%
slidge/core/mixins/disco.py (no class) 33 0 0 100%
slidge/core/mixins/lock.py NamedLockMixin 16 0 0 100%
slidge/core/mixins/lock.py (no class) 10 0 0 100%
slidge/core/mixins/message.py ChatStateMixin 13 11 0 15%
slidge/core/mixins/message.py MarkerMixin 27 4 0 85%
slidge/core/mixins/message.py ContentMessageMixin 0 0 0 100%
slidge/core/mixins/message.py CarbonMessageMixin 13 2 0 85%
slidge/core/mixins/message.py InviteMixin 7 1 0 86%
slidge/core/mixins/message.py MessageMixin 0 0 0 100%
slidge/core/mixins/message.py MessageCarbonMixin 0 0 0 100%
slidge/core/mixins/message.py (no class) 36 0 2 100%
slidge/core/mixins/message_maker.py MessageMaker 75 7 0 91%
slidge/core/mixins/message_maker.py (no class) 24 0 2 100%
slidge/core/mixins/message_text.py TextMessageMixin 33 4 0 88%
slidge/core/mixins/message_text.py (no class) 13 0 0 100%
slidge/core/mixins/presence.py _NoChange 0 0 0 100%
slidge/core/mixins/presence.py PresenceMixin 67 14 0 79%
slidge/core/mixins/presence.py (no class) 30 0 0 100%
slidge/core/mixins/recipient.py ReactionRecipientMixin 12 0 0 100%
slidge/core/mixins/recipient.py ThreadRecipientMixin 1 0 0 100%
slidge/core/mixins/recipient.py (no class) 10 0 2 100%
slidge/core/pubsub.py PepItem 0 0 0 100%
slidge/core/pubsub.py PepAvatar 13 0 0 100%
slidge/core/pubsub.py PepNick 5 0 0 100%
slidge/core/pubsub.py PubSubComponent 135 31 0 77%
slidge/core/pubsub.py (no class) 54 0 3 100%
slidge/core/session.py CachedPresence 0 0 0 100%
slidge/core/session.py BaseSession 126 38 19 70%
slidge/core/session.py (no class) 108 0 4 100%
slidge/db/__init__.py (no class) 3 0 0 100%
slidge/db/alembic/__init__.py (no class) 0 0 0 100%
slidge/db/alembic/env.py (no class) 22 22 0 0%
slidge/db/alembic/old_user_store.py EncryptedShelf 16 16 0 0%
slidge/db/alembic/old_user_store.py GatewayUser 6 6 0 0%
slidge/db/alembic/old_user_store.py UserStore 21 21 0 0%
slidge/db/alembic/old_user_store.py (no class) 45 45 0 0%
slidge/db/avatar.py CachedAvatar 3 1 0 67%
slidge/db/avatar.py NotModified 0 0 0 100%
slidge/db/avatar.py AvatarCache 73 10 0 86%
slidge/db/avatar.py (no class) 56 0 0 100%
slidge/db/meta.py JIDType 6 1 0 83%
slidge/db/meta.py JSONEncodedDict 6 0 0 100%
slidge/db/meta.py Base 0 0 0 100%
slidge/db/meta.py (no class) 23 2 0 91%
slidge/db/models.py XmppToLegacyEnum 0 0 0 100%
slidge/db/models.py ArchivedMessageSource 0 0 0 100%
slidge/db/models.py GatewayUser 4 3 0 25%
slidge/db/models.py Avatar 0 0 0 100%
slidge/db/models.py Contact 0 0 0 100%
slidge/db/models.py ContactSent 0 0 0 100%
slidge/db/models.py Room 0 0 0 100%
slidge/db/models.py ArchivedMessage 0 0 0 100%
slidge/db/models.py XmppToLegacyIds 0 0 0 100%
slidge/db/models.py Attachment 0 0 0 100%
slidge/db/models.py LegacyIdsMulti 0 0 0 100%
slidge/db/models.py XmppIdsMulti 0 0 0 100%
slidge/db/models.py Hat 0 0 0 100%
slidge/db/models.py Participant 0 0 0 100%
slidge/db/models.py Bob 0 0 0 100%
slidge/db/models.py (no class) 185 0 0 100%
slidge/db/store.py EngineMixin 9 0 0 100%
slidge/db/store.py UpdatedMixin 6 0 0 100%
slidge/db/store.py SlidgeStore 11 0 0 100%
slidge/db/store.py UserStore 26 4 0 85%
slidge/db/store.py AvatarStore 9 0 0 100%
slidge/db/store.py SentStore 30 3 0 90%
slidge/db/store.py ContactStore 86 10 0 88%
slidge/db/store.py MAMStore 87 11 0 87%
slidge/db/store.py MultiStore 25 1 0 96%
slidge/db/store.py AttachmentStore 22 4 0 82%
slidge/db/store.py RoomStore 77 18 0 77%
slidge/db/store.py ParticipantStore 62 6 0 90%
slidge/db/store.py BobStore 66 27 0 59%
slidge/db/store.py (no class) 150 0 4 100%
slidge/group/__init__.py (no class) 5 0 0 100%
slidge/group/archive.py MessageArchive 43 2 0 95%
slidge/group/archive.py (no class) 30 1 2 97%
slidge/group/bookmarks.py LegacyBookmarks 69 11 1 84%
slidge/group/bookmarks.py (no class) 32 0 2 100%
slidge/group/participant.py LegacyParticipant 250 28 0 89%
slidge/group/participant.py (no class) 71 3 2 96%
slidge/group/room.py LegacyMUC 506 83 8 84%
slidge/group/room.py (no class) 168 3 3 98%
slidge/main.py MainConfig 7 2 0 71%
slidge/main.py SigTermInterrupt 0 0 0 100%
slidge/main.py (no class) 97 62 0 36%
slidge/migration.py (no class) 38 20 0 47%
slidge/slixfix/__init__.py (no class) 39 8 0 79%
slidge/slixfix/delivery_receipt.py DeliveryReceipt 12 0 0 100%
slidge/slixfix/delivery_receipt.py (no class) 8 0 2 100%
slidge/slixfix/link_preview/__init__.py (no class) 3 0 0 100%
slidge/slixfix/link_preview/link_preview.py LinkPreview 1 0 0 100%
slidge/slixfix/link_preview/link_preview.py (no class) 8 0 0 100%
slidge/slixfix/link_preview/stanza.py LinkPreview 19 1 0 95%
slidge/slixfix/link_preview/stanza.py OpenGraphMixin 0 0 0 100%
slidge/slixfix/link_preview/stanza.py Title 0 0 0 100%
slidge/slixfix/link_preview/stanza.py Description 0 0 0 100%
slidge/slixfix/link_preview/stanza.py Url 0 0 0 100%
slidge/slixfix/link_preview/stanza.py Image 0 0 0 100%
slidge/slixfix/link_preview/stanza.py Type_ 0 0 0 100%
slidge/slixfix/link_preview/stanza.py SiteName 0 0 0 100%
slidge/slixfix/link_preview/stanza.py (no class) 42 0 0 100%
slidge/slixfix/roster.py YesSet 2 2 0 0%
slidge/slixfix/roster.py RosterBackend 9 1 0 89%
slidge/slixfix/roster.py (no class) 13 0 2 100%
slidge/slixfix/xep_0077/__init__.py (no class) 4 0 0 100%
slidge/slixfix/xep_0077/register.py XEP_0077 114 79 0 31%
slidge/slixfix/xep_0077/register.py (no class) 42 8 0 81%
slidge/slixfix/xep_0077/stanza.py Register 21 19 0 10%
slidge/slixfix/xep_0077/stanza.py RegisterFeature 0 0 0 100%
slidge/slixfix/xep_0077/stanza.py (no class) 23 0 0 100%
slidge/slixfix/xep_0100/__init__.py (no class) 3 0 0 100%
slidge/slixfix/xep_0100/gateway.py XEP_0100 47 28 0 40%
slidge/slixfix/xep_0100/gateway.py (no class) 22 0 0 100%
slidge/slixfix/xep_0100/stanza.py Gateway 0 0 0 100%
slidge/slixfix/xep_0100/stanza.py (no class) 7 0 0 100%
slidge/slixfix/xep_0153/__init__.py (no class) 4 0 0 100%
slidge/slixfix/xep_0153/stanza.py VCardTempUpdate 7 2 0 71%
slidge/slixfix/xep_0153/stanza.py (no class) 9 0 0 100%
slidge/slixfix/xep_0153/vcard_avatar.py XEP_0153 1 0 0 100%
slidge/slixfix/xep_0153/vcard_avatar.py (no class) 12 0 0 100%
slidge/slixfix/xep_0264/__init__.py (no class) 3 0 0 100%
slidge/slixfix/xep_0264/stanza.py Thumbnail 4 2 0 50%
slidge/slixfix/xep_0264/stanza.py (no class) 20 4 0 80%
slidge/slixfix/xep_0264/thumbnail.py XEP_0264 1 0 0 100%
slidge/slixfix/xep_0264/thumbnail.py (no class) 10 0 0 100%
slidge/slixfix/xep_0292/__init__.py (no class) 3 0 0 100%
slidge/slixfix/xep_0292/vcard4.py VCard4Provider 1 0 0 100%
slidge/slixfix/xep_0292/vcard4.py (no class) 8 0 0 100%
slidge/slixfix/xep_0313/__init__.py (no class) 5 0 0 100%
slidge/slixfix/xep_0313/mam.py XEP_0313 104 94 0 10%
slidge/slixfix/xep_0313/mam.py (no class) 26 0 0 100%
slidge/slixfix/xep_0313/stanza.py MAM 61 22 0 64%
slidge/slixfix/xep_0313/stanza.py Fin 5 1 0 80%
slidge/slixfix/xep_0313/stanza.py Result 0 0 0 100%
slidge/slixfix/xep_0313/stanza.py Metadata 0 0 0 100%
slidge/slixfix/xep_0313/stanza.py Start 8 2 0 75%
slidge/slixfix/xep_0313/stanza.py End 8 2 0 75%
slidge/slixfix/xep_0313/stanza.py (no class) 65 0 0 100%
slidge/slixfix/xep_0317/__init__.py (no class) 3 0 0 100%
slidge/slixfix/xep_0317/hats.py XEP_0317 1 0 0 100%
slidge/slixfix/xep_0317/hats.py (no class) 8 0 0 100%
slidge/slixfix/xep_0317/stanza.py Hats 5 0 0 100%
slidge/slixfix/xep_0317/stanza.py Hat 0 0 0 100%
slidge/slixfix/xep_0317/stanza.py (no class) 15 0 0 100%
slidge/slixfix/xep_0356_old/__init__.py (no class) 5 0 0 100%
slidge/slixfix/xep_0356_old/privilege.py XEP_0356_OLD 31 12 0 61%
slidge/slixfix/xep_0356_old/privilege.py (no class) 27 0 0 100%
slidge/slixfix/xep_0356_old/stanza.py PrivilegeOld 10 10 0 0%
slidge/slixfix/xep_0356_old/stanza.py PermOld 0 0 0 100%
slidge/slixfix/xep_0356_old/stanza.py (no class) 22 0 0 100%
slidge/slixfix/xep_0424/__init__.py (no class) 3 0 0 100%
slidge/slixfix/xep_0424/retraction.py XEP_0424 14 12 0 14%
slidge/slixfix/xep_0424/retraction.py (no class) 19 0 0 100%
slidge/slixfix/xep_0424/stanza.py Retract 0 0 0 100%
slidge/slixfix/xep_0424/stanza.py Retracted 0 0 0 100%
slidge/slixfix/xep_0424/stanza.py (no class) 17 0 0 100%
slidge/slixfix/xep_0490/__init__.py (no class) 5 0 0 100%
slidge/slixfix/xep_0490/mds.py XEP_0490 6 4 0 33%
slidge/slixfix/xep_0490/mds.py (no class) 20 0 0 100%
slidge/slixfix/xep_0490/stanza.py Displayed 0 0 0 100%
slidge/slixfix/xep_0490/stanza.py (no class) 12 0 0 100%
slidge/util/__init__.py (no class) 2 0 0 100%
slidge/util/archive_msg.py HistoryMessage 22 0 0 100%
slidge/util/archive_msg.py (no class) 16 0 0 100%
slidge/util/conf.py Option 38 1 0 97%
slidge/util/conf.py ConfigModule 57 2 0 96%
slidge/util/conf.py (no class) 46 0 0 100%
slidge/util/db.py (no class) 1 1 0 0%
slidge/util/test.py SlixTestPlus 60 13 0 78%
slidge/util/test.py SlidgeTest 78 4 0 95%
slidge/util/test.py SlidgeTest.Config 0 0 0 100%
slidge/util/test.py (no class) 73 2 0 97%
slidge/util/types.py URL 0 0 0 100%
slidge/util/types.py MessageReference 0 0 0 100%
slidge/util/types.py LegacyAttachment 2 1 0 50%
slidge/util/types.py MucType 0 0 0 100%
slidge/util/types.py ResourceDict 0 0 0 100%
slidge/util/types.py LinkPreview 0 0 0 100%
slidge/util/types.py Mention 0 0 0 100%
slidge/util/types.py Hat 0 0 0 100%
slidge/util/types.py UserPreferences 0 0 0 100%
slidge/util/types.py MamMetadata 0 0 0 100%
slidge/util/types.py HoleBound 0 0 0 100%
slidge/util/types.py CachedPresence 0 0 0 100%
slidge/util/types.py Sticker 0 0 0 100%
slidge/util/types.py (no class) 95 0 6 100%
slidge/util/util.py SubclassableOnce 20 0 0 100%
slidge/util/util.py ABCSubclassableOnceAtMost 0 0 0 100%
slidge/util/util.py SlidgeLogger 1 1 0 0%
slidge/util/util.py (no class) 153 45 2 71%
Total   8443 1708 111 80%

No items found using the specified filter.