Debian Automated Code Analysis

pyflakes analysis of python-dolfin_0.9.9-4_i386.deb

./usr/share/pyshared/dolfin/cpp.py:2652: 'uint0' imported but unused
./usr/share/pyshared/dolfin/cpp.py:2652: 'arange' imported but unused
./usr/share/pyshared/dolfin/cpp.py:5388: undefined name 'dolfin_error'
./usr/share/pyshared/dolfin/__init__.py:13: 'cpp' imported but unused
./usr/share/pyshared/dolfin/__init__.py:23: 'from ufl import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:26: 'info_green' imported but unused
./usr/share/pyshared/dolfin/__init__.py:26: 'info_red' imported but unused
./usr/share/pyshared/dolfin/__init__.py:26: 'info_blue' imported but unused
./usr/share/pyshared/dolfin/__init__.py:29: 'from dolfin.common.globalparameters import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:30: 'from dolfin.common.constants import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:31: 'from dolfin.common.logger import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:32: 'from dolfin.common.plot import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:33: 'from dolfin.common.time import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:34: 'from dolfin.common.memory import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:36: 'compile_extension_module' imported but unused
./usr/share/pyshared/dolfin/__init__.py:37: 'compile_expressions' imported but unused
./usr/share/pyshared/dolfin/__init__.py:38: 'compile_subdomains' imported but unused
./usr/share/pyshared/dolfin/__init__.py:39: 'jit' imported but unused
./usr/share/pyshared/dolfin/__init__.py:41: 'from dolfin.function.functionspace import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:42: 'from dolfin.function.function import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:43: 'from dolfin.function.constant import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:44: 'from dolfin.function.expression import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:45: 'from dolfin.function.specialfunctions import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:47: 'from dolfin.fem.form import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:48: 'from dolfin.fem.assemble import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:49: 'from dolfin.fem.variationalproblem import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:50: 'from dolfin.fem.norm import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:51: 'from dolfin.fem.project import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:52: 'from dolfin.fem.interpolate import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:53: 'from dolfin.fem.errornorm import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:54: 'from dolfin.fem.bcs import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:56: 'from dolfin.mesh.ale import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:57: 'from dolfin.mesh.refine import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:58: 'from dolfin.mesh.meshfunction import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:60: 'from dolfin.adaptivity.adaptive import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/__init__.py:63: 'Scalar' imported but unused
./usr/share/pyshared/dolfin/__init__.py:63: 'GenericVector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:63: 'Vector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:63: 'Matrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:63: 'GenericMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:64: 'LUSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:64: 'LinearSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:64: 'KrylovSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:64: 'SingularSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:65: 'BlockVector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:65: 'BlockMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:69: 'File' imported but unused
./usr/share/pyshared/dolfin/__init__.py:73: 'LobattoQuadrature' imported but unused
./usr/share/pyshared/dolfin/__init__.py:73: 'RadauQuadrature' imported but unused
./usr/share/pyshared/dolfin/__init__.py:73: 'GaussQuadrature' imported but unused
./usr/share/pyshared/dolfin/__init__.py:74: 'BoundaryMesh' imported but unused
./usr/share/pyshared/dolfin/__init__.py:74: 'SubMesh' imported but unused
./usr/share/pyshared/dolfin/__init__.py:74: 'Mesh' imported but unused
./usr/share/pyshared/dolfin/__init__.py:74: 'MeshEditor' imported but unused
./usr/share/pyshared/dolfin/__init__.py:74: 'MeshFunction' imported but unused
./usr/share/pyshared/dolfin/__init__.py:77: 'Vertex' imported but unused
./usr/share/pyshared/dolfin/__init__.py:77: 'Facet' imported but unused
./usr/share/pyshared/dolfin/__init__.py:77: 'Cell' imported but unused
./usr/share/pyshared/dolfin/__init__.py:77: 'Face' imported but unused
./usr/share/pyshared/dolfin/__init__.py:77: 'Edge' imported but unused
./usr/share/pyshared/dolfin/__init__.py:77: 'Point' imported but unused
./usr/share/pyshared/dolfin/__init__.py:78: 'facets' imported but unused
./usr/share/pyshared/dolfin/__init__.py:78: 'faces' imported but unused
./usr/share/pyshared/dolfin/__init__.py:78: 'cells' imported but unused
./usr/share/pyshared/dolfin/__init__.py:78: 'edges' imported but unused
./usr/share/pyshared/dolfin/__init__.py:78: 'vertices' imported but unused
./usr/share/pyshared/dolfin/__init__.py:79: 'DomainBoundary' imported but unused
./usr/share/pyshared/dolfin/__init__.py:79: 'SubDomain' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'UnitSquare' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'UnitSphere' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'UnitCube' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'UnitInterval' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'UnitCircle' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'Box' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'Rectangle' imported but unused
./usr/share/pyshared/dolfin/__init__.py:80: 'Interval' imported but unused
./usr/share/pyshared/dolfin/__init__.py:83: 'IntersectionOperator' imported but unused
./usr/share/pyshared/dolfin/__init__.py:84: 'do_intersect' imported but unused
./usr/share/pyshared/dolfin/__init__.py:85: 'do_intersect_exact' imported but unused
./usr/share/pyshared/dolfin/__init__.py:89: 'Assembler' imported but unused
./usr/share/pyshared/dolfin/__init__.py:90: 'SystemAssembler' imported but unused
./usr/share/pyshared/dolfin/__init__.py:91: 'SubSpace' imported but unused
./usr/share/pyshared/dolfin/__init__.py:93: 'NonlinearProblem' imported but unused
./usr/share/pyshared/dolfin/__init__.py:93: 'NewtonSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:94: 'ODE' imported but unused
./usr/share/pyshared/dolfin/__init__.py:96: 'Progress' imported but unused
./usr/share/pyshared/dolfin/__init__.py:96: 'Event' imported but unused
./usr/share/pyshared/dolfin/__init__.py:96: 'Timer' imported but unused
./usr/share/pyshared/dolfin/__init__.py:96: 'Table' imported but unused
./usr/share/pyshared/dolfin/__init__.py:97: 'MPI' imported but unused
./usr/share/pyshared/dolfin/__init__.py:99: 'Parameters' imported but unused
./usr/share/pyshared/dolfin/__init__.py:100: 'TimeSeries' imported but unused
./usr/share/pyshared/dolfin/__init__.py:103: 'summary' imported but unused
./usr/share/pyshared/dolfin/__init__.py:103: 'tic' imported but unused
./usr/share/pyshared/dolfin/__init__.py:103: 'toc' imported but unused
./usr/share/pyshared/dolfin/__init__.py:104: 'residual' imported but unused
./usr/share/pyshared/dolfin/__init__.py:104: 'normalize' imported but unused
./usr/share/pyshared/dolfin/__init__.py:104: 'solve' imported but unused
./usr/share/pyshared/dolfin/__init__.py:105: 'down_cast' imported but unused
./usr/share/pyshared/dolfin/__init__.py:108: 'hermite' imported but unused
./usr/share/pyshared/dolfin/__init__.py:108: 'harmonic' imported but unused
./usr/share/pyshared/dolfin/__init__.py:108: 'lagrange' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_mpi' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_scotch' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_slepc' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_cgal' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_gmp' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_zlib' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_cholmod' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_parmetis' imported but unused
./usr/share/pyshared/dolfin/__init__.py:111: 'has_umfpack' imported but unused
./usr/share/pyshared/dolfin/__init__.py:116: 'DefaultFactory' imported but unused
./usr/share/pyshared/dolfin/__init__.py:120: 'uBLASVector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:120: 'uBLASSparseMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:120: 'uBLASDenseMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:121: 'uBLASDenseFactory' imported but unused
./usr/share/pyshared/dolfin/__init__.py:121: 'uBLASSparseFactory' imported but unused
./usr/share/pyshared/dolfin/__init__.py:122: 'uBLASDenseFactory_instance' imported but unused
./usr/share/pyshared/dolfin/__init__.py:122: 'uBLASSparseFactory_instance' imported but unused
./usr/share/pyshared/dolfin/__init__.py:124: 'uBLASKrylovMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:124: 'uBLASKrylovSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:128: 'PETScVector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:128: 'PETScFactory' imported but unused
./usr/share/pyshared/dolfin/__init__.py:128: 'PETScMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:128: 'PETScFactory_instance' imported but unused
./usr/share/pyshared/dolfin/__init__.py:130: 'PETScPreconditioner' imported but unused
./usr/share/pyshared/dolfin/__init__.py:130: 'PETScKrylovMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:130: 'PETScKrylovSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:131: 'PETScLUSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:135: 'EpetraVector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:135: 'EpetraFactory_instance' imported but unused
./usr/share/pyshared/dolfin/__init__.py:135: 'EpetraMatrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:135: 'EpetraFactory' imported but unused
./usr/share/pyshared/dolfin/__init__.py:137: 'TrilinosPreconditioner' imported but unused
./usr/share/pyshared/dolfin/__init__.py:137: 'EpetraKrylovSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:138: 'EpetraLUSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:142: 'MTL4Vector' imported but unused
./usr/share/pyshared/dolfin/__init__.py:142: 'MTL4Matrix' imported but unused
./usr/share/pyshared/dolfin/__init__.py:142: 'MTL4Factory_instance' imported but unused
./usr/share/pyshared/dolfin/__init__.py:142: 'MTL4Factory' imported but unused
./usr/share/pyshared/dolfin/__init__.py:147: 'SLEPcEigenSolver' imported but unused
./usr/share/pyshared/dolfin/__init__.py:180: redefinition of unused 'types' from line 156
./usr/share/pyshared/dolfin/function/functionspace.py:15: 'copy' imported but unused
./usr/share/pyshared/dolfin/function/ufc_functionspace.py:10: undefined name 'finite_element'
./usr/share/pyshared/dolfin/function/ufc_functionspace.py:10: undefined name 'dof_map'
./usr/share/pyshared/dolfin/common/logger.py:1: 'info' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'begin' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'end' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'get_log_level' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'set_log_level' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'summary' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'warning' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'error' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'timing' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'logging' imported but unused
./usr/share/pyshared/dolfin/common/logger.py:1: 'not_working_in_parallel' imported but unused
./usr/share/pyshared/dolfin/common/plot.py:14: 'DoNothing' imported but unused
./usr/share/pyshared/dolfin/common/plot.py:17: undefined name 'save_plot' in __all__
./usr/share/pyshared/dolfin/common/plot.py:17: undefined name 'interactive' in __all__
./usr/share/pyshared/dolfin/common/plot.py:17: undefined name 'update' in __all__
./usr/share/pyshared/dolfin/common/plot.py:17: undefined name 'figure' in __all__
./usr/share/pyshared/dolfin/common/plot.py:17: undefined name 'Viper' in __all__
./usr/share/pyshared/dolfin/compilemodules/jit.py:15: 'info' imported but unused
./usr/share/pyshared/dolfin/compilemodules/jit.py:22: 'get_swig_version' imported but unused
./usr/share/pyshared/dolfin/compilemodules/subdomains.py:9: 'os' imported but unused
./usr/share/pyshared/dolfin/compilemodules/subdomains.py:11: 'numpy' imported but unused
./usr/share/pyshared/dolfin/compilemodules/subdomains.py:12: 'instant' imported but unused
./usr/share/pyshared/dolfin/compilemodules/__init__.py:105: local variable 'dolfin_include_found' is assigned to but never used
./usr/share/pyshared/dolfin/compilemodules/__init__.py:245: local variable 'type_str' is assigned to but never used
./usr/share/pyshared/dolfin/compilemodules/__init__.py:255: local variable 'argtype_str' is assigned to but never used
./usr/share/pyshared/dolfin/compilemodules/expressions.py:13: 'instant' imported but unused
./usr/share/pyshared/dolfin/mesh/meshconvert.py:17: 'getopt' imported but unused
./usr/share/pyshared/dolfin/mesh/meshconvert.py:19: 'getoutput' imported but unused
./usr/share/pyshared/dolfin/mesh/meshconvert.py:990: undefined name 'error'
./usr/share/pyshared/dolfin/mesh/meshconvert.py:1010: undefined name 'error'
./usr/share/pyshared/dolfin/mesh/meshconvert.py:1041: local variable 'num_vertices_read' is assigned to but never used
./usr/share/pyshared/dolfin/mesh/meshconvert.py:1048: undefined name 'error'
./usr/share/pyshared/dolfin/mesh/boundarysubdomainfinder.py:7: 'from dolfin import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/mesh/boundarysubdomainfinder.py:8: 'numpy' imported but unused
./usr/share/pyshared/dolfin/mesh/boundarysubdomainfinder.py:37: local variable 'next' is assigned to but never used
./usr/share/pyshared/dolfin/mesh/boundarysubdomainfinder.py:112: local variable 'e' is assigned to but never used
./usr/share/pyshared/dolfin/docstrings/__init__.py:1: 'dolfin' imported but unused
./usr/share/pyshared/dolfin/docstrings/dolfin/__init__.py:2: 'cpp' imported but unused
./usr/share/pyshared/dolfin/fem/errornorm.py:10: 'VectorElement' imported but unused
./usr/share/pyshared/dolfin/fem/errornorm.py:10: 'FiniteElement' imported but unused
./usr/share/pyshared/dolfin/fem/errornorm.py:14: 'Vector' imported but unused
./usr/share/pyshared/dolfin/fem/project.py:16: 'from dolfin.function.function import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/fem/project.py:17: 'from dolfin.function.expression import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/fem/project.py:18: 'from dolfin.function.functionspace import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/fem/project.py:19: 'from dolfin.fem.assemble import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/fem/assemble.py:31: 'from dolfin.fem.form import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/fem/variationalproblem.py:21: 'from dolfin.fem.form import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/fem/variationalproblem.py:22: 'from dolfin.function.function import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/errorestimators.py:23: 'from dolfin.adaptivity.residual import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/updates.py:7: 'plot' imported but unused
./usr/share/pyshared/dolfin/adaptivity/updates.py:7: 'interactive' imported but unused
./usr/share/pyshared/dolfin/adaptivity/updates.py:8: 'FunctionSpaceFromCpp' imported but unused
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:18: 'interactive' imported but unused
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:20: 'BoundaryMesh' imported but unused
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:22: 'preprocess' imported but unused
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:26: 'from dolfin.adaptivity.errorestimators import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:27: 'from dolfin.adaptivity.normestimators import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:28: 'from dolfin.adaptivity.updates import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/adaptive.py:29: 'from dolfin.adaptivity.utils import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/marking.py:22: 'File' imported but unused
./usr/share/pyshared/dolfin/adaptivity/dual.py:12: 'plot' imported but unused
./usr/share/pyshared/dolfin/adaptivity/dual.py:12: 'interactive' imported but unused
./usr/share/pyshared/dolfin/adaptivity/dual.py:13: 'VariationalProblem' imported but unused
./usr/share/pyshared/dolfin/adaptivity/dual.py:15: 'MeshFunction' imported but unused
./usr/share/pyshared/dolfin/adaptivity/dual.py:17: 'extract_mesh' imported but unused
./usr/share/pyshared/dolfin/adaptivity/residual.py:16: 'rhs' imported but unused
./usr/share/pyshared/dolfin/adaptivity/residual.py:16: 'action' imported but unused
./usr/share/pyshared/dolfin/adaptivity/residual.py:17: 'plot' imported but unused
./usr/share/pyshared/dolfin/adaptivity/residual.py:22: 'from dolfin.adaptivity.specialfunctions import *' used; unable to detect undefined names
./usr/share/pyshared/dolfin/adaptivity/errorestimator.py:14: 'info' imported but unused
./usr/share/pyshared/dolfin/adaptivity/errorestimator.py:18: 'glue' imported but unused
./usr/share/pyshared/dolfin_utils/commands.py:17: local variable 'r' is assigned to but never used
./usr/share/pyshared/dolfin_utils/pjobs/pjobs.py:12: 'PIPE' imported but unused
./usr/share/pyshared/dolfin_utils/pjobs/__init__.py:1: 'submit' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/form.py:9: 'chain' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/form.py:266: undefined name 'num_coefficients'
./usr/share/pyshared/dolfin_utils/wrappers/form.py:269: undefined name 'num_coefficients'
./usr/share/pyshared/dolfin_utils/wrappers/form.py:272: undefined name 'num_coefficients'
./usr/share/pyshared/dolfin_utils/wrappers/form.py:279: undefined name 'num_coefficients'
./usr/share/pyshared/dolfin_utils/wrappers/wrappers.py:10: 'sys' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/wrappers.py:10: 're' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/wrappers.py:11: 'ufl' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/wrappers.py:220: local variable 'basespace_classnames' is assigned to but never used
./usr/share/pyshared/dolfin_utils/wrappers/__init__.py:1: 'generate_dolfin_code' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/__init__.py:1: 'UFCFormNames' imported but unused
./usr/share/pyshared/dolfin_utils/wrappers/__init__.py:1: 'UFCElementName' imported but unused

This report was generated on Fri, 14 Jan 2011 06:28:41 +0000, based on results by pyflakes 0.4.0-1