devth/yetibot

View on GitHub
src/yetibot/models/imgflip.clj

Summary

Maintainability
Test Coverage

Non-idiomatic code found in (-> (jsoup/get-elems mt-box "a img") (jsoup/get-attr "src"))
Open

              url (-> (jsoup/get-elems mt-box "a img")
Severity: Minor
Found in src/yetibot/models/imgflip.clj by kibit

Consider using:

(jsoup/get-attr (jsoup/get-elems mt-box "a img") "src")

instead of:

(-> (jsoup/get-elems mt-box "a img") (jsoup/get-attr "src"))

Non-idiomatic code found in (into [] (search-via-scrape q 1))
Open

   (let [initial-memes (into [] (search-via-scrape q 1))]
Severity: Minor
Found in src/yetibot/models/imgflip.clj by kibit

Consider using:

(vec (search-via-scrape q 1))

instead of:

(into [] (search-via-scrape q 1))

There are no issues that match your filters.

Category
Status