was mark twains book adventures of tom sawyer literary device be considered humor?

Humor is definitely one of his devices.

To achieve this he often uses "irony".
He also uses dialect (slang). Twain uses a straight forward, no nonsense style. He "tells it as it is."

Check out this site.
http://www.sparknotes.com/lit/tomsawyer/themes.html