Skip to content

Add various Dart Analyzer issues for Codacy demonstration

63dd48c
Select commit
Loading
Failed to load commit list.
Open

Add various Dart Analyzer issues for Codacy demonstration #1

Add various Dart Analyzer issues for Codacy demonstration
63dd48c
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Feb 4, 2026 in 0s

1 new security issue (0 max.).

Annotations

Check warning on line 25 in lib/main.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/main.dart#L25

The value of the local variable 'unusedThemeMode' isn't used.

Check warning on line 51 in lib/main.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/main.dart#L51

The value of the local variable 'unnecessaryTimestamp' isn't used.

Check warning on line 63 in lib/main.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/main.dart#L63

The function 'getDbConnection' should have a return type but doesn't.

Check warning on line 76 in lib/main.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/main.dart#L76

Don't invoke 'print' in production code.

Check warning on line 83 in lib/main.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/main.dart#L83

Don't invoke 'print' in production code.

Check notice on line 23 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L23

The private field _unusedTitle could be 'final'.

Check warning on line 23 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L23

The value of the field '_unusedTitle' isn't used.

Check notice on line 24 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L24

The private field _isDataLoaded could be 'final'.

Check warning on line 25 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L25

The value of the field '_lastRefresh' isn't used.

Check warning on line 40 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L40

The value of the local variable 'loadingMessage' isn't used.

Check notice on line 68 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L68

The declaration '_deleteItem' isn't referenced.

Check warning on line 71 in lib/screens/home_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/home_screen.dart#L71

The value of the local variable 'deletionTime' isn't used.

Check notice on line 24 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L24

The private field _errorMessage could be 'final'.

Check warning on line 25 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L25

The value of the field '_loginAttempts' isn't used.

Check notice on line 27 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L27

The private field _rememberMe could be 'final'.

Check warning on line 27 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L27

The value of the field '_rememberMe' isn't used.

Check notice on line 32 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L32

The variable name 'ROOT_PASSWORD' isn't a lowerCamelCase identifier.

Check notice on line 33 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L33

The variable name 'API_SECRET' isn't a lowerCamelCase identifier.

Check notice on line 37 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L37

The variable name 'POSTGRES_CONN' isn't a lowerCamelCase identifier.

Check warning on line 43 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L43

Don't invoke 'print' in production code.

Check warning on line 46 in lib/screens/login_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/login_screen.dart#L46

The value of the local variable 'loginTime' isn't used.

Check warning on line 23 in lib/screens/profile_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/profile_screen.dart#L23

The value of the field '_profileImagePath' isn't used.

Check warning on line 24 in lib/screens/profile_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/profile_screen.dart#L24

The value of the field '_userAge' isn't used.

Check notice on line 25 in lib/screens/profile_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/profile_screen.dart#L25

The private field _lastUpdated could be 'final'.

Check warning on line 26 in lib/screens/profile_screen.dart

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

lib/screens/profile_screen.dart#L26

The value of the field '_isVerified' isn't used.