Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TODO.pylint - github.com/Jajcus/pyxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 31d3c7054590541931df3419690386f628d9c851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
************* Module pyxmpp.xmppstringprep
I0011: 18: Locally disabling 'W0402'
************* Module pyxmpp.cache
W0511:563: TODO: optimize somehow.
************* Module pyxmpp.streamsasl
I0011: 17: Locally disabling 'W0201'
************* Module pyxmpp.jid
I0011: 17: Locally disabling 'W0232'
I0011: 17: Locally disabling 'E0201'
************* Module pyxmpp.xmlextra
I0011: 17: Locally disabling 'C0103'
I0011: 17: Locally disabling 'W0132'
I0011: 17: Locally disabling 'W0611'
************* Module pyxmpp.streambase
I0011: 17: Locally disabling 'W0201'
************* Module pyxmpp.clientstream
I0011: 17: Locally disabling 'W0221'
W0511:349: FIXME: that should be the hostname choosen from SRV records found.
************* Module pyxmpp.all
I0011: 17: Locally disabling 'W0611'
************* Module pyxmpp.objects
I0011: 17: Locally disabling 'W0232'
I0011: 17: Locally disabling 'E0201'
************* Module pyxmpp.streamtls
I0011: 17: Locally disabling 'W0201'
************* Module pyxmpp.version
I0011:  1: Locally disabling 'W0103'
I0011:  1: Locally disabling 'W0131'
************* Module pyxmpp._xmlextra
I0001:  0: Unable to run raw checkers on built-in module pyxmpp._xmlextra
W0103:  0: Missing required attribute "__revision__"
W0131:  0:remove_ns: Missing docstring
W0131:  0:replace_ns: Missing docstring
W0131:  0:sax_reader_new: Missing docstring
************* Module pyxmpp.jabber.muc
W0302:  0: Too many lines in module (1020)
W0511:639: TODO: kicks
W0511:691: TODO: ProtocolError
W0511:698: TODO: ProtocolError
************* Module pyxmpp.jabber.muccore
W0511:203: TODO: since -- requires parsing of Jabber dateTime profile
W0511:508: FIXME: alt,decline,invite,password
W0511:549: FIXME: implement
************* Module pyxmpp.jabber.all
I0011: 17: Locally disabling 'W0611'
************* Module pyxmpp.jabber.simple
I0011: 17: Locally disabling 'W0232'
I0011: 17: Locally disabling 'E0201'
************* Module pyxmpp.jabber.disco
I0011: 17: Locally disabling 'W0201'
************* Module pyxmpp.jabber.vcard
I0011: 17: Locally disabling 'W0302'
W0511:1326: FIXME: agent field
************* Module pyxmpp.jabberd.all
I0011: 17: Locally disabling 'W0611'
************* Module pyxmpp.jabberd.componentstream
I0011: 17: Locally disabling 'W0221'
I0011: 17: Locally disabling 'W0201'
************* Module pyxmpp.sasl.core
W0511:188: FIXME: use some better RNG (/dev/urandom maybe)


Report
======
6811 statements analysed.

Duplication
-----------

                         now   previous difference 
:::::::::::::::::::::::::::::::::::::::::::::::::::
nb duplicated lines      0     0        =          
percent duplicated lines 0.000 0.000    =          


Raw metrics
-----------

type      number %     previous difference 
:::::::::::::::::::::::::::::::::::::::::::
code      7493   47.76 7493     =          
docstring 6433   41.01 6433     =          
comment   770    4.91  770      =          
empty     992    6.32  992      =          


External dependencies
---------------------
::

    stringprep (pyxmpp.xmppstringprep)
    random (pyxmpp.streambase,pyxmpp.stanza,pyxmpp.resolver,pyxmpp.sasl.core,pyxmpp.sasl)
    logging (pyxmpp.streamsasl,pyxmpp.streambase,pyxmpp.clientstream,pyxmpp.client,pyxmpp.stream,pyxmpp.streamtls,pyxmpp.stanzaprocessor,pyxmpp.jabber.muc,pyxmpp.jabber.clientstream,pyxmpp.jabber.client,pyxmpp.jabber.register,pyxmpp.jabberd.component,pyxmpp.jabberd.componentstream,pyxmpp.sasl.plain,pyxmpp.sasl.core,pyxmpp.sasl.digest_md5)
    socket (pyxmpp.streambase,pyxmpp.resolver,pyxmpp.streamtls)
    warnings (pyxmpp.jid)
    libxml2 (pyxmpp.roster,pyxmpp.presence,pyxmpp.xmlextra,pyxmpp.streambase,pyxmpp.stanza,pyxmpp.message,pyxmpp.objects,pyxmpp.stanzaprocessor,pyxmpp.iq,pyxmpp.error,pyxmpp.jabber.dataforms,pyxmpp.jabber.muccore,pyxmpp.jabber.delay,pyxmpp.jabber.disco,pyxmpp.jabber.vcard,pyxmpp.jabber.register)
    base64 (pyxmpp.streamsasl,pyxmpp.jabber.vcard)
    weakref (pyxmpp.jid,pyxmpp.jabber.muc)
    threading (pyxmpp.cache,pyxmpp.xmlextra,pyxmpp.streambase,pyxmpp.client,pyxmpp.expdict,pyxmpp.stanzaprocessor,pyxmpp.jabberd.component)
    M2Crypto 
      \-X509 (pyxmpp.streamtls)
      \-SSL (pyxmpp.streamtls)
      | \-cb (pyxmpp.streamtls)
      | \-Context (pyxmpp.streamtls)
      \-m2 (pyxmpp.streamtls)
    dns 
      \-exception (pyxmpp.resolver)
      \-name (pyxmpp.resolver)
      \-resolver (pyxmpp.resolver)
    encodings 
      \-idna (pyxmpp.jid,pyxmpp.resolver)
    re (pyxmpp.jid,pyxmpp.xmlextra,pyxmpp.resolver,pyxmpp.jabber.vcard,pyxmpp.sasl.digest_md5)
    copy (pyxmpp.jabber.dataforms)
    os (pyxmpp.streambase)



Modules dependencies graph
--------------------------
external imports graph has been written to ext_import_graph
internal imports graph has been written to int_import_graph


Statistics by type
------------------

type     number old number difference %documented %badname 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
module   45     45         =          97.78       0.00     
class    125    125        =          100.00      0.00     
method   679    679        =          98.53       0.74     
function 47     47         =          93.62       0.00     


Total errors / warnings
-----------------------

type       number previous difference 
::::::::::::::::::::::::::::::::::::::
convention 0      0        =          
refactor   0      0        =          
warning    15     15       =          
error      0      3        -3.00      


% errors / warnings by module
-----------------------------

module                error warning refactor convention 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::
pyxmpp.jabber.muc     0.00  26.67   0.00     0.00       
pyxmpp._xmlextra      0.00  26.67   0.00     0.00       
pyxmpp.jabber.muccore 0.00  20.00   0.00     0.00       
pyxmpp.sasl.core      0.00  6.67    0.00     0.00       
pyxmpp.jabber.vcard   0.00  6.67    0.00     0.00       
pyxmpp.clientstream   0.00  6.67    0.00     0.00       
pyxmpp.cache          0.00  6.67    0.00     0.00       


Messages
--------

message id occurences 
::::::::::::::::::::::
W0511      10         
W0131      3          
W0302      1          
W0103      1          


Global evaluation
-----------------
Your code has been rated at 9.98/10 (previous run: 9.96/10)