Coverage report: 98%

Files Functions Classes

coverage.py v7.8.0, created at 2025-05-06 13:03 +0000

File function statements missing excluded branches partial coverage
wulffpack/__init__.py (no function) 6 0 0 0 0 100%
wulffpack/core/__init__.py (no function) 4 0 0 0 0 100%
wulffpack/core/base_particle.py BaseParticle.__init__ 20 0 0 10 0 100%
wulffpack/core/base_particle.py BaseParticle._closest_vertices 18 0 0 16 0 100%
wulffpack/core/base_particle.py BaseParticle._dual_wulff_shape 12 1 0 8 1 90%
wulffpack/core/base_particle.py BaseParticle._scale_size 5 0 0 6 0 100%
wulffpack/core/base_particle.py BaseParticle.natoms 1 0 0 0 0 100%
wulffpack/core/base_particle.py BaseParticle.natoms 3 0 0 0 0 100%
wulffpack/core/base_particle.py BaseParticle.forms 1 0 0 0 0 100%
wulffpack/core/base_particle.py BaseParticle.standardized_structure 1 0 0 0 0 100%
wulffpack/core/base_particle.py BaseParticle._twin_form 4 0 0 4 0 100%
wulffpack/core/base_particle.py BaseParticle.get_continuous_color_scheme 26 0 0 14 0 100%
wulffpack/core/base_particle.py BaseParticle.make_plot 58 8 0 30 2 86%
wulffpack/core/base_particle.py BaseParticle.view 12 1 0 4 2 81%
wulffpack/core/base_particle.py BaseParticle.write 19 0 0 14 1 97%
wulffpack/core/base_particle.py BaseParticle._yield_facets 5 0 0 6 0 100%
wulffpack/core/base_particle.py BaseParticle.volume 4 0 0 2 0 100%
wulffpack/core/base_particle.py BaseParticle.area 5 0 0 4 0 100%
wulffpack/core/base_particle.py BaseParticle.edge_length 5 0 0 4 0 100%
wulffpack/core/base_particle.py BaseParticle.number_of_corners 9 0 0 10 0 100%
wulffpack/core/base_particle.py BaseParticle.surface_energy 4 0 0 2 0 100%
wulffpack/core/base_particle.py BaseParticle.facet_fractions 11 0 0 6 0 100%
wulffpack/core/base_particle.py BaseParticle.average_surface_energy 9 0 0 4 0 100%
wulffpack/core/base_particle.py BaseParticle._duplicate_particle 10 0 0 10 0 100%
wulffpack/core/base_particle.py BaseParticle.translate_particle 3 0 0 4 0 100%
wulffpack/core/base_particle.py BaseParticle.rotate_particle 10 0 0 8 0 100%
wulffpack/core/base_particle.py BaseParticle._get_atoms 30 0 0 20 0 100%
wulffpack/core/base_particle.py (no function) 45 0 0 0 0 100%
wulffpack/core/facet.py Facet.__init__ 8 0 0 0 0 100%
wulffpack/core/facet.py Facet.add_vertex 7 0 0 8 0 100%
wulffpack/core/facet.py Facet.distance_from_origin 1 0 0 0 0 100%
wulffpack/core/facet.py Facet.remove_redundant_vertices 21 0 0 14 0 100%
wulffpack/core/facet.py Facet.ordered_vertices 31 0 0 26 2 96%
wulffpack/core/facet.py Facet.face_as_triangles 13 0 0 4 0 100%
wulffpack/core/facet.py Facet.area 6 0 0 2 0 100%
wulffpack/core/facet.py Facet.surface_energy 1 0 0 0 0 100%
wulffpack/core/facet.py Facet.get_volume 7 1 0 4 1 82%
wulffpack/core/facet.py Facet.perimeter_length 5 0 0 2 0 100%
wulffpack/core/facet.py (no function) 20 0 0 0 0 100%
wulffpack/core/form.py Form.__init__ 18 0 0 4 0 100%
wulffpack/core/form.py Form.area 1 0 0 0 0 100%
wulffpack/core/form.py Form.surface_energy 1 0 0 0 0 100%
wulffpack/core/form.py Form.volume 1 0 0 0 0 100%
wulffpack/core/form.py Form.edge_length 1 0 0 0 0 100%
wulffpack/core/form.py setup_forms 41 0 0 26 0 100%
wulffpack/core/form.py convert_bravais_miller_to_miller 3 1 0 2 1 60%
wulffpack/core/form.py (no function) 16 0 0 0 0 100%
wulffpack/core/geometry.py get_tetrahedral_volume 5 0 0 2 0 100%
wulffpack/core/geometry.py get_angle 7 0 0 6 0 100%
wulffpack/core/geometry.py get_rotation_matrix 12 0 0 0 0 100%
wulffpack/core/geometry.py get_standardized_structure 5 0 0 2 0 100%
wulffpack/core/geometry.py break_symmetry 15 0 0 14 0 100%
wulffpack/core/geometry.py get_symmetries 7 0 0 4 0 100%
wulffpack/core/geometry.py is_array_in_arrays 4 0 0 4 0 100%
wulffpack/core/geometry.py where_is_array_in_arrays 4 0 0 4 0 100%
wulffpack/core/geometry.py (no function) 13 0 0 0 0 100%
wulffpack/decahedron.py Decahedron.__init__ 47 0 0 12 0 100%
wulffpack/decahedron.py Decahedron.atoms 28 0 0 18 0 100%
wulffpack/decahedron.py Decahedron.fivefold_axis_vector 4 0 0 0 0 100%
wulffpack/decahedron.py Decahedron.get_strain_energy 4 0 0 0 0 100%
wulffpack/decahedron.py Decahedron.aspect_ratio 14 0 0 10 0 100%
wulffpack/decahedron.py _get_decahedral_scale_factor 1 0 0 0 0 100%
wulffpack/decahedron.py (no function) 16 0 0 0 0 100%
wulffpack/icosahedron.py Icosahedron.__init__ 35 0 0 18 0 100%
wulffpack/icosahedron.py Icosahedron.atoms 55 1 0 32 2 97%
wulffpack/icosahedron.py Icosahedron._get_two_fivefold_axes 9 0 0 4 2 85%
wulffpack/icosahedron.py Icosahedron._get_all_symmetry_operations 16 0 0 12 0 100%
wulffpack/icosahedron.py Icosahedron._get_symmetry_operations 15 0 0 2 0 100%
wulffpack/icosahedron.py Icosahedron.get_strain_energy 4 0 0 0 0 100%
wulffpack/icosahedron.py _get_unique_coordinates 10 0 0 6 0 100%
wulffpack/icosahedron.py _get_icosahedral_scale_factor 2 0 0 0 0 100%
wulffpack/icosahedron.py (no function) 16 0 0 0 0 100%
wulffpack/single_crystal.py SingleCrystal.__init__ 8 0 0 4 0 100%
wulffpack/single_crystal.py SingleCrystal.atoms 1 0 0 0 0 100%
wulffpack/single_crystal.py SingleCrystal.get_shifted_atoms 1 0 0 0 0 100%
wulffpack/single_crystal.py (no function) 11 0 0 0 0 100%
wulffpack/winterbottom.py Winterbottom.__init__ 14 0 0 2 0 100%
wulffpack/winterbottom.py Winterbottom.atoms 1 0 0 0 0 100%
wulffpack/winterbottom.py (no function) 10 0 0 0 0 100%
Total   936 13 0 434 14 98%

No items found using the specified filter.