porkbuns/shmile

View on GitHub
lib/image_compositor.coffee

Summary

Maintainability
Test Coverage

Line exceeds maximum allowed length
Open

      GEOMETRIES = [ IMAGE_GEOMETRY + "+" + IMAGE_PADDING + "+" + IMAGE_PADDING, IMAGE_GEOMETRY + "+" + (2 * IMAGE_PADDING + IMAGE_WIDTH) + "+" + IMAGE_PADDING, IMAGE_GEOMETRY + "+" + IMAGE_PADDING + "+" + (IMAGE_HEIGHT + 2 * IMAGE_PADDING), IMAGE_GEOMETRY + "+" + (2 * IMAGE_PADDING + IMAGE_WIDTH) + "+" + (2 * IMAGE_PADDING + IMAGE_HEIGHT) ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Unnecessary fat arrow
Open

      doGenerateThumb = =>
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

      convertArgs = [ "-size", TOTAL_WIDTH + "x" + TOTAL_HEIGHT, "canvas:white" ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

        compositeArgs = [ "-gravity", "center", @opts.overlay_src, OUTPUT_PATH, "-geometry", TOTAL_WIDTH + "x" + TOTAL_HEIGHT, FINAL_OUTPUT_PATH ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

Line exceeds maximum allowed length
Open

      resizeCompressArgs = [ "-size", "25%", "-quality", "20", FINAL_OUTPUT_PATH, FINAL_OUTPUT_THUMB_PATH ]
Severity: Minor
Found in lib/image_compositor.coffee by coffeelint

There are no issues that match your filters.

Category
Status