Skip to content

Commit eaa060a

Browse files
committed
SENG3320 Week9
1 parent 3e88b00 commit eaa060a

File tree

6 files changed

+17
-0
lines changed

6 files changed

+17
-0
lines changed

SENG3320/418.pdf

30.1 KB
Binary file not shown.

SENG3320/419.pdf

93 KB
Binary file not shown.

SENG3320/420.pdf

27.9 KB
Binary file not shown.

SENG3320/421.pdf

41.3 KB
Binary file not shown.

SENG3320/contents.pdf

174 KB
Binary file not shown.

SENG3320/contents.tex

+17
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,22 @@
190190
\textbf{Mean time to failure}: mean of probability density, expected value of T, average lifetime of system, $E(T) = \int_0^\infty t \: f(t)dt = \int_0^\infty R(t)dt$, for exponential is $\frac{1}{\lambda}$\\
191191
\textbf{Mean time between failures}: $MTTF + MTTR$ (mean time to repair)\\
192192
\textbf{Software reliability tools tasks}: collecting failure \& test time info, calculating estimates of model parameters using this onfo, testing to fit model against collected info, selecting model to make predictions of remaining faults, time to test, apply model\\
193+
\underline{\textbf{Week 9}}\\
194+
\textbf{Software reviews}: quality improvement processes for written material, by detecting defects early \& preventing leakage downstream higher cost of later detection \& rework eliminated\\
195+
\textbf{Software products that can be reviewed}: requirements specifications, design descriptions, source code (code review), release notes\\
196+
\textbf{Code review types}: ad-hoc review, pass-round, walkthrough, group review, formal inspection\\
197+
\textbf{Formal Inspection}: planning/overview, preparation (product docs, rules/checklist), inspection, rework\\
198+
\textbf{Code review steps}: perform examination of software products, detect defects (bugs), violation of coding standards, code smells, other problems, look for code patterns that indicate problems based on prior xp, static analysis tools can also help\\
199+
\textbf{Bug patterns}: infinite recursion, null pointer bugs, SQL injection, divide by 0, buffer overflow, memory leak, deadlock, infinite loop, XSS\\
200+
\textbf{\textbf{Code smells}}: indications of poor coding \& design choices that can cause problems during later phase of development, hint something gone wrong somewhere
201+
\includegraphics[width=\linewidth]{418.pdf}\\
202+
\includegraphics[width=\linewidth]{419.pdf}\\
203+
\includegraphics[width=\linewidth]{420.pdf}\\
204+
\includegraphics[width=\linewidth]{421.pdf}\\
205+
\textbf{Code Review benefits}: can find 60--100\% of defects, can assess/improve quality of work product, software development process \& review process itself, reduce total project cost but have non-trivial cost (15\%), early defect removal is 10--100 times cheaper, reviews distribute domain knowledge, dev skills, corporate culture\\
206+
\textbf{Common problems in code review}: insufficient preparation, moderator domination, incorrect review rate, ego involvement \& personality conflict, issue resolution \& meeting digression,recording difficulties \& clerical overhead\\
207+
\textbf{Static Analysis}: analyse program without executing, doesn't depend on test cases, generally doesn't know what the software is supposed to do, looks for bug patterns, no replacement for testing, many defects can't be found with static analysis\\
208+
\textbf{Patterns to be checked}: bad practice, correctness, performance, dodgy code, vulnerability to malicious code\\
209+
\textbf{Pattern examples}: equals method should not assume type of object argument, collection should not contain themselves ($!s.contains(s)$), should not use $String.toString()$\\
193210
\end{multicols}
194211
\end{document}

0 commit comments

Comments
 (0)