首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写Java程序|代做数据库SQL|代做Web开发|代做Matlab程序
项目预算:
开发周期:
发布时间:
要求地区:
Massey University
159.251 - Software Design and Construction
Assignment 1 - 2023
Deadlines and penalties
You must submit your final work using the stream submission system no later than 10th
October 2023 at 11.59pm (China time). The penalty is 10% deducted from the total possible
mark for every day delay in submission (one day late – out of 90%, two days late then out of
80% … etc.).
You are expected to manage your source code and other deliverables.
“The Cat Ate My Source Code” is not a valid excuse for a late submission.
Contribution to Final Grade of the Course: 22%
Read carefully as there are many parts that you should be aware of.
Overview
You are to work in self-selected pairs (i.e., select your teammate) to create the program
defined below, using git to manage source code contribution and integration between the two
developers. All project issues and changes should be tracked using an issue tracker (setup
within your repository).
Note: Both members of the group will receive the same mark, unless it is clear that the
work is predominantly that of a single person. These will be sorted out on a case-by-case
basis. The partition of the work is entirely up to you and your project partner.
Part of this assignment is to become familiar with using git for version control. You will need
to use GitHub for this assignment, and the repository must be private.
IMPORTANT: use the following conventional name for your repository: 251-Assignment1-
2022-FirstName1-FirstName2. For example, if the first student is Sarah and second student
is Li, then the repository name should be (251-Assignment1-2022-Sarah-Li).
2
Please send invitations to join your Github repository to the following GitHub user ID:
mimt087.
If you face issues accessing GitHub with/without VPN then you can use Gitee. Here is my
id: mimt_0c5b. If your group decides to use Gitee, do email me with the member names and
let me know.
This is important and will be part of your assessment.
Tools Required
● IDE independent: you may develop this in any IDE or code editor you like! Tools
included here are available for major IDEs, and also as Maven dependencies. Any
Java IDE (Eclipse or IntelliJ or any other of your choice) would work.
● Git (for version control)
● Issue Tracker (for log changes and bugs)
● Maven (for dependency management and process automation)
● A metrics tool such as Eclipse Metrics Plugin, MetricsReloaded, CodeMR, (or any
other alternative)
● PMD Maven plugin (for code quality check)
● Other libraries to perform the different functionalities (you are free to search and use
any library that will help in implementing your functionality.
Tasks
1) Developing a text editor program using Java – see details below.
2) Source code and version control:
a) create and maintain a git repository on your local machine for your source code,
and on a remote repository to provide a central server accessible to both
members, and also accessible for marking.
b) keep an audit trail of commits in the git repository. These will inform part of
the marking.
c) Make sure that you actively (on an almost daily basis) use git features of
branching and merging (not only on the last day before submission!).
d) write your configuration files using YAML format. You must submit at least one
configuration file that works with the text editor. This could be a file with the
default parameters for the text editor such as the default text format or default
font colour.
3) Log changes and bugs: Keep track of changes and issues – use an issue tracker
as part of your version control. Please use the same issue tracker that is provided by
your git project hosting site (e.g., the “issues” feature in github). This has to be actively
used!
4) Automation: automate your process, so it is easier to load files and generate reports.
Use Maven to declare all dependencies. If you are using any external libraries, do not
include any jar files with your submission but add them as maven dependencies! Also,
don’t try to change your Maven files into a different format. The pom file should be an
XML file.
3
Build those Maven build tasks in your Continuous Integration (CI) pipeline. On GitHub,
you could use GitHub Actions (built-in in GitHub) or Travis CI (external tool). Make sure
that configuration (YAML) file is correctly added.
5) Readability: make sure you write clean code, exceptions are correctly handled, and
added comments to explain your code. Make your code “human-readable!”.
6) Quality: check the quality of your code and outputs
a) Use code quality checking tools to report metrics data of your program. The
metrics report generated from your code should be submitted. The process
should be automated and included in your maven dependencies (see Section
2 below).
b) (Bonus) Write unit tests using JUnit to test (at least!) the following
functionalities: open, save and search (see details below).
Make your own text editor!
1. The Text Editor
Your program is basically a standard text editor (or text processor) – something similar to
Notepad, Atom (basic setup) or Geany. The editor should allow you to write text on it using
standard text encoding formats (i.e., ASCII/UTF-8). You should develop this program in Java.
Note: a standard text file (mostly) does not need any additional metadata files to assist the
reader in interpretation,
The main functionalities of the text editor are:
- Full GUI access to the application
- Create a menu of options at the top of the editor, similar to the following
The menu should (at least) include the following sub-menus: File, Search, View, and Help
- Implement the following functionalities:
o New function: to create a new (fresh) window.
o Open function: to read other text files (just standard .txt files). This should
allow users to navigate the file system to select\search for a file.
o The ability to read OpenDocument Text (.odt) files. This is part of the Open
function.
o Save function: save text output into .txt file format. This should allow users to
navigate the file system to save the file in a selected drive/location.
o Search: search for text within the screen (this will be tested based on a single
word)
o Exit: to quit the program – close all windows.
o Select text, Copy, Paste and Cut (SCPC) capabilities.
o Time and Date (T&D): retrieve the current time and data from the OS and
place it at the top of the page of the editor.
4
o About: display the names of both team members and a brief message in a
popup message box.
o Print function: allow your editor to print text by connecting it to the local printer
in your machine (similar to any other text editor that you have used).
Harder functions
o Ability to read source code files such as .java, .py, .cpp or similar. different
syntax should be shown in different colours. For example
o Reading and displaying other file formats beyond txt and source code files:
mainly, Rich Text Format (RTF) and OpenDocument Text (ODT) format. Hint:
you can use an external library to do so.
o include a PDF conversion function in your editor, so the file can be saved in
PDF format (for standard text files). Use an external library for this, such as
Apache PDFBox.
Note : There is no specific requirement regarding which GUI library you should use. But
try to make your program as cool as possible! There will be an extra mark for interesting
ideas that have been implemented, but those should be reported and explained in the
Readme.md file that should be submitted with the assignment.
2. Code Quality and Management
Once development is done, you need to report metrics data using a metrics tool. You may
use a software metrics tool (see some examples above). Code quality report from PMD
should also be submitted with your assignment.
a) generate a metrics data report from any software metrics tool (see below for the
specific metrics) and add the report file (.txt or html) to $project$/reports/metrics
b) create a new maven goal called “pmd” that should generate a metrics report using
PMD (see below for the specific metrics) and add the report files to
$project$/reports/pmd.
● Code Size (per class): Lines of Code (LOC) and Number of Methods (NOM)
● Code Complexity: Cyclomatic Complexity and code coupling metrics
(Coupling Between Objects (CBO) OR Efferent Coupling).
5
● Code Quality Report from PMD. Use only Java Basic rules such as Naming
Convention for classes and variables (extract the full report and include it
with your submission).
Submitting your assignment
1. All submission is to be done using Stream
2. Additionally, share your program on your private GitHub repository with us by
sending a share invitation to the GitHub user mimt087. This is to track
commits on your git repository.
Include a Readme.md file in the top level of the project
The Readme.md is a text file with a Markdown syntax (this should be correctly
formatted as a markdown syntax) that contains:
1. the names & IDs of BOTH MEMBERS of the group- very important for
getting marks**
2. clear instructions on how to run your program, and if there are any other
folders, what they contain.
3. for each student, a couple of the most significant git commit IDs that show
the work of each individual member of the group.
4. any other interesting features you feel are worth mentioning and that you think
should be recognized in marking.
Who submits what?
Only one member of a group should submit a complete project, the other just
submits the Readme.md file:
● member A: submit (through Stream) a single compressed (e.g., zip or tar) file
that contains the assignment (source file plus any executables)
o name the compressed file with both members’
FirstName_LastName and ID numbers (e.g. Xiaofeng_Liu-87878787-
Susan_Jones-01002023.zip)
● member B : submit just the README.md file containing your name and that
of the partner who is submitting the zip/tar file. This is so Stream knows that
you've submitted something.
Read more about .md files at → https://www.markdownguide.org/
Markdown Quick guide → https://github.com/adam-p/markdownhere/wiki/Markdown-Cheatsheet
6
Assessment
Your assessment will be based on the following criteria:
Criteria Mark
Correct implementation of the text editor main window (which should also
include a main menu)
2
Correct implementation of the following functions: New, Open, Exit, T&D
and About
1.5
Correct implementation of the Select text, Copy, Paste and Cut (SCPC)
functions,
1
Correct implementation of the following functions: Save, Search and Print. 1.5
Advanced: PDF conversion function 1.5
Advanced: correct implementation of the following functions: Open
(read) .RTF and .ODT files
2
Correct implementations of the following functions: read source code files
such as .java, .py, .cpp or similar. Different syntax should be shown in
different colours.
2
Appropriate use of git FROM THE START OF DEVELOPMENT 3
Appropriate use of issue tracking to track changes/issues FROM THE
START OF DEVELOPMENT.
2
Correct use of maven with all external dependencies correctly added 1.5
Correct use of configuration files (in YAML) 1
Correct use and implementation of the CI using GitHub Actions or Travis CI 1
Check code quality and include reports of the size, complexity and other
quality metrics. PMD is also added as a maven goal
1
Overall code quality, including exception handling and comments to explain
the code.
1
Total 22
(max)
(extra/bonus)
High quality unit test added
1
Note: The maximum marks achievable is 22. The extra/bonus 1 mark will be used to make
up for any lost mark. Therefore, if someone has met all the requirements including those for
the bonus marks, they can not score more than 22.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!