Report

106 statements analysed.

External dependencies

Acquisition 
  \-aq_inner (collective.disqus.viewlets.content)
Products 
  \-CMFPlone 
    \-interfaces 
      \-IPloneSiteRoot (collective.disqus.browser.configlet)
collective 
  \-disqus (collective.disqus.testing)
    \-browser 
    | \-configlet 
    |   \-IDisqusSettings (collective.disqus.viewlets.content,collective.disqus.browser.summary)
    \-testing 
      \-DISQUS_INTEGRATION_TESTING (collective.disqus.tests.test_integration)

Modules dependencies graph

imports graph has been written to /Users/rok/Projects/garbas/collective.disqus/docs/pylint_disqus.dot

external imports graph has been written to /Users/rok/Projects/garbas/collective.disqus/docs/pylint_disqus_external.dot

internal imports graph has been written to /Users/rok/Projects/garbas/collective.disqus/docs/pylint_disqus_internal.dot

Raw metrics

type number % previous difference
code 136 65.07 136 =
docstring 34 16.27 34 =
comment 8 3.83 8 =
empty 31 14.83 31 =

Duplication

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

Statistics by type

type number old number difference %documented %badname
module 9 9 = 0.00 0.00
class 7 7 = 71.43 0.00
method 9 9 = 22.22 33.33
function 2 2 = 0.00 0.00

Messages by category

type number previous difference
convention 25 25 =
refactor 7 7 =
warning 19 19 =
error 39 39 =

% errors / warnings by module

module error warning refactor convention
collective.disqus.tests.test_integration 33.33 42.11 0.00 36.00
collective.disqus.browser.configlet 20.51 15.79 42.86 4.00
collective.disqus.testing 20.51 10.53 28.57 32.00
collective.disqus.viewlets.content 17.95 15.79 14.29 4.00
collective.disqus.browser.summary 7.69 10.53 14.29 4.00
collective.disqus 0.00 5.26 0.00 8.00

Messages

message id occurrences
F0401 26
E0611 25
C0111 19
E1101 13
W0232 7
W0212 7
R0903 5
C0103 5
W0201 3
W0613 2
R0201 2
E1002 1
C0112 1

Global evaluation

Your code has been rated at -13.21/10 (previous run: -13.21/10)

Messages

