Skip to content

Master#1

Open
ghost wants to merge 54 commits intocosc442spring2017:masterfrom
nrwinner:master
Open

Master#1
ghost wants to merge 54 commits intocosc442spring2017:masterfrom
nrwinner:master

Conversation

@ghost
Copy link

@ghost ghost commented May 12, 2017

No description provided.

DonSeannelly and others added 30 commits April 25, 2017 15:44
A reports directory has been added for reports generated from the code
base. The dependency report has been added, and analysis of it shows heavy
Efferent Coupling to model classes.

One potential notion is to run mutation testing on the model class tests
to ensure stability here. The report is also now available for further
analysis.
Refactoring of several methods has lowered the average cyclomatic
complexity to a 5.99. Further refactoring of several methods is needed to
lower their cyclomatic complexity below the maintainability threshold (set
at 6.0). Due to time constraints on the project, this task will be put off
until a later time.

Resolves: #1
The class has undergone refactoring to lower the cyclomatic complexity
below 6. Larger methods have been broken into several private methods to
promote readability and maintainability.

Resolves: #2
Made a new method to do the if statement. reduced to 5.
Complexity reduced to 3.5
Added the report.txt file as well as a screenshot of the package
violations
The subprocesses of the buildDetail method were extracted to private
methods.

Resolves: #3
A subprocess of the constructor was extracted to a private method.

Resolves: #9
Reduced complexity from 8.50 to 6.50
Lowered from 7 to 5.50
Reduced complexity from 13 to 5.66
Reduced to 4.00
Reduced Complexity to 5.33
Reduced complexity to a crisp 4.33
Excellent Resolution.
Reduced to 5.5
Should place it at 5.86
DonSeannelly and others added 24 commits May 11, 2017 18:52
Got it below 6
Reduced complexity from 8.50 to 5.88
Reduced complexity from 6.50 to 4.66
Reduced complexity from 6.00 to 4.75
Reduced from 6.47 to 5.99
Reduced complexity from 12.06 to 5.88
Reduced complexity from 7.12 to 5.90
got it down to 5.88
Crisp 4.57
I can't believe this works
Crisp 5.85
Tried reverting a commit
If you have the starting name Midas you will begin the game with 500
gold.
Assigned this commit to the issue
…rom after, to illustrate the the differences in cyclomatic complexity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants