wafo-project/pywafo

View on GitHub
src/wafo/transform/tests/test_models.py

Summary

Maintainability
C
1 day
Test Coverage

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert(g.sigma == 1.75)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert((np.abs(vals - true_vals) < 1e-7).all())

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert(g.dist2gauss() == 0.0)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert((np.abs(vals - true_vals) < 1e-7).all())

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert(g.mean == 0.0)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert(g.sigma == 1.75)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert(g.mean == 0.0)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert(np.abs(g.dist2gauss() - 0.88230868748851554) < 1e-7)

Remove this commented out code.
Open

    # assert((np.abs(vals - true_vals) < 1e-7).all())

Programmers should not comment out code as it bloats programs and reduces readability.

Unused code should be deleted and can be retrieved from source control history if required.

See

  • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
  • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
  • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
  • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

Similar blocks of code found in 4 locations. Consider refactoring.
Open

    assert((np.abs(vals - true_vals) < 1e-7).all())
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 3 other locations - About 1 hr to fix
src/wafo/spectrum/tests/test_specdata1d.py on lines 38..38
src/wafo/transform/tests/test_models.py on lines 42..42
src/wafo/transform/tests/test_trdata.py on lines 27..27

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 25.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 4 locations. Consider refactoring.
Open

    assert((np.abs(vals - true_vals) < 1e-7).all())
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 3 other locations - About 1 hr to fix
src/wafo/spectrum/tests/test_specdata1d.py on lines 38..38
src/wafo/transform/tests/test_models.py on lines 16..16
src/wafo/transform/tests/test_trdata.py on lines 27..27

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 25.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 5 locations. Consider refactoring.
Open

if __name__ == '__main__':
    import nose
    nose.run()
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 4 other locations - About 1 hr to fix
src/wafo/data/info.py on lines 481..483
src/wafo/spectrum/tests/test_specdata1d.py on lines 191..193
src/wafo/transform/tests/test_trdata.py on lines 32..34
src/wafo/wave_theory/tests/test_dispersion_relation.py on lines 56..58

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 20.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

    g = TrLinear(sigma=std, ysigma=std)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 2 other locations - About 50 mins to fix
src/wafo/transform/tests/test_models.py on lines 9..9
src/wafo/transform/tests/test_models.py on lines 22..22

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 14.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

    g = TrHermite(sigma=std, ysigma=std)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 2 other locations - About 50 mins to fix
src/wafo/transform/tests/test_models.py on lines 22..22
src/wafo/transform/tests/test_models.py on lines 36..36

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 14.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

    g = TrOchi(sigma=std, ysigma=std)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 2 other locations - About 50 mins to fix
src/wafo/transform/tests/test_models.py on lines 9..9
src/wafo/transform/tests/test_models.py on lines 36..36

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 14.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 12 locations. Consider refactoring.
Open

    assert(g.mean == 0.0)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 11 other locations - About 35 mins to fix
src/wafo/tests/test_misc.py on lines 97..97
src/wafo/tests/test_misc.py on lines 98..98
src/wafo/tests/test_misc.py on lines 102..102
src/wafo/tests/test_misc.py on lines 501..501
src/wafo/tests/test_misc.py on lines 507..507
src/wafo/transform/tests/test_models.py on lines 12..12
src/wafo/transform/tests/test_models.py on lines 13..13
src/wafo/transform/tests/test_models.py on lines 39..39
src/wafo/transform/tests/test_trdata.py on lines 15..15
src/wafo/transform/tests/test_trdata.py on lines 20..20
src/wafo/transform/tests/test_trdata.py on lines 21..21

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 12 locations. Consider refactoring.
Open

    assert(g.mean == 0.0)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 11 other locations - About 35 mins to fix
src/wafo/tests/test_misc.py on lines 97..97
src/wafo/tests/test_misc.py on lines 98..98
src/wafo/tests/test_misc.py on lines 102..102
src/wafo/tests/test_misc.py on lines 501..501
src/wafo/tests/test_misc.py on lines 507..507
src/wafo/transform/tests/test_models.py on lines 13..13
src/wafo/transform/tests/test_models.py on lines 38..38
src/wafo/transform/tests/test_models.py on lines 39..39
src/wafo/transform/tests/test_trdata.py on lines 15..15
src/wafo/transform/tests/test_trdata.py on lines 20..20
src/wafo/transform/tests/test_trdata.py on lines 21..21

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 12 locations. Consider refactoring.
Open

    assert(g.sigma == 1.75)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 11 other locations - About 35 mins to fix