type module object line message
C collective.disqus   1 Missing docstring
C collective.disqus initialize 3 Empty docstring
W collective.disqus initialize 3 Unused argument 'context'
C collective.disqus.testing   1 Missing docstring
E collective.disqus.testing   3 No name 'testing' in module 'plone.app'
F collective.disqus.testing   3 Unable to import 'plone.app.testing'
E collective.disqus.testing   4 No name 'testing' in module 'plone.app'
F collective.disqus.testing   4 Unable to import 'plone.app.testing'
E collective.disqus.testing   5 No name 'testing' in module 'plone.app'
F collective.disqus.testing   5 Unable to import 'plone.app.testing'
E collective.disqus.testing   6 No name 'testing' in module 'plone.app'
F collective.disqus.testing   6 Unable to import 'plone.app.testing'
E collective.disqus.testing   7 No name 'testing' in module 'plone.app'
F collective.disqus.testing   7 Unable to import 'plone.app.testing'
E collective.disqus.testing   8 No name 'testing' in module 'plone.app'
F collective.disqus.testing   8 Unable to import 'plone.app.testing'
E collective.disqus.testing   9 No name 'testing' in module 'plone.app'
F collective.disqus.testing   9 Unable to import 'plone.app.testing'
E collective.disqus.testing   11 No name 'configuration' in module 'zope'
F collective.disqus.testing   11 Unable to import 'zope.configuration'
W collective.disqus.testing DisqusFixture 14 Class has no __init__ method
C collective.disqus.testing DisqusFixture 14 Missing docstring
C collective.disqus.testing DisqusFixture.setUpZope 18 Missing docstring
C collective.disqus.testing DisqusFixture.setUpZope 18 Invalid name "setUpZope" (should match [a-z_][a-z0-9_]{2,30}$)
C collective.disqus.testing DisqusFixture.setUpZope 18 Invalid name "configurationContext" (should match [a-z_][a-z0-9_]{2,30}$)
C collective.disqus.testing DisqusFixture.setUpZope 18 Invalid name "configurationContext" (should match [a-z_][a-z0-9_]{2,30}$)
R collective.disqus.testing DisqusFixture.setUpZope 18 Method could be a function
W collective.disqus.testing DisqusFixture.setUpZope 18 Unused argument 'app'
C collective.disqus.testing DisqusFixture.setUpPloneSite 23 Missing docstring
C collective.disqus.testing DisqusFixture.setUpPloneSite 23 Invalid name "setUpPloneSite" (should match [a-z_][a-z0-9_]{2,30}$)
R collective.disqus.testing DisqusFixture.setUpPloneSite 23 Method could be a function
C collective.disqus.browser   1 Missing docstring
C collective.disqus.browser.configlet   1 Missing docstring
E collective.disqus.browser.configlet   1 No name 'controlpanel' in module 'plone.app'
F collective.disqus.browser.configlet   1 Unable to import 'plone.app.controlpanel.form'
E collective.disqus.browser.configlet   2 No name 'component' in module 'zope'
F collective.disqus.browser.configlet   2 Unable to import 'zope.component'
E collective.disqus.browser.configlet   3 No name 'schema' in module 'zope'
F collective.disqus.browser.configlet   3 Unable to import 'zope.schema'
E collective.disqus.browser.configlet   4 No name 'formlib' in module 'zope'
F collective.disqus.browser.configlet   4 Unable to import 'zope.formlib.form'
E collective.disqus.browser.configlet   5 No name 'i18nmessageid' in module 'zope'
F collective.disqus.browser.configlet   5 Unable to import 'zope.i18nmessageid'
E collective.disqus.browser.configlet   6 No name 'interface' in module 'zope'
F collective.disqus.browser.configlet   6 Unable to import 'zope.interface'
E collective.disqus.browser.configlet   8 No name 'CMFDefault' in module 'Products'
F collective.disqus.browser.configlet   8 Unable to import 'Products.CMFDefault.formlib.schema'
E collective.disqus.browser.configlet   9 No name 'CMFDefault' in module 'Products'
F collective.disqus.browser.configlet   9 Unable to import 'Products.CMFDefault.formlib.schema'
W collective.disqus.browser.configlet IDisqusSettings 15 Class has no __init__ method
R collective.disqus.browser.configlet IDisqusSettings 15 Too few public methods (0/2)
W collective.disqus.browser.configlet DisqusControlPanel 33 Class has no __init__ method
R collective.disqus.browser.configlet DisqusControlPanel 33 Too few public methods (0/2)
W collective.disqus.browser.configlet DisqusControlPanelAdapter 43 Class has no __init__ method
R collective.disqus.browser.configlet DisqusControlPanelAdapter 43 Too few public methods (0/2)
C collective.disqus.browser.summary   1 Missing docstring
E collective.disqus.browser.summary   3 No name 'Five' in module 'Products'
F collective.disqus.browser.summary   3 Unable to import 'Products.Five.browser'
E collective.disqus.browser.summary   4 No name 'CMFCore' in module 'Products'
F collective.disqus.browser.summary   4 Unable to import 'Products.CMFCore.utils'
W collective.disqus.browser.summary Summary 9 Class has no __init__ method
E collective.disqus.browser.summary Summary.render_js_settings 19 Instance of 'Summary' has no 'context' member
W collective.disqus.browser.summary Summary.render_js_settings 21 Attribute 'settings' defined outside __init__
R collective.disqus.browser.summary Summary 9 Too few public methods (1/2)
C collective.disqus.tests   1 Missing docstring
C collective.disqus.tests.test_integration   1 Missing docstring
F collective.disqus.tests.test_integration   2 Unable to import 'unittest2'
E collective.disqus.tests.test_integration   4 No name 'component' in module 'zope'
F collective.disqus.tests.test_integration   4 Unable to import 'zope.component'
E collective.disqus.tests.test_integration   5 No name 'schema' in module 'zope'
F collective.disqus.tests.test_integration   5 Unable to import 'zope.schema.interfaces'
E collective.disqus.tests.test_integration   7 No name 'viewletmanager' in module 'plone.app'
F collective.disqus.tests.test_integration   7 Unable to import 'plone.app.viewletmanager.interfaces'
E collective.disqus.tests.test_integration   8 No name 'testing' in module 'plone.app'
F collective.disqus.tests.test_integration   8 Unable to import 'plone.app.testing'
W collective.disqus.tests.test_integration Test 13 Class has no __init__ method
C collective.disqus.tests.test_integration Test 13 Missing docstring
C collective.disqus.tests.test_integration Test.setUp 17 Missing docstring
C collective.disqus.tests.test_integration Test.setUp 17 Invalid name "setUp" (should match [a-z_][a-z0-9_]{2,30}$)
C collective.disqus.tests.test_integration Test.uninstall 20 Missing docstring
C collective.disqus.tests.test_integration Test.test_displayviews 23 Missing docstring
E collective.disqus.tests.test_integration Test.test_displayviews 26 Instance of 'Test' has no 'assertIn' member
E collective.disqus.tests.test_integration Test.test_displayviews 28 Instance of 'Test' has no 'assertIn' member
E collective.disqus.tests.test_integration Test.test_displayviews 33 Instance of 'Test' has no 'assertNotIn' member
E collective.disqus.tests.test_integration Test.test_displayviews 35 Instance of 'Test' has no 'assertNotIn' member
C collective.disqus.tests.test_integration Test.test_viewlets 38 Missing docstring
W collective.disqus.tests.test_integration Test.test_viewlets 45 Access to a protected member _hidden of a client class
W collective.disqus.tests.test_integration Test.test_viewlets 46 Access to a protected member _hidden of a client class
E collective.disqus.tests.test_integration Test.test_viewlets 47 Instance of 'Test' has no 'assertIn' member
W collective.disqus.tests.test_integration Test.test_viewlets 48 Access to a protected member _hidden of a client class
W collective.disqus.tests.test_integration Test.test_viewlets 55 Access to a protected member _hidden of a client class
W collective.disqus.tests.test_integration Test.test_viewlets 56 Access to a protected member _hidden of a client class
E collective.disqus.tests.test_integration Test.test_viewlets 57 Instance of 'Test' has no 'assertNotIn' member
W collective.disqus.tests.test_integration Test.test_viewlets 58 Access to a protected member _hidden of a client class
E collective.disqus.tests.test_integration Test.test_viewlets 59 Instance of 'Test' has no 'assertIn' member
W collective.disqus.tests.test_integration Test.test_viewlets 60 Access to a protected member _hidden of a client class
C collective.disqus.tests.test_integration Test.test_controlpanel 62 Missing docstring
E collective.disqus.tests.test_integration Test.test_controlpanel 64 Instance of 'Test' has no 'assertEqual' member
E collective.disqus.tests.test_integration Test.test_controlpanel 67 Instance of 'Test' has no 'assertEqual' member
C collective.disqus.tests.test_integration test_suite 71 Missing docstring
C collective.disqus.viewlets   1 Missing docstring
C collective.disqus.viewlets.content   1 Missing docstring
E collective.disqus.viewlets.content   4 No name 'CMFCore' in module 'Products'
F collective.disqus.viewlets.content   4 Unable to import 'Products.CMFCore.utils'
E collective.disqus.viewlets.content   5 No name 'Five' in module 'Products'
F collective.disqus.viewlets.content   5 Unable to import 'Products.Five.browser.pagetemplatefile'
E collective.disqus.viewlets.content   6 No name 'layout' in module 'plone.app'
F collective.disqus.viewlets.content   6 Unable to import 'plone.app.layout.viewlets'
W collective.disqus.viewlets.content DisqusViewlet 11 Class has no __init__ method
E collective.disqus.viewlets.content DisqusViewlet.update 18 Use super on an old style class
E collective.disqus.viewlets.content DisqusViewlet.update 23 Instance of 'DisqusViewlet' has no 'context' member
E collective.disqus.viewlets.content DisqusViewlet.update 30 Instance of 'DisqusViewlet' has no 'context' member
E collective.disqus.viewlets.content DisqusViewlet.update 32 Instance of 'DisqusViewlet' has no 'context' member
W collective.disqus.viewlets.content DisqusViewlet.update 34 Attribute 'settings' defined outside __init__
W collective.disqus.viewlets.content DisqusViewlet.update 28 Attribute 'is_discussion_allowed' defined outside __init__
R collective.disqus.viewlets.content DisqusViewlet 11 Too few public methods (1/2)