Coverage report: 99%

Files Functions Classes

coverage.py v7.10.6, created at 2025-10-26 18:44 +0000

File function statements missing excluded branches partial coverage
strongcoca/__init__.py (no function) 6 0 0 0 0 100%
strongcoca/calculators/__init__.py (no function) 3 0 0 0 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator.__init__ 6 0 0 2 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator._update_state 3 0 0 0 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator._verify_state 4 0 0 2 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator._discard_data 1 0 0 0 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator.coupled_system 1 0 0 0 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator.is_dirty 7 0 0 6 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator.get_correlation_energy 1 0 0 0 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator._get_correlation_energy 4 0 0 2 0 100%
strongcoca/calculators/base_calculator.py BaseCalculator._calculate_correlation_energy 0 0 1 0 0 100%
strongcoca/calculators/base_calculator.py (no function) 19 0 0 0 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator.__init__ 2 0 0 0 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator._discard_data 2 0 0 0 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator.excitations 4 0 0 2 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator._calculate_correlation_energy 3 0 0 0 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator._build_casida_system 36 0 0 14 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator._get_dynamic_polarizability 1 0 0 0 0 100%
strongcoca/calculators/casida_calculator.py CasidaCalculator._get_dynamic_polarizability_imaginary_frequency 1 0 0 0 0 100%
strongcoca/calculators/casida_calculator.py (no function) 20 0 0 0 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator.__init__ 12 0 0 6 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator._build_coupling_matrix 14 0 0 4 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator._calculate_correlation_energy 16 0 0 4 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator.coupling_matrix 3 0 0 2 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator._get_dynamic_polarizability 12 0 1 4 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator._get_dynamic_polarizability_chunk 15 0 0 2 0 100%
strongcoca/calculators/polarizability_calculator.py PolarizabilityCalculator._get_dynamic_polarizability_imaginary_frequency 0 0 1 0 0 100%
strongcoca/calculators/polarizability_calculator.py (no function) 22 0 0 0 0 100%
strongcoca/calculators/utilities.py get_dipole_dipole_tensor 4 0 0 0 0 100%
strongcoca/calculators/utilities.py (no function) 2 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.__init__ 11 0 0 6 0 100%
strongcoca/coupled_system.py CoupledSystem.__len__ 1 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.__iadd__ 2 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.append 1 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.copy 2 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.extend 2 0 0 2 0 100%
strongcoca/coupled_system.py CoupledSystem.__iter__ 2 0 0 2 0 100%
strongcoca/coupled_system.py CoupledSystem.__getitem__ 2 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.__add__ 3 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.__str__ 11 0 0 6 0 100%
strongcoca/coupled_system.py CoupledSystem.to_atoms 6 0 0 4 0 100%
strongcoca/coupled_system.py CoupledSystem.positions 1 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.positions 6 0 0 6 0 100%
strongcoca/coupled_system.py CoupledSystem.pbc 1 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.cell 1 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.name 1 0 0 0 0 100%
strongcoca/coupled_system.py CoupledSystem.name 1 0 0 0 0 100%
strongcoca/coupled_system.py (no function) 34 0 0 0 0 100%
strongcoca/env.py strongcoca_getenv 5 2 0 2 1 57%
strongcoca/env.py get_float 6 2 0 0 0 67%
strongcoca/env.py (no function) 3 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.__init__ 8 0 0 4 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.__str__ 10 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.name 1 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.name 1 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.position 1 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.position 4 0 0 2 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.orientation 1 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.orientation 11 2 0 6 0 88%
strongcoca/polarizable_unit.py PolarizableUnit.set_orientation 44 0 0 32 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.response 1 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.broadening 1 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.atoms 11 0 0 4 0 100%
strongcoca/polarizable_unit.py PolarizableUnit.excitations 11 0 0 6 0 100%
strongcoca/polarizable_unit.py PolarizableUnit._get_dynamic_polarizability 4 0 0 0 0 100%
strongcoca/polarizable_unit.py PolarizableUnit._get_dynamic_polarizability_imaginary_frequency 4 0 0 0 0 100%
strongcoca/polarizable_unit.py (no function) 37 0 0 0 0 100%
strongcoca/response/__init__.py (no function) 10 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.__init__ 5 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.__str__ 6 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.pbc 1 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.broadening 1 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.name 1 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.atoms 1 0 0 0 0 100%
strongcoca/response/base.py BaseResponse._get_dipole_strength_function 5 0 0 0 0 100%
strongcoca/response/base.py BaseResponse.get_dipole_strength_function 4 0 0 0 0 100%
strongcoca/response/base.py BaseResponse._get_dynamic_polarizability 0 0 1 0 0 100%
strongcoca/response/base.py BaseResponse.get_dynamic_polarizability 4 0 0 0 0 100%
strongcoca/response/base.py BaseResponse._get_dynamic_polarizability_imaginary_frequency 0 0 1 0 0 100%
strongcoca/response/base.py BaseResponse.get_dynamic_polarizability_imaginary_frequency 4 0 0 0 0 100%
strongcoca/response/base.py (no function) 29 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.__init__ 37 0 1 18 0 100%
strongcoca/response/casida.py CasidaResponse.__str__ 11 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.n_states 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.D 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.K 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.mu 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.U 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse.excitations 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse._get_dynamic_polarizability 1 0 0 0 0 100%
strongcoca/response/casida.py CasidaResponse._get_dynamic_polarizability_imaginary_frequency 1 0 0 0 0 100%
strongcoca/response/casida.py (no function) 27 0 0 0 0 100%
strongcoca/response/diagonal_casida.py build_diagonal_casida 5 0 0 0 0 100%
strongcoca/response/diagonal_casida.py (no function) 3 0 0 0 0 100%
strongcoca/response/dielectric.py DielectricFunction.__init__ 2 0 0 0 0 100%
strongcoca/response/dielectric.py DielectricFunction.__call__ 3 0 0 0 0 100%
strongcoca/response/dielectric.py DielectricFunction._eval_at 0 0 1 0 0 100%
strongcoca/response/dielectric.py DielectricFunction.__str__ 0 0 1 0 0 100%
strongcoca/response/dielectric.py DielectricFunction.name 1 0 0 0 0 100%
strongcoca/response/dielectric.py AnalyticDielectricFunction.__init__ 2 0 0 0 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.__init__ 22 0 0 14 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction._eval_at 6 0 0 4 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.__str__ 7 0 0 0 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.n 1 0 0 0 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.minfreq 3 0 0 0 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.maxfreq 3 0 0 0 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.frequencies 1 0 0 0 0 100%
strongcoca/response/dielectric.py NumericDielectricFunction.dielectric_function 1 0 0 0 0 100%
strongcoca/response/dielectric.py DrudeDielectricFunction.__init__ 11 0 0 4 0 100%
strongcoca/response/dielectric.py DrudeDielectricFunction._eval_at 2 0 0 0 0 100%
strongcoca/response/dielectric.py DrudeDielectricFunction.__str__ 6 0 0 0 0 100%
strongcoca/response/dielectric.py DrudeDielectricFunction.plasma_frequency 1 0 0 0 0 100%
strongcoca/response/dielectric.py DrudeDielectricFunction.broadening 1 0 0 0 0 100%
strongcoca/response/dielectric.py read_dielec_function_file 4 0 0 0 0 100%
strongcoca/response/dielectric.py read_dielec_function_from_refractive_index_file 4 0 0 0 0 100%
strongcoca/response/dielectric.py (no function) 43 0 0 0 0 100%
strongcoca/response/excitations.py Excitations.__init__ 8 0 0 4 0 100%
strongcoca/response/excitations.py Excitations.energies 1 0 0 0 0 100%
strongcoca/response/excitations.py Excitations.transition_dipole_moments 1 0 0 0 0 100%
strongcoca/response/excitations.py Excitations.oscillator_strengths 3 0 0 0 0 100%
strongcoca/response/excitations.py Excitations.oscillator_strength_vectors 4 0 0 0 0 100%
strongcoca/response/excitations.py Excitations.oscillator_strength_tensors 4 0 0 0 0 100%
strongcoca/response/excitations.py Excitations._get_dynamic_polarizability 5 0 0 0 0 100%
strongcoca/response/excitations.py Excitations._get_dynamic_polarizability_imaginary_frequency 5 0 0 0 0 100%
strongcoca/response/excitations.py (no function) 19 0 0 0 0 100%
strongcoca/response/gpaw.py read_gpaw_tddft 37 0 0 22 0 100%
strongcoca/response/gpaw.py _read_and_clean_dipole_moment_data 13 0 0 4 0 100%
strongcoca/response/gpaw.py _read_dipole_moment_file 19 0 0 8 0 100%
strongcoca/response/gpaw.py _read_td_file 13 0 0 6 0 100%
strongcoca/response/gpaw.py (no function) 16 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse.__init__ 5 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse.__str__ 7 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse.semiaxes 1 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse.depolarization_factors 1 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse.dielectric_function 1 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse._get_dynamic_polarizability 9 0 0 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse._get_dynamic_polarizability_imaginary_frequency 0 0 1 0 0 100%
strongcoca/response/mie_gans.py MieGansResponse._set_semiaxes 7 0 0 6 0 100%
strongcoca/response/mie_gans.py MieGansResponse._calc_depolarization_factors 9 0 0 0 0 100%
strongcoca/response/mie_gans.py (no function) 23 0 0 0 0 100%
strongcoca/response/nwchem.py read_nwchem_casida 20 0 0 4 0 100%
strongcoca/response/nwchem.py _read_nwchem_logfile 144 1 0 54 1 99%
strongcoca/response/nwchem.py (no function) 14 0 0 0 0 100%
strongcoca/response/random.py build_random_casida 9 0 0 2 0 100%
strongcoca/response/random.py (no function) 4 0 0 0 0 100%
strongcoca/response/time_domain.py TimeDomainResponse.__init__ 19 0 0 10 0 100%
strongcoca/response/time_domain.py TimeDomainResponse.__str__ 9 0 0 0 0 100%
strongcoca/response/time_domain.py TimeDomainResponse.times 1 0 0 0 0 100%
strongcoca/response/time_domain.py TimeDomainResponse.dipole_moments 1 0 0 0 0 100%
strongcoca/response/time_domain.py TimeDomainResponse._get_dynamic_polarizability 3 0 0 0 0 100%
strongcoca/response/time_domain.py TimeDomainResponse._get_dynamic_polarizability_imaginary_frequency 3 0 0 0 0 100%
strongcoca/response/time_domain.py (no function) 18 0 0 0 0 100%
strongcoca/response/time_domain_casida.py _check_propagation_parameters 16 0 0 8 0 100%
strongcoca/response/time_domain_casida.py build_time_domain_response_from_casida 19 0 0 8 0 100%
strongcoca/response/time_domain_casida.py (no function) 8 0 0 0 0 100%
strongcoca/response/utilities.py Broadening.__repr__ 0 0 1 0 0 100%
strongcoca/response/utilities.py ArtificialBroadening.__init__ 7 0 0 6 0 100%
strongcoca/response/utilities.py ArtificialBroadening.__repr__ 0 0 1 0 0 100%
strongcoca/response/utilities.py ArtificialBroadening.width 1 0 0 0 0 100%
strongcoca/response/utilities.py GaussianBroadening.__init__ 1 0 0 0 0 100%
strongcoca/response/utilities.py LorentzianBroadening.__init__ 1 0 0 0 0 100%
strongcoca/response/utilities.py fourier_transform 27 1 0 18 1 96%
strongcoca/response/utilities.py broaden 23 1 0 16 1 95%
strongcoca/response/utilities.py (no function) 15 0 2 0 0 100%
strongcoca/types.py (no function) 8 0 0 0 0 100%
strongcoca/units.py (no function) 15 0 0 0 0 100%
strongcoca/utilities.py ClassFormatter.__init__ 6 0 0 0 0 100%
strongcoca/utilities.py ClassFormatter.append_class_name 2 0 0 0 0 100%
strongcoca/utilities.py ClassFormatter.append_attr 9 0 0 6 0 100%
strongcoca/utilities.py ClassFormatter.append_ndarray 6 1 0 2 1 75%
strongcoca/utilities.py ClassFormatter.to_string 1 0 0 0 0 100%
strongcoca/utilities.py format_ndarray 16 1 0 8 1 92%
strongcoca/utilities.py (no function) 10 0 0 0 0 100%
Total   1409 11 13 364 6 99%

No items found using the specified filter.