944,053 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 2599
  • Java RSS
Oct 29th, 2004
0

Help Needed Urgently With Coding

Expand Post »
Hi all, been trying to code the following program for ages, if anyone can help please do so.

Code a java program that will determine the cyclomatic complexity(CC) of any given java source code module held in a text file. The program is to display the CC. Note- CC=Number of simple conditional statements (ifs, whiles, repeats, etc) + 1.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
NicolaD is offline Offline
2 posts
since Oct 2004
Oct 29th, 2004
0

Re: Help Needed Urgently With Coding

Please choose a different name for your thread titles in the future. "Help Needed Urgently With Coding" tells us nothing specific about what you need ( I mean, you've posted in a Coding forum, obviously you need coding help).

Additionally, stating you need help "Urgently" is rude. It is rude to the other members who have posted here before you. Urgent to you or not, wait your turn.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Oct 29th, 2004
0

Re: Help Needed Urgently With Coding

>if anyone can help please do so.
I don't see a problem. Open the Java source file, read it line by line, and do a string search for the appropriate keywords. The result is a good start for your solution; you can refine the search from there on the off chance that one of the keywords is a part of a larger identifier.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 29th, 2004
0

Re: Help Needed Urgently With Coding

Quote originally posted by alc6379 ...
Please choose a different name for your thread titles in the future. "Help Needed Urgently With Coding" tells us nothing specific about what you need ( I mean, you've posted in a Coding forum, obviously you need coding help).

Additionally, stating you need help "Urgently" is rude. It is rude to the other members who have posted here before you. Urgent to you or not, wait your turn.
Sorry for being so rude, first time on the site. In future I will name my thread correctly. Thank you for your advice. If possible you could please help me.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
NicolaD is offline Offline
2 posts
since Oct 2004
Oct 30th, 2004
0

Re: Help Needed Urgently With Coding

Post some code so that we can see that you've made an attempt at solving the problem. A naive solution is immediately obvious and easily written. If you've put some effort into this problem then you'll have a workable solution and thus, a specific question as to how it can be improved.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: window in awt
Next Thread in Java Forum Timeline: Please help me whit this java question.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC