1. Introduction
In development of embedded software, code writing or
code generation phase is started with software design
models as its inputs. User requirements given in initial
phase of software development process are analyzed and
then designed to describe how the software should behaves.
Those analysis and design artifacts are used as inputs of
code generation phase [1].
Improving source code quality is one of critical issues in
embedded software development because the codes embedded
into a target system is difficult to change [2,3].
Therefore many existing studies had been performed to
improve code quality. In particular, various testing techniques
based on source code are suggested, and still go on.
Such testing techniques focus on the verifying the behavioral
aspects of software with faults removal.
However, the quality factors of source code include the
structural aspects as well as the behavioral aspects of
software. The structural aspects are determined with the
nonfunctional requirements such as modularity, understandability,
and complexity [4]. Therefore, to improve
such structural aspects of source code, the input artifacts of
code generation phase should be well-formed. On this
account, the quality of code is highly dependent with the
quality of design models.
The quality of embedded software means that software is
able to meet functional requirements from users' needs as
well as nonfunctional requirements such as resource usage,
performance, power consumption, portability, and maintainability
[5]. Satisfying these requirements often rely
upon software engineers' capability because software
development is mostly heuristic and human being works.
In this paper, we propose “Practice Pattern” as an approach
to improve the quality of software design model.
This pattern is a kind of process pattern to guide the
development works of software engineers in modeling
phases. Using our practice patterns, software engineers can
improve model quality, and consequently can improved
code quality by itself. Software engineers, specially
modelers have some questions about that are my models
correct ?, what about the quality of my models ?, and why
different my models with senior's models ?. Our proposed
patterns give several clues to answer these questions even if
modeler can not find adequate design patterns.
This paper organized as follows: at first, we survey the
existing studies to improve embedded software quality in
section 2. Section 3 describes our suggested patterns, which
contains the meaning and the types of our patterns, and
specification of each pattern. The application process and
its experimental results of our patterns are described in
section 4, and we conclude in section 5.
1 . บทนำ
ในการพัฒนาซอฟต์แวร์ฝังตัว , การเขียนรหัสหรือ
เฟสรหัสรุ่นเป็นเริ่มต้นกับโมเดลการออกแบบ
ซอฟต์แวร์เป็นปัจจัยการผลิต ความต้องการของผู้ใช้ที่ได้รับในช่วงเริ่มต้นของกระบวนการพัฒนาซอฟต์แวร์วิเคราะห์
แล้วและออกแบบมาเพื่ออธิบายวิธีการที่ซอฟต์แวร์ควรทำ .
พวกการวิเคราะห์และสิ่งประดิษฐ์ออกแบบใช้เป็นปัจจัยการผลิตของรหัสรุ่นเฟส
[ 1 ]ปรับปรุงคุณภาพของรหัสที่มาเป็นหนึ่งในปัญหาที่สำคัญในการพัฒนาซอฟต์แวร์ฝังตัวเพราะรหัสฝังตัว
ในระบบเป้าหมายเป็นเรื่องยากที่จะเปลี่ยนแปลง [ 2 , 3 ] .
ดังนั้นหลายที่มีอยู่การศึกษาได้
ปรับปรุงคุณภาพรหัส โดยเฉพาะเทคนิคการทดสอบต่าง ๆขึ้นอยู่กับรหัสแหล่งที่มาจะแนะ
และยังคงดำเนินต่อไปเทคนิคการทดสอบดังกล่าวมุ่งเน้นการตรวจสอบพฤติกรรมด้านซอฟต์แวร์ที่มีข้อบกพร่องกำจัด
.
แต่คุณภาพปัจจัยของรหัสที่มารวม
ลักษณะโครงสร้างเช่นเดียวกับด้านพฤติกรรม
ซอฟต์แวร์ ด้านโครงสร้างจะถูกกำหนดด้วยเช่นความต้องการ nonfunctional
ต้นแบบ ความเข้าใจง่าย และความซับซ้อน [ 4 ] ดังนั้นเพื่อปรับปรุง
เช่น ลักษณะโครงสร้างของรหัสที่มา , ข้อมูลสิ่งประดิษฐ์จาก
เฟสรหัสรุ่นน่าจะดีขึ้น ในบัญชีนี้
, คุณภาพของรหัสขึ้นสูงด้วยคุณภาพของรูปแบบการออกแบบ
.
คุณภาพของซอฟต์แวร์ฝังตัว หมายความว่า ซอฟต์แวร์ที่สามารถตอบสนองความต้องการการทำงาน
' ความต้องการจากผู้ใช้เป็นอย่างดี nonfunctional ความต้องการเช่นการใช้ทรัพยากร
, การแสดงการบริโภคพลังงาน , พกพาและ maintainability
[ 5 ] ความพึงพอใจความต้องการเหล่านี้มักจะอาศัย
เมื่อวิศวกรซอฟต์แวร์ในการพัฒนาซอฟต์แวร์
เพราะเป็นส่วนใหญ่ ) และมนุษย์ทำงาน .
ในกระดาษนี้เรานำเสนอการปฏิบัติ " รูปแบบ " เป็นแนวทาง
เพื่อปรับปรุงคุณภาพของแบบจำลองการออกแบบซอฟต์แวร์ .
รูปแบบนี้เป็นชนิดของกระบวนการรูปแบบคู่มือ
การพัฒนางานของวิศวกรซอฟต์แวร์ในการสร้างแบบจำลอง
ระยะ การใช้รูปแบบการฝึกของเรา , วิศวกรซอฟต์แวร์สามารถ
ปรับปรุงคุณภาพรูปแบบและจึงสามารถปรับปรุง
คุณภาพรหัสเอง วิศวกรซอฟต์แวร์พิเศษ
นางแบบมีคำถามบางอย่างเกี่ยวกับที่รุ่นของฉัน
ถูกต้องหรือไม่ เรื่องคุณภาพของรุ่นของฉัน และทำไม
แตกต่างกันของฉันรุ่นกับรุ่นอาวุโส ? เราเสนอ
.รูปแบบให้เบาะแสต่าง ๆ เพื่อตอบคำถามเหล่านี้แม้ว่า
Modeler สามารถหารูปแบบการออกแบบที่เพียงพอ .
นี้กระดาษจัดเป็นดังนี้ : ครั้งแรกที่เราสำรวจที่มีอยู่เพื่อปรับปรุงคุณภาพการศึกษา
ส่วนซอฟต์แวร์ฝังตัวอยู่ใน 2 ส่วนที่ 3 อธิบายให้เห็นรูปแบบซึ่ง
ประกอบด้วยความหมายและประเภทของรูปแบบของเราและ
สเปคของแต่ละแบบ ขั้นตอนการสมัครและ
ผลลัพธ์ของการทดลองของรูปแบบของเราจะอธิบายใน
มาตรา 4 และเราสรุปในส่วนที่ 5 .
การแปล กรุณารอสักครู่..
