Find Jobs
Hire Freelancers

Static analysis tool

$30-250 CAD

ปิดแล้ว
โพสต์ มากกว่า 5 ปีที่ผ่านมา

$30-250 CAD

ชำระเงินเมื่อส่งงาน
The tool will be implemented in Java. There are two tools that you may use to help you with analyzing the code: • Eclipse JDT, an Abstract Syntax Tree (AST) parser that is part of the Eclipse IDE. • JavaParser, an open source AST parser for Java. Bug Patterns: Need to implement a total of 10 bug patterns. The descriptions of the bug patterns are listed below: 1. Class defines equals() but not hashCode(). This class overrides equals(Object), but does not override hashCode(). Therefore, the class may violate the invariant that equal objects must have equal hashcodes. From FindBugs1 2. Comparison of String objects using == or !=. This code compares [login to view URL] objects for reference equality using the == or != operators. Unless both strings are either constants in a source file, or have been interned using the [login to view URL]() method, the same string value may be represented by two different String objects. Consider using the equals(Object) method instead. From FindBugs2 3. Method may fail to close stream on exception. The method creates an IO stream object, does not assign it to any fields, pass it to other methods, or return it, and does not appear to close it on all possible exception paths out of the method. This may result in a file descriptor leak. It is generally a good idea to use a finally block to ensure that streams are closed. From FindBugs3 4. Condition has no effect. This condition always produces the same result as the value of the involved variable was narrowed before. Namely, the condition or the boolean variable in if/while always returns either true or false. Probably something else was meant or condition can be removed. From FindBugs4 For example: if (true) { ... } or boolean var = false; ... if (var) { ... } 5. Inadequate logging information in catch blocks. Developers usually rely on logs for error diagnostics when exceptions occur. However, sometimes, duplicate logging statements in different catch blocks of the same try block may cause debugging difficulties since the logs fail to tell which exception occurred. For example: ... } catch (AlreadyClosedException closedException) { [login to view URL]("Connection to AMQP service is lost."); } catch (ConnectException connectException) { [login to view URL]("Connection to AMQP service is lost."); } ... 6. Unneeded computation in loops. There may be unneeded computation in loops, where you call a method inside a loop, but the return value is never used. For example: ... for (int i = 0; i < 1000; i++){ Result r = computeResult(i); // unneeded computation doSomething(i); } ... 7. Unused methods. Detect both private and public methods that are not referenced/called anywhere in the code. 8. Empty exception. There is no debug message when an exception occurs, which may cause debugging difficulties. 9. Unfinished exception handling code. There is a comment such as TODO or FIXME in the catch block of exceptions. 10. Over-catching an exception with system-termination. Developers are over-catching an exception (i.e., catching very high-level exceptions, such as Exception or RunTimeException), and are calling abort or [login to view URL]() in the catch block. You will need to design test cases for your code. For each bug pattern, you need to design some test cases, and more importantly, you need to describe your design decision in the final report. You may use any testing framework (e.g., JUnit or TestNG) for your test case. Must provide a valid reason for your design. You need to run your tool on two systems: Hadoop 3.0.0 and CloudStack 4.9.
รหัสโปรเจกต์: 17768209

เกี่ยวกับโปรเจกต์

6 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 6 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
6 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $160 CAD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$120 CAD ใน 3 วัน
4.9 (169 รีวิว)
7.1
7.1
รูปอวาตาร์ของผู้ใช้
Hello this is Asad, i have a vast experience in java programming, if you need an A grade, contact me right now.
$222 CAD ใน 3 วัน
4.9 (116 รีวิว)
6.7
6.7
รูปอวาตาร์ของผู้ใช้
Hi, I am an experienced programmer and I'm sure I can complete your project asap. Please contact me and tell about your project details. I promise a high quality and punctual work. Thanks.
$155 CAD ใน 3 วัน
4.1 (2 รีวิว)
2.6
2.6
รูปอวาตาร์ของผู้ใช้
I have experience in software development in Java desktop for the industrial pharmaceutical area. I would like to be able to carry out the proposed task.
$155 CAD ใน 5 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ CANADA
Montreal, Canada
0.0
0
เป็นสมาชิกตั้งแต่ ก.ย. 14, 2018

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง