# PVS-Studio Analysis Results

Date: | Tue Nov 14 10:08:51 2017
PVS-Studio Version: | 6.19.23817.1739
Command Line: | plog-converter -a GA\:1,2 -t html -r /home/user/MuseScore/ -o /home/user/MuseScore/Html ./MuseScore.log
Total Warnings (GA): | 428

Group | Location | Level | Code | Message
--- | --- | --- | --- | ---
General Analysis | knob.cpp:265 | Medium | V636 | The '_scaleWidth / 2' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis | knob.cpp:30 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: startY.
General Analysis | aslider.cpp:30 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _dclickValue1, _dclickValue2.
General Analysis | parser.cpp:466 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: beat, beats.
General Analysis | slider.cpp:29 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: dragppos.
General Analysis | slider.cpp:39 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: dragppos.
General Analysis | event.h:253 | Medium | V690 | The 'Event' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | scoreElement.h:150 | Medium | V690 | The 'ScoreElement' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | event.h:200 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _edata, _len, _metaType.
General Analysis | event.h:201 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _metaType.
General Analysis | midifile.cpp:57 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _division, status, sstatus, click, curPos.
General Analysis | chordlist.h:99 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: type, movex, movey.
General Analysis | chordlist.h:100 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: movex, movey.
General Analysis | chordlist.h:192 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: id, generated, renderListGenerated, exportOk.
General Analysis | stafftype.h:134 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: defPitch, defYOffset.
General Analysis | select.h:51 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: staffStart, staffEnd, voice, system.
General Analysis | select.h:143 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _staffStart, _staffEnd, _startSegment, _endSegment, _activeSegment, _activeTrack.
General Analysis | xml.h:69 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: hasAccidental.
General Analysis | xml.h:70 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: hasAccidental.
General Analysis | xml.h:71 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: hasAccidental.
General Analysis | xml.h:72 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: hasAccidental.
General Analysis | instrument.h:39 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _pos.
General Analysis | instrument.h:85 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: velocity, gateTime.
General Analysis | text.h:159 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _lineSpacing.
General Analysis | drumset.h:35 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: notehead, line, voice, shortcut.
General Analysis | audiofile.cpp:43 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: hasInstrument, idx.
General Analysis | synthesizerstate.h:32 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: id.
General Analysis | synthesizer.h:37 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _sampleRate.
General Analysis | fluid.h:649 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: data.
General Analysis | shortcut.h:124 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _assignedWidget.
General Analysis | dsp.cpp:458 | Medium | V688 | The 'dsp_buf' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | measure.h:65 | Medium | V690 | The 'Measure' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | slurtie.h:53 | Medium | V690 | The 'SlurTieSegment' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | lyrics.h:146 | Medium | V690 | The 'LyricsLine' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | mscoreview.h:37 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _score.
General Analysis | plugins.cpp:57 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _currentPage, mag, playPos, networkManager.
General Analysis | pitchvalue.h:31 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: time, pitch, vibrato.
General Analysis | velo.h:33 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: type, val.
General Analysis | cursor.h:49 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: e.
General Analysis | msynthesizer.cpp:202 | Medium | V519 | The 'lock2' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 198, 202.
General Analysis | msynthesizer.cpp:242 | Medium | V649 | There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 239, 242.
General Analysis | msynthesizer.cpp:29 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _sampleRate, effect1Buffer, effect2Buffer.
General Analysis | fluid.cpp:72 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: sample_rate, _masterTuning, _tuning, _state, sfont_id, noteid.
General Analysis | fingering.cpp:165 | Medium | V779 | Unreachable code detected. It is possible that an error is present.
General Analysis | sym.h:2768 | Medium | V690 | The 'ScoreFont' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | sym.h:2689 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _index, _advance.
General Analysis | voice.cpp:620 | Medium | V507 | Pointer to local array 'l_dsp_buf' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis | voice.cpp:926 | High | V595 | The 'sample' pointer was utilized before it was verified against nullptr. Check lines: 926, 929.
General Analysis | barline.cpp:417 | Medium | V560 | A part of conditional expression is always true: s.
General Analysis | barline.cpp:741 | Medium | V636 | The '_spanFrom / 2' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis | barline.cpp:129 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: y1, y2.
General Analysis | sfont.cpp:187 | Medium | V560 | A part of conditional expression is always true: (sample != 0).
General Analysis | sfont.cpp:682 | Medium | V641 | The size of the '& idlist' buffer is not a multiple of the element size of the type 'unsigned int'.
General Analysis | sfont.cpp:711 | High | V570 | The 'var->size' variable is assigned to itself.
General Analysis | sfont.cpp:1048 | High | V773 | The exception was thrown without releasing the 'z' pointer. A memory leak is possible.
General Analysis | sfont.cpp:50 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _id.
General Analysis | tuplet.h:35 | Medium | V690 | The 'Tuplet' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | beam.cpp:1629 | Medium | V688 | The '_up' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | beam.cpp:1734 | Medium | V560 | A part of conditional expression is always true: !growDownGroup.
General Analysis | beam.cpp:1736 | Medium | V547 | Expression '!growDownGroup' is always true.
General Analysis | beam.cpp:54 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _beamDist, _id, minMove, maxMove.
General Analysis | beam.cpp:75 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _beamDist.
General Analysis | bend.cpp:49 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _lw, noteWidth.
General Analysis | textframe.h:27 | Medium | V690 | The 'TBox' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | box.cpp:38 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: dragX.
General Analysis | bracket.cpp:30 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _braceSymbol, _magx.
General Analysis | chord.cpp:1138 | Medium | V728 | An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!st' and 'st'.
General Analysis | chord.cpp:2424 | Medium | V519 | The '_crossMeasure' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2419, 2424.
General Analysis | chord.cpp:3198 | Medium | V796 | It is possible that 'break' statement is missing in switch statement.
General Analysis | chord.cpp:207 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _spaceLw, _spaceRw.
General Analysis | beam.h:33 | Medium | V690 | The 'Beam' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | stafftype.h:417 | Medium | V690 | The 'TabDurationSymbol' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | chordlist.cpp:1150 | Medium | V688 | The 'symbols' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | chordrest.cpp:605 | Medium | V547 | Expression 'botGap' is always false.
General Analysis | chordrest.cpp:607 | Medium | V547 | Expression 'topGap' is always false.
General Analysis | chordrest.cpp:1127 | Medium | V779 | Unreachable code detected. It is possible that an error is present.
General Analysis | zita.h:118 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _gmf, _glo, _wlo, _whi.
General Analysis | zita.cpp:236 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _i.
General Analysis | zita.cpp:261 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _ir, _iw.
General Analysis | clef.cpp:91 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: symId.
General Analysis | clef.cpp:102 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: symId.
General Analysis | zitagui.cpp:36 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: mx, my, oval.
General Analysis | durationtype.cpp:77 | Medium | V793 | It is odd that the result of the 'ticks / t' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis | duration.h:34 | Medium | V690 | The 'DurationElement' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | measurebase.h:61 | Medium | V690 | The 'MeasureBase' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | segment.h:84 | Medium | V690 | The 'Segment' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | spanner.h:50 | Medium | V690 | The 'SpannerSegment' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | spanner.h:121 | Medium | V690 | The 'Spanner' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | noteentry.cpp:175 | Medium | V547 | Expression '!addFlag' is always true.
General Analysis | range.h:45 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _track.
General Analysis | range.h:85 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _first, _last.
General Analysis | textlinebase.h:32 | Medium | V690 | The 'TextLineBaseSegment' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | edit.cpp:1774 | Medium | V547 | Expression 'createEndBar' is always false.
General Analysis | edit.cpp:2767 | High | V595 | The 'endSegment' pointer was utilized before it was verified against nullptr. Check lines: 2767, 2775.
General Analysis | edit.cpp:3032 | Medium | V547 | Expression '!ns' is always true.
General Analysis | edit.cpp:3125 | Medium | V556 | The values of different enum types are compared: ee->propertyFlags(t) != ps. Types: PropertyFlags, PropertyFlags.
General Analysis | edit.cpp:3130 | Medium | V556 | The values of different enum types are compared: e->propertyFlags(t) != ps. Types: PropertyFlags, PropertyFlags.
General Analysis | edit.cpp:3669 | Medium | V560 | A part of conditional expression is always false: strack > - 1.
General Analysis | noteline.h:51 | Medium | V690 | The 'NoteLine' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | element.cpp:630 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _width, _len.
General Analysis | fifo.h:42 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: maxCount.
General Analysis | fret.cpp:33 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lw1, lw2, stringDist, fretDist.
General Analysis | fret.cpp:41 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lw1, lw2, stringDist, fretDist.
General Analysis | hairpin.cpp:34 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: drawCircledTip, circledTipRadius.
General Analysis | hook.cpp:25 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _hookType.
General Analysis | harmony.cpp:931 | Medium | V547 | Expression 'cl' is always true.
General Analysis | harmony.cpp:140 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _rootSpelling, _baseSpelling, _rootRenderCase, _baseRenderCase.
General Analysis | harmony.cpp:154 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _rootSpelling, _baseSpelling, _rootRenderCase, _baseRenderCase.
General Analysis | image.cpp:133 | High | V595 | The 'score()' pointer was utilized before it was verified against nullptr. Check lines: 133, 162.
General Analysis | instrtemplate.h:48 | Medium | V690 | The 'InstrumentTemplate' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | instrtemplate.cpp:321 | Medium | V612 | An unconditional 'break' within a loop.
General Analysis | instrtemplate.cpp:330 | Medium | V612 | An unconditional 'break' within a loop.
General Analysis | instrument.cpp:122 | Medium | V794 | The copy operator should be protected from the case of 'this == &i'.
General Analysis | instrument.cpp:328 | High | V522 | Dereferencing of the null pointer 'customDrumset' might take place.
General Analysis | line.cpp:330 | Medium | V547 | Expression 'ls' is always false.
General Analysis | line.cpp:490 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lineWidthStyle, lineStyleStyle, lineColorStyle.
General Analysis | line.cpp:496 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lineWidthStyle, lineStyleStyle, lineColorStyle.
General Analysis | lyrics.cpp:70 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: placementStyle.
General Analysis | lyrics.cpp:769 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _numOfDashes, _dashLength.
General Analysis | layout.cpp:153 | Medium | V793 | It is odd that the result of the 'upVoices + downVoices' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis | layout.cpp:445 | Medium | V728 | An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression.
General Analysis | layout.cpp:1760 | High | V789 | Iterators for the 'oldList' container, used in the range-based for loop, become invalid upon the call of the 'erase' function.
General Analysis | layout.cpp:3405 | Medium | V688 | The 'score' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | layout.h:26 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: systemOldMeasure, endTick.
General Analysis | measure.cpp:89 | Medium | V690 | The 'MStaff' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | measure.cpp:1144 | Medium | V668 | There is no sense in testing the 'ots' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | measure.cpp:2220 | High | V522 | Dereferencing of the null pointer 'segment' might take place.
General Analysis | measure.cpp:227 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _noMode.
General Analysis | note.cpp:451 | High | V547 | Expression is always true.
General Analysis | note.cpp:459 | High | V547 | Expression is always true.
General Analysis | note.cpp:475 | High | V547 | Expression is always true.
General Analysis | note.cpp:1111 | High | V595 | The 'chord()' pointer was utilized before it was verified against nullptr. Check lines: 1111, 1115.
General Analysis | note.cpp:2937 | Medium | V796 | It is possible that 'break' statement is missing in switch statement.
General Analysis | rendermidi.cpp:1176 | Medium | V1001 | The 'ontime' variable is assigned but is not used until the end of the function.
General Analysis | repeatlist.cpp:429 | High | V595 | The 'jump' pointer was utilized before it was verified against nullptr. Check lines: 429, 439.
General Analysis | repeatlist.cpp:131 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: rs.
General Analysis | repeatlist.cpp:100 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: type, m, count.
General Analysis | repeatlist.cpp:106 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: count.
General Analysis | rest.cpp:186 | High | V501 | There are identical sub-expressions '(type == ElementType::STAFF_TEXT)' to the left and to the right of the '||' operator.
General Analysis | rest.cpp:341 | High | V595 | The 'staff()' pointer was utilized before it was verified against nullptr. Check lines: 341, 347.
General Analysis | rest.cpp:667 | Medium | V524 | It is odd that the body of 'downLine' function is fully equivalent to the body of 'upLine' function.
General Analysis | channel.cpp:54 | High | V781 | The value of the 'c' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 54, 81.
General Analysis | voice.h:35 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: steps, count, val, table.
General Analysis | zerberus.h:44 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: buffer.
General Analysis | staffstate.h:33 | Medium | V690 | The 'StaffState' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | score.cpp:1144 | Medium | V560 | A part of conditional expression is always false: sl == 0.
General Analysis | shadownote.cpp:45 | Medium | V519 | The '_notehead' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 43, 45.
General Analysis | fret.h:38 | Medium | V690 | The 'FretDiagram' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | sample.h:30 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _loopStart, _loopEnd, _loopMode.
General Analysis | tie.cpp:481 | High | V595 | The 'endNote()' pointer was utilized before it was verified against nullptr. Check lines: 481, 497.
General Analysis | spanner.cpp:659 | Medium | V592 | The expression was enclosed by parentheses twice: ((expression)). One pair of parentheses is unnecessary or misprint is present.
General Analysis | staff.cpp:1029 | Medium | V557 | Array overrun is possible. The value of 'cidx' index could reach 4.
General Analysis | staff.cpp:1030 | Medium | V557 | Array overrun is possible. The value of 'cidx' index could reach 4.
General Analysis | staff.cpp:1031 | Medium | V557 | Array overrun is possible. The value of 'cidx' index could reach 4.
General Analysis | staff.cpp:1032 | Medium | V557 | Array overrun is possible. The value of 'cidx' index could reach 4.
General Analysis | zone.cpp:22 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: loopStart, loopEnd.
General Analysis | staffstate.cpp:28 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lw.
General Analysis | staffstate.cpp:35 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _staffStateType, lw.
General Analysis | stafftype.cpp:1396 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1397 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1398 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1399 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1400 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1401 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1402 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1403 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1404 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1405 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1406 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1409 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:1410 | Medium | V601 | The bool type is implicitly cast to the double type. Inspect the 14 argument.
General Analysis | stafftype.cpp:856 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _beamLevel.
General Analysis | stafftype.cpp:867 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: _beamLevel.
General Analysis | stafftype.cpp:877 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _beamLength, _beamLevel, _beamGrid.
General Analysis | stem.cpp:142 | High | V595 | The 'chord()' pointer was utilized before it was verified against nullptr. Check lines: 142, 148.
General Analysis | system.cpp:63 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _distance.
General Analysis | pdf.cpp:41 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _doc, imgOut, _document.
General Analysis | scoreview.h:396 | High | V762 | It is possible a virtual function was overridden incorrectly. See third argument of function 'adjustCanvasPosition' in derived class 'ScoreView' and base class 'MuseScoreView'.
General Analysis | omrview.cpp:108 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: page, pageNo.
General Analysis | omrview.cpp:37 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: maxTiles, pageWidth.
General Analysis | omrpage.h:47 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: x1, x2, y.
General Analysis | omrpage.h:125 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _x1, _x2.
General Analysis | omrpage.cpp:1561 | Medium | V519 | The '_ratio' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1551, 1561.
General Analysis | omrpage.cpp:75 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _spatium, _ratio.
General Analysis | omrpage.cpp:55 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: sym.
General Analysis | text.cpp:1429 | High | V501 | There are identical sub-expressions to the left and to the right of the '-' operator: i - i
General Analysis | text.cpp:3149 | Medium | V547 | Expression '!wasHex' is always true.
General Analysis | pattern.cpp:33 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _id, _score, model, rows, cols.
General Analysis | pattern.cpp:146 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: model, rows, cols.
General Analysis | pattern.cpp:217 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _id, _score, model, rows, cols.
General Analysis | tuplet.cpp:33 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _tick, _id.
General Analysis | tuplet.cpp:48 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _id.
General Analysis | cmd.cpp:1907 | Medium | V560 | A part of conditional expression is always true: n.
General Analysis | cmd.cpp:2067 | Medium | V560 | A part of conditional expression is always true: cr.
General Analysis | cmd.cpp:2106 | Medium | V560 | A part of conditional expression is always true: cr.
General Analysis | cmd.cpp:2498 | Medium | V728 | An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!m->hasVoice(j)' and 'm->hasVoice(j)'.
General Analysis | tempo.cpp:22 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: time.
General Analysis | pos.cpp:59 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _frame.
General Analysis | pos.cpp:71 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _frame.
General Analysis | pos.cpp:81 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _tick.
General Analysis | figuredbass.cpp:1151 | High | V614 | Potentially uninitialized pointer 'lastCR' used.
General Analysis | figuredbass.cpp:1261 | High | V773 | The function was exited without releasing the 'pItem' pointer. A memory leak is possible.
General Analysis | figuredbass.cpp:1377 | Medium | V779 | Unreachable code detected. It is possible that an error is present.
General Analysis | figuredbass.cpp:1784 | Medium | V668 | There is no sense in testing the 'fb' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | figuredbass.cpp:49 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: textWidth.
General Analysis | figuredbass.cpp:958 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: _printedLineLength.
General Analysis | cursor.cpp:67 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: _expandRepeats.
General Analysis | paste.cpp:166 | High | V773 | The function was exited without releasing the 'tuplet' pointer. A memory leak is possible.
General Analysis | paste.cpp:758 | Medium | V668 | There is no sense in testing the 'nextSegm' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | paste.cpp:848 | Medium | V547 | Expression 'el' is always true.
General Analysis | noteline.cpp:18 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _startNote, _endNote.
General Analysis | noteline.cpp:23 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _startNote, _endNote.
General Analysis | spannermap.cpp:22 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: tree.
General Analysis | stafflines.cpp:40 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lw.
General Analysis | read114.cpp:651 | High | V517 | The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 651, 728.
General Analysis | read114.cpp:645 | High | V517 | The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 645, 726.
General Analysis | read114.cpp:1551 | High | V522 | Dereferencing of the null pointer 'segment' might take place.
General Analysis | read114.cpp:2334 | High | V773 | Visibility scope of the 'beam' pointer was exited without releasing the memory. A memory leak is possible.
General Analysis | read206.cpp:1879 | High | V522 | Dereferencing of the null pointer 'segment' might take place.
General Analysis | editharmony.cpp:140 | Medium | V668 | There is no sense in testing the 'segment' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | editharmony.cpp:221 | Medium | V668 | There is no sense in testing the 'segment' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | scoreview.cpp:179 | Medium | V668 | There is no sense in testing the 'pm' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | scoreview.cpp:1653 | Medium | V547 | Expression 'e' is always true.
General Analysis | scoreview.cpp:1740 | High | V517 | The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 1740, 1811.
General Analysis | scoreview.cpp:3923 | High | V595 | The 'mb' pointer was utilized before it was verified against nullptr. Check lines: 3923, 3931.
General Analysis | seq.h:69 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: id.
General Analysis | editfiguredbass.cpp:148 | Medium | V668 | There is no sense in testing the 'nextSegm' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | events.cpp:287 | Medium | V547 | Expression 'e' is always true.
General Analysis | importbww.cpp:174 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: ending.
General Analysis | importmxmlpass1.cpp:838 | Medium | V668 | There is no sense in testing the 'vbox' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | importmxmlpass1.cpp:944 | High | V614 | Uninitialized variable 'pageWidth' used. Consider checking the third actual argument of the 'doCredits' function.
General Analysis | importmxmlpass1.cpp:944 | High | V614 | Uninitialized variable 'pageHeight' used. Consider checking the fourth actual argument of the 'doCredits' function.
General Analysis | importmxmlpass1.cpp:2227 | Medium | V560 | A part of conditional expression is always true: 0 <= n.
General Analysis | instrdialog.cpp:199 | Medium | V688 | The 'cv' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importmxmlpass2.cpp:4331 | High | V773 | The function was exited without releasing the 'acc' pointer. A memory leak is possible.
General Analysis | importmxmlpass2.cpp:4956 | Medium | V547 | Expression 'invalidRoot' is always false.
General Analysis | importmxmlpass2.cpp:5253 | High | V674 | The '-2.5' literal of the 'double' type is compared to a value of the 'int' type. Consider inspecting the 'alter < - 2.5' expression.
General Analysis | importmxmlpass2.cpp:5253 | High | V674 | The '2.5' literal of the 'double' type is compared to a value of the 'int' type. Consider inspecting the 'alter > 2.5' expression.
General Analysis | instrwidget.cpp:521 | High | V595 | The 'item' pointer was utilized before it was verified against nullptr. Check lines: 521, 536.
General Analysis | palettebox.h:66 | Medium | V762 | It is possible a virtual function was overridden incorrectly. See second argument of function 'mousePressEvent' in derived class 'PaletteBox' and base class 'QWidget'.
General Analysis | stafftypechange.h:26 | Medium | V690 | The 'StaffTypeChange' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class.
General Analysis | menus.cpp:1227 | Medium | V760 | Two identical blocks of text were found. The second block begins from line 1233.
General Analysis | debugger.cpp:462 | Medium | V688 | The 'page' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | debugger.cpp:1714 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: el.
General Analysis | pagesettings.cpp:45 | Medium | V547 | Expression 'mmUnit' is always true.
General Analysis | palette.cpp:251 | High | V595 | The 'moreAction' pointer was utilized before it was verified against nullptr. Check lines: 251, 273.
General Analysis | timeline.cpp:944 | Medium | V601 | The 'false' value becomes a class object.
General Analysis | timeline.cpp:1004 | Medium | V601 | The 'false' value becomes a class object.
General Analysis | timeline.cpp:1450 | Medium | V601 | The 'true' value becomes a class object.
General Analysis | timeline.cpp:1816 | Medium | V522 | There might be dereferencing of a potential null pointer 'graphics_rect_item'.
General Analysis | mixer.cpp:220 | Medium | V678 | An object is used as an argument to its own method. Consider checking the first actual argument of the 'retranslateUi' function.
General Analysis | pianoroll.h:92 | High | V762 | It is possible a virtual function was overridden incorrectly. See third argument of function 'adjustCanvasPosition' in derived class 'PianorollEditor' and base class 'MuseScoreView'.
General Analysis | pianoroll.h:45 | Medium | V703 | It is odd that the '_score' field in derived class 'PianorollEditor' overwrites field in base class 'MuseScoreView'. Check lines: pianoroll.h:45, mscoreview.h:34.
General Analysis | exampleview.h:69 | High | V762 | It is possible a virtual function was overridden incorrectly. See third argument of function 'adjustCanvasPosition' in derived class 'ExampleView' and base class 'MuseScoreView'.
General Analysis | musescore.cpp:451 | Medium | V668 | There is no sense in testing the 'pm' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | musescore.cpp:471 | Medium | V668 | There is no sense in testing the 'pm' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | musescore.cpp:5168 | Medium | V547 | Expression '_timeline' is always true.
General Analysis | musescore.cpp:5522 | Medium | V688 | The 'settings' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | musescore.cpp:5534 | Medium | V688 | The 'settings' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | seq.cpp:321 | Medium | V728 | An excessive check 'preferences.useJackTransport' can be simplified. The '||' operator is surrounded by opposite expressions.
General Analysis | seq.cpp:325 | Medium | V728 | An excessive check 'preferences.useJackTransport' can be simplified. The '||' operator is surrounded by opposite expressions.
General Analysis | seq.cpp:353 | Medium | V728 | An excessive check 'preferences.useJackTransport' can be simplified. The '||' operator is surrounded by opposite expressions.
General Analysis | seq.cpp:722 | High | V595 | The 'cs' pointer was utilized before it was verified against nullptr. Check lines: 722, 745.
General Analysis | shortcutcapturedialog.cpp:119 | High | V590 | Consider inspecting this expression. The expression is excessive or contains a misprint.
General Analysis | editstaff.cpp:195 | Medium | V547 | Expression 'instrument.stringData()' is always true.
General Analysis | capxml.cpp:802 | High | V547 | Expression 'b & 2' is always false.
General Analysis | capxml.cpp:803 | High | V547 | Expression '(b & 4) != 0' is always false.
General Analysis | capxml.cpp:897 | High | V547 | Expression 'b & 1' is always false.
General Analysis | capxml.cpp:898 | High | V547 | Expression 'b & 2' is always false.
General Analysis | capxml.cpp:899 | High | V547 | Expression 'b & 4' is always false.
General Analysis | capxml.cpp:1088 | High | V547 | Expression 'b & 1' is always false.
General Analysis | capxml.cpp:1089 | High | V547 | Expression 'b & 2' is always false.
General Analysis | capxml.cpp:1119 | High | V547 | Expression 'b & 1' is always false.
General Analysis | capxml.cpp:1120 | High | V547 | Expression 'b & 2' is always false.
General Analysis | capxml.cpp:1121 | High | V547 | Expression 'b & 16' is always false.
General Analysis | capella.h:91 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: form, line, oct.
General Analysis | capella.h:112 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: signature.
General Analysis | capella.h:128 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: numerator, log2Denom, allaBreve.
General Analysis | capella.h:142 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _type, _barMode.
General Analysis | capella.h:263 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: width, yxRatio, height.
General Analysis | capella.h:291 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: b.
General Analysis | capella.h:316 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lineWidth.
General Analysis | capella.h:317 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: lineWidth.
General Analysis | capella.h:331 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: radius, bFilled.
General Analysis | capella.h:345 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: bFilled, lineWidth.
General Analysis | capella.h:360 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: waveLen, adapt.
General Analysis | capella.h:373 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: x0, x1, y.
General Analysis | capella.h:410 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: flags, strings.
General Analysis | capella.h:493 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: orientation, number.
General Analysis | exportaudio.cpp:162 | Medium | V519 | The 'playTime' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 147, 162.
General Analysis | capella.cpp:1807 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: bVerticalCentered.
General Analysis | pianoroll.cpp:255 | High | V595 | The 'st' pointer was utilized before it was verified against nullptr. Check lines: 255, 266.
General Analysis | pianoview.cpp:252 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _locator, locatorLines, ticks.
General Analysis | drumview.cpp:60 | Medium | V636 | The 'keyHeight / 2' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis | drumview.cpp:245 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: staff, _locator, locatorLines, ticks.
General Analysis | updatechecker.cpp:153 | High | V523 | The 'then' statement is equivalent to the 'else' statement.
General Analysis | harmonyedit.cpp:121 | High | V773 | The function was exited without releasing the 'cl' pointer. A memory leak is possible.
General Analysis | harmonyedit.cpp:228 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: dragElement.
General Analysis | ove.cpp:3696 | Medium | V547 | Expression 'oveKey <= 7' is always true.
General Analysis | ove.cpp:3779 | Medium | V506 | Pointer to local variable 'handle' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis | ove.cpp:3967 | High | V773 | The function was exited without releasing the 'voicePtr' pointer. A memory leak is possible.
General Analysis | ove.cpp:3849 | Medium | V506 | Pointer to local variable 'handle' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis | ove.cpp:4167 | Medium | V506 | Pointer to local variable 'handle' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis | ove.cpp:5513 | High | V773 | The function was exited without releasing the 'tuplet' pointer. A memory leak is possible.
General Analysis | ove.cpp:6317 | High | V773 | The function was exited without releasing the 'musicData' pointer. A memory leak is possible.
General Analysis | ove.cpp:6370 | High | V773 | The function was exited without releasing the 'wedge' pointer. A memory leak is possible.
General Analysis | ove.cpp:7234 | Medium | V547 | Expression 'info.lyricSize_ > 0' is always true.
General Analysis | ove.cpp:7234 | High | V571 | Recurring check. The 'if (info.lyricSize_ > 0)' condition was already verified in line 7232.
General Analysis | ove.cpp:7183 | Medium | V506 | Pointer to local variable 'handle' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis | ove.cpp:7302 | Medium | V522 | There might be dereferencing of a potential null pointer 'lyric'.
General Analysis | ove.cpp:7352 | Medium | V506 | Pointer to local variable 'handle' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis | ove.cpp:7519 | Medium | V522 | There might be dereferencing of a potential null pointer 'clef'.
General Analysis | ove.cpp:7720 | Medium | V522 | There might be dereferencing of a potential null pointer 'tuplet'.
General Analysis | ove.cpp:7852 | Medium | V547 | Expression 'middleMeasure != 0' is always false.
General Analysis | ove.cpp:3832 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: chunk_.
General Analysis | ove.cpp:7167 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: chunk_.
General Analysis | ove.cpp:7323 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: chunk_.
General Analysis | ruler.cpp:104 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _score, _locator.
General Analysis | importove.cpp:896 | Medium | V728 | An excessive check 'k > 0' can be simplified. The '||' operator is surrounded by opposite expressions.
General Analysis | importove.cpp:2013 | Medium | V728 | An excessive check can be simplified. The '||' operator is surrounded by opposite expressions.
General Analysis | importove.cpp:227 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: score_.
General Analysis | importgtp.cpp:883 | Medium | V688 | The 'tempo' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp.cpp:1152 | Medium | V763 | Parameter 'cr' is always rewritten in function body before being used.
General Analysis | importgtp.cpp:1248 | Medium | V688 | The 'tempo' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp.cpp:1675 | Medium | V560 | A part of conditional expression is always true: fretNumber <= 255.
General Analysis | importgtp.cpp:1647 | Medium | V581 | The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1643, 1647.
General Analysis | importgtp.cpp:1840 | Medium | V688 | The 'tempo' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp.cpp:2186 | High | V595 | The 'cr' pointer was utilized before it was verified against nullptr. Check lines: 2186, 2211.
General Analysis | importgtp.cpp:2368 | High | V773 | The 'gp' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | importgtp.cpp:2370 | High | V773 | The 'gp' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | importgtp.cpp:2372 | High | V773 | The 'gp' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | importgtp.cpp:2374 | High | V773 | The 'gp' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | importgtp.cpp:2378 | High | V773 | The function was exited without releasing the 'gp' pointer. A memory leak is possible.
General Analysis | importgtp.cpp:80 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: freeTime, volta.
General Analysis | importgtp.h:397 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: slides, buffer, legatos, barres, previousDynamic.
General Analysis | importgtp.h:398 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: slides, buffer, legatos, barres, previousDynamic.
General Analysis | importgtp-gp4.cpp:226 | Medium | V688 | The 'f' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp-gp4.cpp:289 | Medium | V581 | The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 285, 289.
General Analysis | importgtp-gp4.cpp:382 | Medium | V560 | A part of conditional expression is always false: slideKind == 254.
General Analysis | importgtp-gp4.cpp:382 | Medium | V560 | A part of conditional expression is always false: slideKind == 255.
General Analysis | importgtp-gp4.cpp:517 | Medium | V688 | The 'tempo' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp-gp4.cpp:743 | High | V773 | The 'lyrics' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | importgtp-gp4.cpp:811 | High | V595 | The 'cr' pointer was utilized before it was verified against nullptr. Check lines: 811, 836.
General Analysis | importgtp-gp5.cpp:185 | High | V773 | The 'lyrics' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | importgtp-gp5.cpp:505 | Medium | V560 | A part of conditional expression is always true: !mixChange.
General Analysis | importgtp-gp5.cpp:836 | Medium | V688 | The 'f' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | fotomode.cpp:420 | Medium | V547 | Expression 'transparent' is always false.
General Analysis | importgtp-gp6.cpp:100 | High | V766 | An item with the same key '"mrcs"' has already been added.
General Analysis | importgtp-gp6.cpp:101 | High | V766 | An item with the same key '"mrcs"' has already been added.
General Analysis | importgtp-gp6.cpp:539 | High | V773 | Visibility scope of the 'stringData' pointer was exited without releasing the memory. A memory leak is possible.
General Analysis | importgtp-gp6.cpp:785 | Medium | V688 | The 'slide' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp-gp6.cpp:1233 | Medium | V688 | The 'f' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp-gp6.cpp:1368 | Medium | V688 | The 'key' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp-gp6.cpp:2033 | Medium | V688 | The 'bars' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | importgtp-gp6.cpp:2072 | High | V774 | The 'slur' pointer was used after the memory was released.
General Analysis | importgtp-gp6.cpp:2093 | High | V773 | Visibility scope of the 'stringData' pointer was exited without releasing the memory. A memory leak is possible.
General Analysis | importgtp-gp6.cpp:2084 | Medium | V547 | Expression 'sd' is always true.
General Analysis | editstafftype.cpp:83 | Medium | V688 | The 'name' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | editstafftype.cpp:87 | Medium | V688 | The 'name' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | chordview.cpp:147 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _locator, _pos, locatorLine.
General Analysis | fretproperties.cpp:347 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: diagram.
General Analysis | file.cpp:359 | Medium | V668 | There is no sense in testing the 'score' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | file.cpp:1687 | Medium | V688 | The 'settings' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | file.cpp:2104 | High | V595 | The 'score' pointer was utilized before it was verified against nullptr. Check lines: 2104, 2105.
General Analysis | file.cpp:2100 | High | V595 | The 'score' pointer was utilized before it was verified against nullptr. Check lines: 2100, 2105.
General Analysis | file.cpp:2334 | High | V773 | The function was exited without releasing the 's' pointer. A memory leak is possible.
General Analysis | file.cpp:2429 | Medium | V688 | The 'mag' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | svggenerator.cpp:314 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _dx, _dy.
General Analysis | waveview.cpp:96 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _locator, _score, magStep.
General Analysis | inspectorGroupElement.h:36 | Medium | V762 | It is possible a virtual function was overridden incorrectly. See first argument of function 'setVisible' in derived class 'InspectorGroupElement' and base class 'QWidget'.
General Analysis | inspector.cpp:799 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: otherClef.
General Analysis | inspectorAmbitus.cpp:70 | Medium | V557 | Array overrun is possible. The value of 'i' index could reach 59.
General Analysis | importxml.cpp:41 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:42 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:43 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:44 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:45 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:46 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:47 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:48 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:49 | Medium | V560 | A part of conditional expression is always true.
General Analysis | importxml.cpp:50 | Medium | V560 | A part of conditional expression is always true.
General Analysis | exportxml.cpp:1886 | Medium | V688 | The 'trillStart' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis | exportxml.cpp:1886 | Medium | V688 | The 'trillStop' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis | exportxml.cpp:3466 | Medium | V688 | The 'tick' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis | exportxml.cpp:4698 | Medium | V547 | Expression 'c' is always true.
General Analysis | exportxml.cpp:4888 | High | V595 | The 'c' pointer was utilized before it was verified against nullptr. Check lines: 4888, 4890.
General Analysis | exportxml.cpp:4950 | Medium | V560 | A part of conditional expression is always true: instrument->stringData().
General Analysis | exportxml.cpp:5339 | High | V595 | The 'c' pointer was utilized before it was verified against nullptr. Check lines: 5339, 5341.
General Analysis | exportxml.cpp:313 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: brackets, hairpins, ottavas, trills.
General Analysis | paletteBoxButton.cpp:23 | Medium | V730 | It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: id.
General Analysis | driver.cpp:117 | High | V773 | The 'driver' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis | exampleview.cpp:41 | Medium | V668 | There is no sense in testing the '_fgPixmap' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | importmidi.cpp:905 | Medium | V560 | A part of conditional expression is always true: m.
General Analysis | importmidi_chord.h:15 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: pitch, velo.
General Analysis | importmidi_inner.h:110 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: id.
General Analysis | importmidi_model.cpp:359 | Medium | V560 | A part of conditional expression is always true: !searchTuplets.
General Analysis | importmidi_quant.cpp:545 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: metricalLevelForLen.
General Analysis | importmidi_voice.cpp:261 | Medium | V730 | Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: group.
General Analysis | importmidi_tempo.cpp:64 | High | V773 | The function was exited without releasing the 'tempoText' pointer. A memory leak is possible.
General Analysis | resourceManager.cpp:73 | Medium | V688 | The 'languages' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | resourceManager.cpp:151 | Medium | V522 | There might be dereferencing of a potential null pointer 'button'.
General Analysis | continuouspanel.cpp:38 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _score.
General Analysis | scoreaccessibility.cpp:158 | Medium | V793 | It is odd that the result of the 'e->staffIdx() + 1' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis | alsa.cpp:189 | Medium | V547 | Expression 'need_play' is always true.
General Analysis | alsa.cpp:204 | Medium | V547 | Expression 'need_play' is always true.
General Analysis | alsa.cpp:704 | Medium | V575 | The potential null pointer is passed into 'pthread_attr_init' function. Inspect the first argument.
General Analysis | alsa.cpp:587 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: thread, runAlsa.
General Analysis | pa.cpp:147 | Medium | V668 | There is no sense in testing the 'midiDriver' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis | pa.cpp:59 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: pos, startTime.
General Analysis | pulseaudio.cpp:189 | Medium | V575 | The potential null pointer is passed into 'pthread_attr_init' function. Inspect the first argument.
General Analysis | pulseaudio.cpp:206 | High | V547 | Expression 'runState == 0' is always false.
General Analysis | pulseaudio.cpp:72 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: ss, pa_ml, bufattr, buffer, thread.
General Analysis | jackaudio.cpp:938 | Medium | V547 | Expression '!preferences.useJackAudio' is always true.
General Analysis | jackaudio.cpp:41 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _segmentSize, fakeState, _jackName, timeSigTempoChanged.
General Analysis | mididriver.cpp:126 | Medium | V547 | Expression 'error == 2' is always false.
General Analysis | mididriver.cpp:209 | Medium | V505 | The 'alloca' function is used inside the loop. This can quickly overflow stack.
General Analysis | mididriver.cpp:243 | Medium | V505 | The 'alloca' function is used inside the loop. This can quickly overflow stack.
General Analysis | mididriver.cpp:479 | Medium | V684 | A value of the variable '(& event)->flags' is not modified. Consider inspecting the expression. It is possible that '1' should be present instead of '0'.
General Analysis | mididriver.cpp:485 | Medium | V684 | A value of the variable '(& event)->flags' is not modified. Consider inspecting the expression. It is possible that '1' should be present instead of '0'.
General Analysis | mididriver.cpp:488 | Medium | V684 | A value of the variable '(& event)->flags' is not modified. Consider inspecting the expression. It is possible that '1' should be present instead of '0'.
General Analysis | mididriver.cpp:491 | Medium | V684 | A value of the variable '(& event)->flags' is not modified. Consider inspecting the expression. It is possible that '1' should be present instead of '0'.
General Analysis | mididriver.cpp:497 | Medium | V684 | A value of the variable '(& event)->flags' is not modified. Consider inspecting the expression. It is possible that '1' should be present instead of '0'.
General Analysis | mididriver.cpp:43 | Medium | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: _alsaPort, _alsaClient.
General Analysis | mididriver.cpp:112 | High | V730 | Not all members of a class are initialized inside the constructor. Consider inspecting: alsaSeq.
General Analysis | mscorePlugins.cpp:61 | Medium | V688 | The 'pluginPath' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis | mscorePlugins.cpp:312 | High | V571 | Recurring check. The 'if (cm->isEmpty())' condition was already verified in line 311.
General Analysis | pluginCreator.cpp:84 | High | V523 | The 'then' statement is equivalent to the 'else' statement.