Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2015 at 12:33 UTC
Updated:
22 Jun 2015 at 16:24 UTC
Jump to comment: Most recent
Comments
Comment #1
andrdrx commentedHello, MarcKwee!
Manual review
Individual user account - Yes: Application issue contains a link to the project page and a working "git clone" command.
No duplication - Yes: Does not cause module duplication.
Master Branch - Yes: Master branch is set proper to 7.x-1.x
Licensing - Yes: Repository does not contain a ‘LICENSE.txt’ file.
3rd party code/content - No: Repository does not contain any 3rd party code.
Project page docs - Yes: Project page contains not enough information. Please follow this guidelines.
Repository contains a detailed README.txt- Yes: Repository contains a detailed README.txt.
Code contains a well-balanced amount of inline-comments - Yes: Code contains inline comments and function comments.
PAreview.sh review
Please see automated report here :
http://pareview.sh/pareview/httpgitdrupalorgsandboxmarckwee2459291git
Thank You!
Comment #2
PA robot commentedWe 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 #3
marckwee commentedComment #4
marckwee commentedSorry this is a module off course...
Comment #5
immoreel commentedHey there MarcKwee!
Manual Review
Individual user account - Yes: Application issue contains a link to the project page and a working "git clone" command.
No duplication - Yes: Does not cause module duplication.
Master Branch - Yes: Master branch is set proper to 7.x-1.x
Licensing - Yes: Repository does not contain a ‘LICENSE.txt’ file.
3rd party code/content - No: Repository does not contain any 3rd party code.
Project page docs - Yes: Project page contains not enough information. There are some small grammatical issues though
Repository contains a detailed README.txt- Yes: Repository contains a detailed README.txt.
Code contains a well-balanced amount of inline-comments - Yes: Code contains inline comments and function comments.
Also there's a helper function that doesn't start with an underscore (public_tags_get_public_fields)
I also ran codesniffer and it reported the following:
Comment #6
mr_infinity commentedHello MarcKwee,
Nice job! Little info down here.
Comment #7
basvanderheijden commentedNice! I could think of many use cases where this could be very useful.
Pretty complex module you've written :-) Good job!
My two cents:
See line 179: $form[$field_name][LANGUAGE_NONE]['#title'] = t($settings['label']);
Why are you passing variable names through t(); ?
This could potentially pollute the database. Because if I later decide to change the label (i.e. $settings['label'] receives a new value):
1. my older translations no longer work (because they do not match),
2. the old translation (in the locales_target table) is now orphan.
Furthermore, try to be consistent (i.e. follow Drupal standards) when to use newlines and not. For instance: on line 176 you introduce a newline after an else statement (unnecessary). But you fail to give a newline after the form element definition (between lines 166 and 167).
And one word of advice: try to put all your helper functions in a separate file. The reason for this is twofold: firstly the .module file gets loaded on each requests. But the functionality contained within your helper function is not needed in every request. Secondly: it cleans up and enhances the readability of your module if the module file only contains hook implementations.
Lastly, try to correct the spelling in comments, such as:
Public_tags.module:
Line 294: Because form can be shown multiple times per page.
Line 275: Store all public fields for entity/bundle.
README.txt:
... related to an entity.
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.