TiagoMSSantos/MobileRT

View on GitHub

Showing 666 of 666 total issues

Wrong lexicographical order for 'java.util.concurrent.TimeUnit' import. Should be before 'org.jetbrains.annotations.Contract'.
Open

import java.util.concurrent.TimeUnit;

Checks that the groups of import declarations appear in the order specifiedby the user. If there is an import but its group is not specified in theconfiguration such an import should be placed at the end of the import list.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Wrong lexicographical order for 'java8.util.Optional' import. Should be before 'org.jetbrains.annotations.Contract'.
Open

import java8.util.Optional;

Checks that the groups of import declarations appear in the order specifiedby the user. If there is an import but its group is not specified in theconfiguration such an import should be placed at the end of the import list.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 104).
Open

        intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 180).
Open

        boolean internalStorage1 = path.matches("^" + escapedFileSeparator + "data" + escapedFileSeparator + "local" + escapedFileSeparator + "tmp" + escapedFileSeparator + ".+$");

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 106).
Open

                // double.class::cast method throws `ClassCastException: Integer cannot be cast to double`

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
Open

QT_END_MOC_NAMESPACE

This file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:\012`: [app/System_dependent/Native/Qt/build-Release/moc_about.cpp:14] #error "The header fileabout.hdoesnt include <qobject>."\012Q<em>MOC</em>OUTPUT<em>REVISION : [app/System</em>dependent/Native/Qt/build-Release/moc_about.cpp:16] #error "This file was generated using the moc from 5.15.3. It"</qobject>

This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
Open

QT_END_MOC_NAMESPACE

This file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:\012`: [app/System_dependent/Native/Qt/build-Debug/moc_about.cpp:14] #error "The header fileabout.hdoesnt include <qobject>."\012Q<em>MOC</em>OUTPUT<em>REVISION : [app/System</em>dependent/Native/Qt/build-Debug/moc_about.cpp:16] #error "This file was generated using the moc from 5.15.3. It"</qobject>

Function Java_puscas_mobilertapp_MainActivity_readFile argument 5 names different: declaration filePath definition jFilePath.
Open

        jstring jFilePath
app/System_dependent/Android_JNI/JNI_layer.hpp on lines 96..96

Function Java_puscas_mobilertapp_MainActivity_readFile argument 5 names different: declaration filePath definition jFilePath. (detailed CWE explanation)

This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
Open

QT_END_MOC_NAMESPACE

This file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:\012`: [app/System_dependent/Native/Qt/build-Release/moc_config.cpp:14] #error "The header fileconfig.hdoesnt include <qobject>."\012Q<em>MOC</em>OUTPUT<em>REVISION : [app/System</em>dependent/Native/Qt/build-Release/moc_config.cpp:16] #error "This file was generated using the moc from 5.15.3. It"</qobject>

The function Java_puscas_mobilertapp_MainActivity_readFile is never used.
Open

void JNICALL Java_puscas_mobilertapp_MainActivity_readFile(

The function Java_puscas_mobilertapp_MainActivity_readFile is never used. (detailed CWE explanation)

Checking if unsigned variable numChildren is less than zero.
Open

    if (numChildren <= 0) {

The unsigned variable numChildren will never be negative so it is either pointless or an error to check if it is. (detailed CWE explanation)

The function JNI_OnUnload is never used.
Open

void JNI_OnUnload(JavaVM *const /*jvm*/, void * /*reserved*/) {

The function JNI_OnUnload is never used. (detailed CWE explanation)

The function JNI_OnLoad is never used.
Open

::std::int32_t JNI_OnLoad(JavaVM *const jvm, void * /*reserved*/) {

The function JNI_OnLoad is never used. (detailed CWE explanation)

The function Java_puscas_mobilertapp_DrawView_rtStopRender is never used.
Open

void Java_puscas_mobilertapp_DrawView_rtStopRender(

The function Java_puscas_mobilertapp_DrawView_rtStopRender is never used. (detailed CWE explanation)

The function Java_puscas_mobilertapp_MainActivity_resetErrno is never used.
Open

void Java_puscas_mobilertapp_MainActivity_resetErrno(

The function Java_puscas_mobilertapp_MainActivity_resetErrno is never used. (detailed CWE explanation)

This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
Open

QT_END_MOC_NAMESPACE

This file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:\012`: [app/System_dependent/Native/Qt/build-Debug/moc_config.cpp:14] #error "The header fileconfig.hdoesnt include <qobject>."\012Q<em>MOC</em>OUTPUT<em>REVISION : [app/System</em>dependent/Native/Qt/build-Debug/moc_config.cpp:16] #error "This file was generated using the moc from 5.15.3. It"</qobject>

This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
Open

QT_END_MOC_NAMESPACE

This file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:\012`: [app/System_dependent/Native/Qt/build-Debug/moc_mainwindow.cpp:14] #error "The header filemainwindow.hdoesnt include <qobject>."\012Q<em>MOC</em>OUTPUT<em>REVISION : [app/System</em>dependent/Native/Qt/build-Debug/moc_mainwindow.cpp:16] #error "This file was generated using the moc from 5.15.3. It"</qobject>

This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
Open

QT_END_MOC_NAMESPACE

This file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:\012`: [app/System_dependent/Native/Qt/build-Release/moc_mainwindow.cpp:14] #error "The header filemainwindow.hdoesnt include <qobject>."\012Q<em>MOC</em>OUTPUT<em>REVISION : [app/System</em>dependent/Native/Qt/build-Release/moc_mainwindow.cpp:16] #error "This file was generated using the moc from 5.15.3. It"</qobject>

The function Java_puscas_mobilertapp_DrawView_rtStartRender is never used.
Open

void Java_puscas_mobilertapp_DrawView_rtStartRender(

The function Java_puscas_mobilertapp_DrawView_rtStartRender is never used. (detailed CWE explanation)

The function Java_puscas_mobilertapp_DrawView_rtGetNumberOfLights is never used.
Open

::std::int32_t Java_puscas_mobilertapp_DrawView_rtGetNumberOfLights(

The function Java_puscas_mobilertapp_DrawView_rtGetNumberOfLights is never used. (detailed CWE explanation)

Severity
Category
Status
Source
Language