BLKSerene/Wordless

View on GitHub
tests/tests_figs/test_figs_freqs.py

Summary

Maintainability
A
2 hrs
Test Coverage

Avoid deeply nested control flow statements.
Open

                    for item in range(100):
                        item = wl_texts.Wl_Token(str(item))
                        freq_1, freq_2 = random.sample(range(100), 2)

                        freq_files_items[item] = [
Severity: Major
Found in tests/tests_figs/test_figs_freqs.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        for item in range(100):
                            item = wl_texts.Wl_Token(str(item))
                            freq_1, freq_2 = random.sample(range(100), 2)
    
                            freq_files_items[item] = [
    Severity: Major
    Found in tests/tests_figs/test_figs_freqs.py - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                          for collocate in range(10):
                              collocate = wl_texts.Wl_Token(str(collocate))
                              freq_1, freq_2 = random.sample(range(10000), 2)
      
                              freq_files_items[(node, collocate)] = [
      Severity: Major
      Found in tests/tests_figs/test_figs_freqs.py - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status