Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/auralquiz-1.0.0/src/ranking.cpp
Examining data/auralquiz-1.0.0/src/musicanalyzer.cpp
Examining data/auralquiz-1.0.0/src/auralwindow.h
Examining data/auralquiz-1.0.0/src/optionsdialog.cpp
Examining data/auralquiz-1.0.0/src/optionsdialog.h
Examining data/auralquiz-1.0.0/src/answerbox.cpp
Examining data/auralquiz-1.0.0/src/ranking.h
Examining data/auralquiz-1.0.0/src/musicanalyzer.h
Examining data/auralquiz-1.0.0/src/auralwindow.cpp
Examining data/auralquiz-1.0.0/src/answerbox.h
Examining data/auralquiz-1.0.0/src/main.cpp

FINAL RESULTS:

data/auralquiz-1.0.0/src/auralwindow.cpp:788:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        QString totalSongs = QLocale::system()
data/auralquiz-1.0.0/src/main.cpp:94:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        languageString = QLocale::system().name();
data/auralquiz-1.0.0/src/musicanalyzer.cpp:291:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString totalFilesString = QLocale::system().toString(totalFiles);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:58:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetadata0.open(QIODevice::WriteOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:62:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetadata1.open(QIODevice::WriteOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:66:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetadata2.open(QIODevice::WriteOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:70:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetadata3.open(QIODevice::WriteOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:132:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetaData0.open(QIODevice::ReadOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:135:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetaData1.open(QIODevice::ReadOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:138:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetaData2.open(QIODevice::ReadOnly);
data/auralquiz-1.0.0/src/musicanalyzer.cpp:141:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cachedMetaData3.open(QIODevice::ReadOnly);

ANALYSIS SUMMARY:

Hits = 11
Lines analyzed = 3651 in approximately 0.11 seconds (32861 lines/second)
Physical Source Lines of Code (SLOC) = 2337
Hits@level = [0]   0 [1]   0 [2]   8 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  11 [1+]  11 [2+]  11 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 4.70689 [1+] 4.70689 [2+] 4.70689 [3+] 1.2837 [4+] 1.2837 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.