The Customer DAO

##### Project Documentation

- Project Information
- Project Reports
  - Surefire Report
  - Javadoc
  - SpotBugs
  - JaCoCo
  - Checkstyle
  - CPD
  - PMD
  - Source Xref
  - Test Source Xref
  - Dependency Check
  - DSM Report
  - Tag List

## Checkstyle Results

The following document contains the results of Checkstyle 9.0.1 with ../MavenBuildMaster/config/StyleRules.xml ruleset.

rss feed

## Summary

Files | Info | Warnings | Errors
--- | --- | --- | ---
13 | 0 | 37 | 0

## Files

File | I | W | E
--- | --- | --- | ---
org/example/customerdao/CustomerDAOImpl.java | 0 | 7 | 0
org/example/customerdao/OrderDAOImpl.java | 0 | 9 | 0
org/example/customerdao/ProductDAOImpl.java | 0 | 7 | 0
org/example/customerdao/SupplierDAOImpl.java | 0 | 9 | 0
org/example/customerdao/utility/ErrorFormatter.java | 0 | 5 | 0

## Rules

Category | Rule | Violations | Severity
--- | --- | --- | ---
blocks | LeftCurly tokens: `"CLASS_DEF,CTOR_DEF,INTERFACE_DEF,METHOD_DEF,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE"` option: `"nl"` | 2 | Warning
coding | MagicNumber | 32 | Warning
design | HideUtilityClassConstructor | 1 | Warning
javadoc | MissingJavadocMethod | 1 | Warning
misc | FinalParameters | 1 | Warning

## Details

### org/example/customerdao/CustomerDAOImpl.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | coding | MagicNumber | '3' is a magic number. | 270
Warning | coding | MagicNumber | '4' is a magic number. | 271
Warning | coding | MagicNumber | '5' is a magic number. | 272
Warning | coding | MagicNumber | '3' is a magic number. | 336
Warning | coding | MagicNumber | '4' is a magic number. | 337
Warning | coding | MagicNumber | '5' is a magic number. | 338
Warning | coding | MagicNumber | '6' is a magic number. | 339

### org/example/customerdao/OrderDAOImpl.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | coding | MagicNumber | '3' is a magic number. | 328
Warning | coding | MagicNumber | '4' is a magic number. | 329
Warning | coding | MagicNumber | '3' is a magic number. | 363
Warning | coding | MagicNumber | '4' is a magic number. | 364
Warning | coding | MagicNumber | '3' is a magic number. | 429
Warning | coding | MagicNumber | '4' is a magic number. | 430
Warning | coding | MagicNumber | '5' is a magic number. | 431
Warning | coding | MagicNumber | '3' is a magic number. | 449
Warning | coding | MagicNumber | '4' is a magic number. | 450

### org/example/customerdao/ProductDAOImpl.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | coding | MagicNumber | '3' is a magic number. | 307
Warning | coding | MagicNumber | '4' is a magic number. | 308
Warning | coding | MagicNumber | '5' is a magic number. | 309
Warning | coding | MagicNumber | '3' is a magic number. | 366
Warning | coding | MagicNumber | '4' is a magic number. | 367
Warning | coding | MagicNumber | '5' is a magic number. | 368
Warning | coding | MagicNumber | '6' is a magic number. | 369

### org/example/customerdao/SupplierDAOImpl.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | coding | MagicNumber | '3' is a magic number. | 287
Warning | coding | MagicNumber | '4' is a magic number. | 288
Warning | coding | MagicNumber | '5' is a magic number. | 289
Warning | coding | MagicNumber | '6' is a magic number. | 290
Warning | coding | MagicNumber | '3' is a magic number. | 360
Warning | coding | MagicNumber | '4' is a magic number. | 361
Warning | coding | MagicNumber | '5' is a magic number. | 362
Warning | coding | MagicNumber | '6' is a magic number. | 363
Warning | coding | MagicNumber | '7' is a magic number. | 364

### org/example/customerdao/utility/ErrorFormatter.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 5
Warning | blocks | LeftCurly | '{' at column 29 should be on a new line. | 5
Warning | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 7
Warning | misc | FinalParameters | Parameter sqle should be final. | 7
Warning | blocks | LeftCurly | '{' at column 55 should be on a new line. | 7