Coverage report: 98%

Files Functions Classes

coverage.py v7.14.1, created at 2026-06-03 08:24 +0000

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

No items found using the specified filter.