This module is an extension to the Quiz module.
Currently the quiz module does not offer export facility for the quiz admin where they can generate a report in a file.
This module exports the result of the Quiz in a csv file format. Following fields are exported into the csv file (UID, USERNAME, SCORE, EVALUATED, STARTED, FINISHED and DURATION).
Here is the link to the sandbox project.
This module was successfully passed pareview.sh test.
Setting up repository for the first time
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Shaggy/2532144.git quiz_result_export
Comments
Comment #1
PA robot commentedGit clone command for the sandbox is missing in the issue summary, please add it.
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 #2
shaggy commentedComment #3
shaggy commentedAdded git clone command for the sandbox.
Comment #4
shaggy commentedComment #5
nmillin commented@Shaggy
To help others, the title should include the Drupal version. Ex: [D7] Quiz Result Export per https://www.drupal.org/node/1011698.
The link to the Sandbox project is a 404 (http://git.drupal.org/sandbox/Shaggy/2532144.git). It should be https://www.drupal.org/sandbox/shaggy/2532144.
The git clone instructions on https://www.drupal.org/node/2532144/git-instructions/7.x-1.x/nonmaintainer are different from what you have since you are the maintainer. Updating it to
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Shaggy/2532144.git quiz_result_exportwould help others clone the repo quickly.Automated Review
Looks good. No automated test cases were found, but is not a requirement.
Note that perfect adherence to Drupal Coding Standard is NOT a reason to block an application, except for total disregard of them. However, modules should follow them as closely as possible.
Manual Review
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.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #6
shaggy commentedComment #7
shaggy commentedComment #8
shaggy commentedComment #9
shaggy commentedRectified as per comments given.
Comment #10
swaps commented@shaggy
Automated Review
Looks Good .
Manual Review
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
https://www.drupal.org/node/2521904 , implements the same functionality.
Please consider mentioning the reason or any further enhancement you are plannning to justify.
Master Branch
Yes: Follows the guidelines for master branch.
README.txt/README.md
No: Remove .README.txt.swp file from sandbox.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
Coding style & Drupal API usage
The best practice is to use Drupal functions rather than using their PHP counter parts.
* Use drupal_add_http_header insead of header()
Comment #11
shaggy commentedModified as per @SwapS comments.
Comment #12
kporras07 commented@Shaggy
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
No: Causes module duplication and/or fragmentation. https://www.drupal.org/node/2521904 duplicates this functionality.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
README.txt/README.md
No: Does not follow the guidelines for in-project documentation and/or the README Template. The project description and readme.txt need more text.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Coding style & Drupal API usage
[List of identified issues in no particular order. Use (*) and (+) to indicate an issue importance. Replace the text below by the issues themselves:
* Since die is equivalent to exit() and Drupal has a wrapper for that function; I'd recommend to use drupal_exit() instead of die. (Line 128)
* Comment for hook_permission says "Implements hook_perm()"; it should be "Implements hook_permission()".
* From lines 86 to 92; there are strings without t funcion. I think it'd recommend you to wrap those strings in t function.
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.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
Comment #13
shaggy commentedModified as per @kporras07 comments.
Comment #14
shaggy commentedComment #15
th_tushar commentedHi Shaggy,
The quiz results can be exported using Views Data Export module which is already mentioned on the Quiz project page. Why this module is required anymore?
Comment #16
klausiModule duplication is not an application blocker anymore, we can only point applicants to existing solutions but it is their decision to use that or not.
Comment #17
swaps commentedComment #18
swaps commentedComment #19
shaggy commented@th_tushar
I completely agree with you, but a problem has different ways of solution. This is just a straight forward module which will provide Quiz admin a link to download reports.
Comment #20
shaggy commentedComment #21
shaggy commentedComment #22
ManishMittal commentedHi,
In this project Please remove the core parameter form the quiz_result_export.info because drupal.org will add the core parameter in project when the project will error free and going to be a full project.
Comment #23
mdryanAutomated Review
Lines 5, 6 and 24 in README.txt significantly exceed 80 characters and should be manually wrapped
Note that perfect adherence to Drupal Coding Standard is NOT a reason to block an application, except for total disregard of them. However, modules should follow them as closely as possible.
Manual Review
This module is compatible with the 7.x-4.x version of the quiz module and not with version 7.x-5.x. As version 5 is recommended for new installs it would be nice if a note was made of this on the module page, or even better if the module was made compatible with both versions.
These comments in the code walkthrough are all recommendations and are not application blockers.
This review uses the Project Application Review Template.
Comment #24
mdryan(forgot to update status)
Comment #25
klausi@mdryan: thanks, that are useful suggestions for improving the module. They are not critical application blockers though, anything else that you found or should this be RTBC instead?
Comment #26
mdryanAgree, nothing that's an application blocker.
Comment #27
damienmckennaThanks for your contribution, Shagun!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.