hackedteam/core-android-audiocapture

View on GitHub

Showing 3 of 23 total issues

Avoid deeply nested control flow statements.
Open

                if audioRawBlockLen != len(r):
                    print '\texpected: {} found: {}\t position {}'.format(audioRawBlockLen, len(r), tracks[t].audioRaw.index(r))
                    
            # wechat
            if typeOfTrack == 'out':
Severity: Major
Found in dbi_release/decoder/old_decoder.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                    if audioRawBlockLen != len(r):
                        print '\texpected: {} found: {}\t position {}'.format(audioRawBlockLen, len(r), tracks[t].audioRaw.index(r))
    
    
                #if tracks[t].trackType == 'r':
    Severity: Major
    Found in dbi_release/decoder/decoder.py - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                      if trackId not in tracks.keys():
                          tracks[trackId] = Track(trackId, trackType, sampleRate)
                          print '[*]\t\tCreating trackId {}\t\ttrackType: {}\tsampleRate: {}'.format(trackId, trackType, sampleRate)
                          tracks[trackId].epoch.append(epoch)
      
      
      Severity: Major
      Found in dbi_release/decoder/decoder.py - About 45 mins to fix
        Severity
        Category
        Status
        Source
        Language