| Verdict | Location | Message |
| - | include/cxxopts.hpp:52:9 | declaration uses identifier 'CXXOPTS__VERSION_MAJOR', which is a reserved identifier |
| - | include/cxxopts.hpp:53:9 | declaration uses identifier 'CXXOPTS__VERSION_MINOR', which is a reserved identifier |
| - | include/cxxopts.hpp:54:9 | declaration uses identifier 'CXXOPTS__VERSION_PATCH', which is a reserved identifier |
| - | include/cxxopts.hpp:276:23 | initialization of 'LQUOTE' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:277:23 | initialization of 'RQUOTE' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:494:30 | initialization of 'integer_pattern' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:496:30 | initialization of 'truthy_pattern' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:498:30 | initialization of 'falsy_pattern' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:603:19 | either cast from 'int' to 'US' (aka 'unsigned long') is ineffective, or there is loss of precision before the conversion |
| - | include/cxxopts.hpp:607:19 | either cast from 'int' to 'US' (aka 'unsigned long') is ineffective, or there is loss of precision before the conversion |
| - | include/cxxopts.hpp:1452:28 | initialization of 'option_matcher' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:1455:28 | initialization of 'option_specifier' with static storage duration may throw an exception that cannot be caught |
| - | include/cxxopts.hpp:1504:7 | 2 adjacent parameters of 'format_description' of similar type ('size_t') are easily swapped by mistake |
| - | include/cxxopts.hpp:1621:3 | 2 adjacent parameters of 'operator()' of similar type ('const std::string &') are easily swapped by mistake |
| - | include/cxxopts.hpp:1639:3 | repeated branch body in conditional chain |
| - | include/cxxopts.hpp:1981:3 | 2 adjacent parameters of 'add_option' of similar type ('const std::string &') are easily swapped by mistake |
| - | include/cxxopts.hpp:1983:3 | 2 adjacent parameters of 'add_option' of similar type are easily swapped by mistake |
| - | src/example.cpp:162:5 | an exception may be thrown in function 'main' which should not throw exceptions |
| - | test/options.cpp:77:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:78:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:79:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:80:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:81:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:82:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:83:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:84:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:85:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:88:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:89:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:90:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:91:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:93:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:94:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:95:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:114:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:115:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:132:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:133:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:157:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:158:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:160:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:161:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:162:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:185:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:187:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:188:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:192:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:193:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:194:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:214:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:215:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:216:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:249:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:250:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:276:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:277:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:287:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:288:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:298:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:299:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:309:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:310:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:330:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:331:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:334:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:335:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:336:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:346:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:347:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:365:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:366:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:383:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:386:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:387:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:388:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:389:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:390:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:391:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:392:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:393:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:410:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:413:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:414:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:415:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:416:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:417:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:451:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:454:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:455:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:456:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:457:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:458:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:513:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:514:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:516:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:519:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:520:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:521:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:522:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:562:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:563:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:564:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:565:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:566:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:567:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:568:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:569:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:571:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:572:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:573:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:574:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:575:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:576:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:577:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:578:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:580:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:596:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:597:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:598:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:599:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:600:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:647:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:674:5 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:740:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:741:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:742:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:743:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:744:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:745:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:746:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:747:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:769:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:770:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:771:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:772:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:773:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:774:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |
| - | test/options.cpp:775:3 | chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions |