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/kookbook-0.2.1/autotests/parsertest/ingredientsextractortest.cpp
Examining data/kookbook-0.2.1/autotests/parsertest/recipeparsertest.cpp
Examining data/kookbook-0.2.1/src/core/activedocument.cpp
Examining data/kookbook-0.2.1/src/core/activedocument.h
Examining data/kookbook-0.2.1/src/core/activedocumentlistener.h
Examining data/kookbook-0.2.1/src/core/parser/ingredientsextractor.cpp
Examining data/kookbook-0.2.1/src/core/parser/ingredientsextractor.h
Examining data/kookbook-0.2.1/src/core/parser/recipedocument.cpp
Examining data/kookbook-0.2.1/src/core/parser/recipedocument.h
Examining data/kookbook-0.2.1/src/core/parser/recipeparser.cpp
Examining data/kookbook-0.2.1/src/core/parser/recipeparser.h
Examining data/kookbook-0.2.1/src/core/scanner.cpp
Examining data/kookbook-0.2.1/src/core/scanner.h
Examining data/kookbook-0.2.1/src/desktop/main.cpp
Examining data/kookbook-0.2.1/src/desktop/mainwindow.cpp
Examining data/kookbook-0.2.1/src/desktop/mainwindow.h
Examining data/kookbook-0.2.1/src/desktop/panes/fspane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/fspane.h
Examining data/kookbook-0.2.1/src/desktop/panes/ingredientsparserpane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/ingredientsparserpane.h
Examining data/kookbook-0.2.1/src/desktop/panes/listpane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/listpane.h
Examining data/kookbook-0.2.1/src/desktop/panes/mainpane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/mainpane.h
Examining data/kookbook-0.2.1/src/desktop/panes/metadatapane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/metadatapane.h
Examining data/kookbook-0.2.1/src/desktop/panes/panebase.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/panebase.h
Examining data/kookbook-0.2.1/src/desktop/panes/rawviewpane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/rawviewpane.h
Examining data/kookbook-0.2.1/src/desktop/panes/treepane.cpp
Examining data/kookbook-0.2.1/src/desktop/panes/treepane.h
Examining data/kookbook-0.2.1/src/touch/documentloader.cpp
Examining data/kookbook-0.2.1/src/touch/documentloader.h
Examining data/kookbook-0.2.1/src/touch/main.cpp
Examining data/kookbook-0.2.1/src/touch/scanneradapter.cpp
Examining data/kookbook-0.2.1/src/touch/scanneradapter.h
Examining data/kookbook-0.2.1/src/touch/utils/dirmodel.cpp
Examining data/kookbook-0.2.1/src/touch/utils/dirmodel.h
Examining data/kookbook-0.2.1/src/touch/utils/standardpaths.cpp
Examining data/kookbook-0.2.1/src/touch/utils/standardpaths.h

FINAL RESULTS:

data/kookbook-0.2.1/autotests/parsertest/recipeparsertest.cpp:51:22:  [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).
        inputDevice->open(QIODevice::ReadOnly);
data/kookbook-0.2.1/autotests/parsertest/recipeparsertest.cpp:54:22:  [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).
        inputDevice->open(QIODevice::ReadOnly);
data/kookbook-0.2.1/src/core/parser/recipedocument.cpp:40:26:  [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).
        bool success = f.open(QIODevice::ReadOnly);
data/kookbook-0.2.1/src/core/parser/recipedocument.cpp:47:11:  [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).
        f.open(QIODevice::ReadOnly);
data/kookbook-0.2.1/src/core/scanner.cpp:63:11:  [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).
        f.open(QIODevice::ReadOnly);
data/kookbook-0.2.1/src/desktop/panes/metadatapane.cpp:58:7:  [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).
    f.open(QIODevice::ReadOnly);
data/kookbook-0.2.1/src/desktop/panes/rawviewpane.cpp:46:25:  [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).
        bool isOpen = f.open(QIODevice::ReadOnly);

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 3071 in approximately 0.36 seconds (8546 lines/second)
Physical Source Lines of Code (SLOC) = 1609
Hits@level = [0]   0 [1]   0 [2]   7 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   7 [1+]   7 [2+]   7 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.35053 [1+] 4.35053 [2+] 4.35053 [3+]   0 [4+]   0 [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.