davidmigloz/go-bees

View on GitHub
app/src/main/java/com/davidmiguel/gobees/about/AboutFragment.java

Summary

Maintainability
A
1 hr
Test Coverage

Method onCreateView has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View root = inflater.inflate(R.layout.about_frag, container, false);
Severity: Minor
Found in app/src/main/java/com/davidmiguel/gobees/about/AboutFragment.java - About 1 hr to fix

    Distance between variable 'recyclerView' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
    Open

            RecyclerView recyclerView = (RecyclerView) root.findViewById(R.id.recycler_view);

    Checks the distance between declaration of variable and its first usage.Note : Variable declaration/initialization statements are not countedwhile calculating length.

    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