src/wafo/tests/test_misc.py on lines 97..97
src/wafo/tests/test_misc.py on lines 98..98
src/wafo/tests/test_misc.py on lines 102..102
src/wafo/tests/test_misc.py on lines 501..501
src/wafo/tests/test_misc.py on lines 507..507
src/wafo/transform/tests/test_models.py on lines 12..12
src/wafo/transform/tests/test_models.py on lines 38..38
src/wafo/transform/tests/test_models.py on lines 39..39
src/wafo/transform/tests/test_trdata.py on lines 15..15
src/wafo/transform/tests/test_trdata.py on lines 20..20
src/wafo/transform/tests/test_trdata.py on lines 21..21

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 12 locations. Consider refactoring.
Open

    assert(g.sigma == 1.75)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 11 other locations - About 35 mins to fix
src/wafo/tests/test_misc.py on lines 97..97
src/wafo/tests/test_misc.py on lines 98..98
src/wafo/tests/test_misc.py on lines 102..102
src/wafo/tests/test_misc.py on lines 501..501
src/wafo/tests/test_misc.py on lines 507..507
src/wafo/transform/tests/test_models.py on lines 12..12
src/wafo/transform/tests/test_models.py on lines 13..13
src/wafo/transform/tests/test_models.py on lines 38..38
src/wafo/transform/tests/test_trdata.py on lines 15..15
src/wafo/transform/tests/test_trdata.py on lines 20..20
src/wafo/transform/tests/test_trdata.py on lines 21..21

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

    std = 7. / 4
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 9 other locations - About 35 mins to fix
src/wafo/graphutil.py on lines 139..139
src/wafo/objects.py on lines 2507..2507
src/wafo/sg_filter/demos.py on lines 312..312
src/wafo/stats/_continuous_distns.py on lines 515..515
src/wafo/stats/_continuous_distns.py on lines 517..517
src/wafo/stats/estimation.py on lines 1673..1673
src/wafo/stats/estimation.py on lines 1683..1683
src/wafo/transform/tests/test_models.py on lines 21..21
src/wafo/transform/tests/test_models.py on lines 35..35

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

    std = 7. / 4
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 9 other locations - About 35 mins to fix
src/wafo/graphutil.py on lines 139..139
src/wafo/objects.py on lines 2507..2507
src/wafo/sg_filter/demos.py on lines 312..312
src/wafo/stats/_continuous_distns.py on lines 515..515
src/wafo/stats/_continuous_distns.py on lines 517..517
src/wafo/stats/estimation.py on lines 1673..1673
src/wafo/stats/estimation.py on lines 1683..1683
src/wafo/transform/tests/test_models.py on lines 8..8
src/wafo/transform/tests/test_models.py on lines 35..35

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 10 locations. Consider refactoring.
Open

    std = 7. / 4
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 9 other locations - About 35 mins to fix
src/wafo/graphutil.py on lines 139..139
src/wafo/objects.py on lines 2507..2507
src/wafo/sg_filter/demos.py on lines 312..312
src/wafo/stats/_continuous_distns.py on lines 515..515
src/wafo/stats/_continuous_distns.py on lines 517..517
src/wafo/stats/estimation.py on lines 1673..1673
src/wafo/stats/estimation.py on lines 1683..1683
src/wafo/transform/tests/test_models.py on lines 8..8
src/wafo/transform/tests/test_models.py on lines 21..21

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 11.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 4 locations. Consider refactoring.
Open

    assert_array_almost_equal(g.mean, 0.0)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 3 other locations - About 30 mins to fix
src/wafo/kdetools/tests/test_kdetools.py on lines 80..80
src/wafo/kdetools/tests/test_kdetools.py on lines 81..81
src/wafo/transform/tests/test_models.py on lines 25..25

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 10.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 4 locations. Consider refactoring.
Open

    assert_array_almost_equal(g.sigma, 1.75)
Severity: Major
Found in src/wafo/transform/tests/test_models.py and 3 other locations - About 30 mins to fix
src/wafo/kdetools/tests/test_kdetools.py on lines 80..80
src/wafo/kdetools/tests/test_kdetools.py on lines 81..81
src/wafo/transform/tests/test_models.py on lines 24..24

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 10.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

There are no issues that match your filters.

Category
Status