coding-blocks/DigitalOceanApp

View on GitHub
app/src/main/java/in/tosc/digitaloceanapp/activities/SplashActivity.java

Summary

Maintainability
A
1 hr
Test Coverage

Method onCreate has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        String authToken = getSharedPreferences("DO", MODE_PRIVATE).getString("authToken", "");

    Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
    Open

            Intent i = new Intent(this, DropletActivity.class);

    Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

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

    Extra separation in import group before 'in.tosc.digitaloceanapp.R'
    Open

    import in.tosc.digitaloceanapp.R;

    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.

    Parameter name 'v' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
    Open

                public void onClick(View v) {

    Checks that method parameter names conform to a specified pattern.By using accessModifiers property it is possibleto specify different formats for methods at different visibility levels.

    To validate catch parameters please useCatchParameterName.

    To validate lambda parameters please useLambdaParameterName.

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

    Parameter name 'v' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
    Open

                public void onClick(View v) {

    Checks that method parameter names conform to a specified pattern.By using accessModifiers property it is possibleto specify different formats for methods at different visibility levels.

    To validate catch parameters please useCatchParameterName.

    To validate lambda parameters please useLambdaParameterName.

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

    Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
    Open

                public void onFailure(Call<AccountInfo> call, Throwable t) {

    Checks that method parameter names conform to a specified pattern.By using accessModifiers property it is possibleto specify different formats for methods at different visibility levels.

    To validate catch parameters please useCatchParameterName.

    To validate lambda parameters please useLambdaParameterName.

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

    There are no issues that match your filters.

    Category
    Status