The Daedalus module associates Student Learning Outcomes (SLO) with courses in order to build, maintain, monitor and visualize curricula. SLO's are tasks that can be accomplished by a student which will be taught, and evaluated in one or more courses. When a curriculum map is completed users may view visual representations created by Graphviz, an open source graph visualization software.
Daedalus has been under active development at Dalhousie University for over a year and is nearing completion.
Comments
Comment #1
sreynen commentedHi Halidal,
On a quick glance at the code, it's clear it has quite a few issues with coding standards. Please use the Coder module to identify and fix these issues. While coding standards aren't an absolute requirement, not following them makes it difficult for others to read your code, both in this review and in future collaboration.
A couple more specific issues I noticed:
Comment #2
Halidal commentedThe coder module failed to identify errors in most of the scripts, perhaps due to their size. I have managed to clean up large swaths of the code.
LICENSE.txt has been removed including any reference to license information.
The hook_schema() is now used to install and uninstall the database tables.
Comment #3
jordojuice commentedYou should configure git to identify you with your drupal.org email so you get credit for your commits. The git instructions tab in your sandbox explains how to do this.
Comment #4
jordojuice commentedAs for coding standards, they can be found at http://drupal.org/coding-standards.
If Coder module is not working, a start would be to correct indentation, two spaces, no tabs.
Conditionals should always use brackets.
elseorelseifshould be formatted likeUsing @param and @return in comments is good, but it's even better to explain what the parameters are. That would be on the next line, indented two extra spaces.
82 drupal_set_title("Build Course Code <a class='show-help'><img src='".$question_img_src."' align='right' alt='?' /></a>");you should be using t() and placeholders for variables in cases like this.
I would just recommend checking out core module files for good examples of coding standards. This could be a good task to complete while you wait for review, as it should help ensure a smooth one.
Comment #5
Halidal commentedCopying the individual files into the daedalus.module file allowed the coder module to work correctly. Each error detected by the module was corrected.
hook_schema() has been implemented to install and remove the database tables.
The t() function has been used for each title and form value.
Comment #6
jpontani commentedAs jordojuice pointed out, you need to read through the Coding Standards (http://drupal.org/coding-standards) and run through your code and make the necessary changes. There are quite a few things with your code that reading through the coding standards will fix.
If you've already made the changes according to those standards, you need to recommit any changes, as your last commit was over a week ago.
Comment #7
Halidal commentedCoding standards have been followed and yes I did recommit the code base. I committed the code just before my last comment. I'll do it again now since there has been many changes since my last commit.
My last commit:
Commit 700dbbf7b801b68e35a8fbbe76eb8a3cec30cb66
August 29, 2011 19:55
My last post date says:
Posted by Halidal on September 6, 2011 at 7:18pm
Comment #8
Halidal commentedCommit 34efc20142a8a178da538b3a67d480e4408d5e91
Code base up to date.
Comment #9
Halidal commentedComment #10
sreynen commentedI opened a few more issues in the project issue queue. This is still not a comprehensive review. In general, the code doesn't follow Drupal conventions much at all, which makes it difficult to review. Please set this back to "needs review" when the open issues are fixed and someone will take another look.
Comment #11
misc commentedThe applicant has been contacted to ask if the application is abandoned.
Comment #12
Halidal commentedNo it has not been abandoned, Daedalus is a Faculty of Computer Science project at Dalhousie University. The priority is for maintaining the code at the FCS. When time permits I will look at the project issue queue and bring the code up to the drupal coding standards.
Comment #13
misc commentedShould we mark this as postponed until you have the time to take care of the issues?
Comment #14
misc commentedComment #15
Halidal commentedTwo issues cleared up, multiple coding issues cleaned up.
Comment #16
patrickd commentedComment #17
Halidal commentedComment #18
patrickd commentedplease don't assign the application to your self, only the current reviewer should do this (see application workflow)
Comment #19
patrickd commentedSorry for the delay, I just recognized that the automated report throws much stuff you got to work on:
It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Get a review bonus and we will come back to your application sooner.
Also
Comment #20
Halidal commentedI am not sure if I should be creating a tag for creating stable releases or move from a master to a major version branch? All other issues have been cleaned up.
Comment #21
patrickd commentedI don't recommend doing any tags/release-marking until the project is a full one
also don't forget to switch back to needs review when your ready
Comment #22
Halidal commentedI was unable to "Find the release node pointing at master" in the instructions for Moving from a master to a major version branch. So I am currently unable to continue from step 1 as I am not sure if the all or any of the following steps are required.
Comment #23
sreynen commentedHalidal, steps 2 through 4 of those instructions don't apply to sandbox projects (since you have no releases), so you can just skip them and go straight to step 5 after 1.
Comment #24
Halidal commentedComment #25
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.