Coverage report:
60%
hide covered
Files
Functions
Classes
coverage.py v7.9.2
, created at 2025-09-10 08:11 +0000
File
class
statements
missing
excluded
coverage
robustML/__init__.py
(no class)
0
0
0
100%
robustML/advertrain/__init__.py
(no class)
0
0
0
100%
robustML/advertrain/constants.py
(no class)
6
0
0
100%
robustML/advertrain/dependencies/__init__.py
(no class)
0
0
0
100%
robustML/advertrain/dependencies/autoattack.py
APGDAttack
293
275
0
6%
robustML/advertrain/dependencies/autoattack.py
(no class)
67
39
0
42%
robustML/advertrain/dependencies/cleverhans/__init__.py
(no class)
0
0
0
100%
robustML/advertrain/dependencies/cleverhans/fast_gradient_method.py
(no class)
33
10
0
70%
robustML/advertrain/dependencies/cleverhans/projected_gradient_descent.py
(no class)
29
2
0
93%
robustML/advertrain/dependencies/cleverhans/utils.py
(no class)
43
14
0
67%
robustML/advertrain/dependencies/dropblock.py
DropBlock2d
13
1
0
92%
robustML/advertrain/dependencies/dropblock.py
(no class)
49
12
0
76%
robustML/advertrain/dependencies/fire.py
(no class)
70
21
0
70%
robustML/advertrain/dependencies/trades.py
(no class)
56
23
0
59%
robustML/advertrain/metrics.py
Metrics
35
10
0
71%
robustML/advertrain/metrics.py
(no class)
18
0
0
100%
robustML/advertrain/models.py
Normalize
4
0
0
100%
robustML/advertrain/models.py
ConvNet
28
0
0
100%
robustML/advertrain/models.py
ConvNetDropblock
35
35
0
0%
robustML/advertrain/models.py
ResNet
53
20
0
62%
robustML/advertrain/models.py
ResNetDropblock
59
59
0
0%
robustML/advertrain/models.py
(no class)
19
0
0
100%
robustML/advertrain/training/__init__.py
(no class)
0
0
0
100%
robustML/advertrain/training/adversarial_training.py
AdversarialTraining
5
3
0
40%
robustML/advertrain/training/adversarial_training.py
(no class)
11
0
0
100%
robustML/advertrain/training/autoattack_training.py
AutoAttackTraining
6
2
0
67%
robustML/advertrain/training/autoattack_training.py
(no class)
7
0
0
100%
robustML/advertrain/training/classical_training.py
ClassicalTraining
58
52
0
10%
robustML/advertrain/training/classical_training.py
(no class)
18
0
0
100%
robustML/advertrain/training/fire_training.py
FIRETraining
23
11
0
52%
robustML/advertrain/training/fire_training.py
(no class)
7
0
0
100%
robustML/advertrain/transforms.py
DataTransformations
3
0
0
100%
robustML/advertrain/transforms.py
(no class)
6
0
0
100%
tests/tests_advertrain/test_dependencies/test_autoattack.py
MockModel
1
1
0
0%
tests/tests_advertrain/test_dependencies/test_autoattack.py
(no class)
15
0
0
100%
tests/tests_advertrain/test_dependencies/test_cleverhans/test_fast_gradient_method.py
(no class)
19
0
0
100%
tests/tests_advertrain/test_dependencies/test_cleverhans/test_projected_gradient_descent.py
(no class)
41
0
0
100%
tests/tests_advertrain/test_dependencies/test_cleverhans/test_utils.py
(no class)
42
0
0
100%
tests/tests_advertrain/test_dependencies/test_dropblock.py
(no class)
33
0
0
100%
tests/tests_advertrain/test_dependencies/test_fire.py
MockModel
3
0
0
100%
tests/tests_advertrain/test_dependencies/test_fire.py
(no class)
29
0
0
100%
tests/tests_advertrain/test_dependencies/test_trades.py
MockModel
3
0
0
100%
tests/tests_advertrain/test_dependencies/test_trades.py
(no class)
25
0
0
100%
tests/tests_advertrain/test_metrics.py
(no class)
35
0
0
100%
tests/tests_advertrain/test_models.py
(no class)
56
0
0
100%
tests/tests_advertrain/test_training/test_adversarial_training.py
SimpleModel
3
1
0
67%
tests/tests_advertrain/test_training/test_adversarial_training.py
(no class)
30
0
0
100%
tests/tests_advertrain/test_training/test_autoattack_training.py
SimpleModel
3
1
0
67%
tests/tests_advertrain/test_training/test_autoattack_training.py
(no class)
26
0
0
100%
tests/tests_advertrain/test_training/test_classical_training.py
SimpleModel
3
1
0
67%
tests/tests_advertrain/test_training/test_classical_training.py
(no class)
34
4
0
88%
tests/tests_advertrain/test_training/test_fire_training.py
MockModel
3
0
0
100%
tests/tests_advertrain/test_training/test_fire_training.py
MockOptimizer
0
0
0
100%
tests/tests_advertrain/test_training/test_fire_training.py
(no class)
27
0
0
100%
tests/tests_advertrain/test_transforms.py
(no class)
26
0
0
100%
Total
1511
597
0
60%
No items found using the specified filter.