Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2015 at 11:38 UTC
Updated:
28 Feb 2016 at 17:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tomjamesallenweb@gmail.com commentedComment #3
beniamin.szaboThe automated review returned some issues. Please fix them.
Comment #4
tomjamesallenweb@gmail.com commentedHi Beniamin,
Thank you for your time. I did an automated review prior to submitting the project and eliminated the majority of the errors.
I don't believe any of the remaining errors are problems with the code. I have outlined them below, please let me know if you have any feedback.
Kind regards,
Tom
Eslint JS errors
The following JS errors are caused by the semi-colon immidiately before the opening function.
;(function ($, window) {This is a best practice for JavaScript plugins, as it avoids errors in the case that the previous JavaScript is missing the semi-colon on the last line.The third JavaScript error is caused be a
console.log(). I believe this is an acceptable use of console.log(), as it is there for the benefit of the developer, and notifies them if the required JS library (Imager.js) is missing. This output should never appear in production code providing the module has been correctly installed.js/imager-js-setup.js: line 18, col 7, Error - Unexpected console statement. (no-console)DrupalPractice
The following errors are caused by field option labels not being passed through the translate function. In these cases, the field label is not an item that should be translated. This option lets the user select which html tag should be used as a wrapper for the image. On line 72 the label is '
<div/>', and line 73 '<span/>'.For the following error,
drupal_add_js()anddrupal_add_css()seem like the best options. According to this thread the method recommended below isn't 100% reliable, anddrupal_add_js()anddrupal_add_css()are perfectly acceptable.Finally, the last two errors for the JS files are referring to the same semi-colons as the first two JS errors.
Comment #5
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxtomjamesallen2572263git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #6
tomjamesallenweb@gmail.com commentedI have already gone through the results from the automated test. Please see above.
Comment #7
melvix commentedAutomated Review
See attached file.
Manual Review
Module requirements listed in .info are not documented in README.
files[] = myinclude.inc.Suggest that you look at some existing 3rd-party integration modules to see how they handle their download/unpack/rename instructions.
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
This review uses the Project Application Review Template.
Comment #8
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.