APLIKASI E-ABSENSI PERHITUNGAN GAJI KARYAWAN PT. PUTRA MAJU LESTARI BERBASIS ANDROID
SUGIYONO DWI PAMUNGKAS 41512120028
PROGRAM STUDI TEKNIK INFORMATIKA FAKULTAS ILMU KOMPUTER UNIVERSITAS MERCU BUANA JAKARTA 2017
http://digilib.mercubuana.ac.id/
APLIKASI E-ABSENSI PERHITUNGAN GAJI KARYAWAN PT. PUTRA MAJU LESTARI BERBASIS ANDROID
Laporan Tugas Akhir
Diajukan Untuk Melengkapi Salah Satu Syarat Memperoleh Gelar Sarjana Komputer
SUGIYONO DWI PAMUNGKAS 41512120028
PROGRAM STUDI TEKNIK INFORMATIKA FAKULTAS ILMU KOMPUTER UNIVERSITAS MERCU BUANA JAKARTA 2017
http://digilib.mercubuana.ac.id/
i http://digilib.mercubuana.ac.id/
ii http://digilib.mercubuana.ac.id/
KATA PENGANTAR
Puji syukur penulis panjatkan kepada ke Hadirat Allah Subhanahu Wa Ta’ala yang telah melimpahkan rahmat , taufik dan hidayah-Nya, sehingga penulis dapat menyelesaikan laporan tugas akhir yang merupakan salah satu persyaratan untuk menyelesaikan program studi strata satu (S1) pada Jurusan Teknik Informatika Universitas Mercu Buana Jakarta. Dengan segala keterbatasan dan kekurangan, penulis menyadari bahwa laporan tugas akhir ini tidak akan terwujud tanpa bantuan, bimbingan dan dorongan dari pihak lain. Untuk itu, dengan segala kerendahan hati, penulis menyampaikan ucapan terima kasih kepada: 1. Bapak Diky Firdaus, S.Kom., MM, selaku pembimbing tugas akhir pada jurusan Teknik Informatika Universitas Mercu Buana, yang dengan sabar memberikan bimbingan hingga laporan ini terwujud. 2. Keluarga tercinta yaitu Ibu, istri dan anak yang selalu memberikan doa, dukungan, dorongan serta semangat dalam penulisan ini. 3. Ibu Desi Ramayanti, S.Kom.,MT, selaku Kepala Program Studi pada Jurusan Teknik Informatika Universitas Mercu Buana. 4. Kepada rekan-rekan yang tidak tersebut namanya satu persatu yang telah membantu tersusunnya penulisan laporan ini. Penulis menyadari bahwa dalam penulisan tugas akhir masih banyak kekurangan, oleh karena itu penulis bersedia menerima kritik dan saran dari siapapun untuk memperbaiki kekurangan-kekurangan yang terdapat di laporan kerja praktek ini. Akhir kata, semoga penyajian laporan tugas akhir ini dapat bermanfaat bagi diri pribadi, dan berbagai pihak.
Jakarta, Juni 2017
Penulis
iii http://digilib.mercubuana.ac.id/
DAFTAR ISI
LEMBAR PERNYATAAN ................................... .................................................. i LEMBAR PERSETUJUAN................................... ................................................. ii KATA PENGANTAR ........................................................................................... iii ABSTRACT ........................................................................................................... iv ABSTRAK .............................................................................................................. v DAFTAR GAMBAR .............................................................................................. x DAFTAR TABEL ................................................................................................. xii BAB I ...................................................................................................................... 1 PENDAHULUAN .................................................................................................. 1 1.1 Latar Belakang .............................................................................................. 1 1.2 Perumusan Masalah ...................................................................................... 2 1.3 Pembatasan Masalah ..................................................................................... 2 1.4 Tujuan dan Manfaat ...................................................................................... 3 1.5 Metode Penelitian.......................................................................................... 3 1.6 Sistematika Penulisan ................................................................................... 5 BAB II ..................................................................................................................... 6 LANDASAN TEORI .............................................................................................. 6 2.1 Tahapan Pengembangan dan Perancangan Sistem Perangkat Lunak ........... 6 2.2 Pemodelan Sistem Aplikasi .......................................................................... 7 2.3 Java................................................................................................................ 9 2.3.1 Teknologi Java ..................................................................................... 10 2.3.2 API (application programming Interface) ............................................ 11 2.4 Android SDK .............................................................................................. 11 2.5 JavaScript .................................................................................................... 13 2.6 Apache Cordova .......................................................................................... 13
vi http://digilib.mercubuana.ac.id/
2.6.1 Cara Kerja Apache Cordova ................................................................ 14 2.7 Jquery Mobile ............................................................................................. 14 2.8 HTML5 ....................................................................................................... 15 2.9 Global Positioning System (GPS) Android ................................................ 15 2.10 Database .................................................................................................... 16 2.11 Absensi ...................................................................................................... 17 2.12 Gaji ............................................................................................................ 17 2.13 Waterfall. ................................................................................................... 18 BAB III ................................................................................................................. 21 ANALISIS SISTEM ............................................................................................. 21 3.1 Struktur Organisasi ..................................................................................... 21 3.1.1 Uraian Tugas Masing-masing Bagian .................................................. 22 3.1.2 Alir data absensi ................................................................................... 24 3.2 Analisis Sistem ............................................................................................ 25 3.2.1 Alir Dokumen ...................................................................................... 26 3.3 Analisa Kebutuhan ...................................................................................... 27 3.4 Pengumpulan Data ...................................................................................... 28 3.4.1 Analisis Data ........................................................................................ 29 3.5 Metode Pengembangan Sistem ................................................................... 31 BAB IV ................................................................................................................. 33 PERANCANGAN SISTEM ................................................................................. 33 4.1 UML (Unified Modeling Language) ........................................................... 33 4.1.1 Perancangan Pembuatan Sistem (Use Case Diagram) ......................... 33 4.1.2 Perancangan Alur Kerja (Activity Diagram) ....................................... 37 4.1.3 Perancangan Interaksi Antar Objek (Sequence Diagram) ................... 42 4.2 Perancangan Antarmuka (Interface) ........................................................... 46 BAB V................................................................................................................... 53 vii http://digilib.mercubuana.ac.id/
IMPLEMENTASI DAN PENGUJIAN SISTEM ................................................. 53 5.1 Lingkungan Implementasi........................................................................... 53 5.1.1 Lingkungan Perangkas keras................................................................ 53 5.1.2 Lingkungan Perangkat Lunak. ............................................................. 54 5.2 Tampilan Antarmuka .................................................................................. 54 5.2.1 Tampilan Menu Utama Aplikasi Android ........................................... 54 5.2.2 Tampilan Menu Login ......................................................................... 55 5.2.3 Tampilan Absensi Masuk Klien ........................................................... 56 5.2.4 Tampilan Absensi Keluar Klien ........................................................... 57 5.2.5 Tampilan History Absensi Klien .......................................................... 58 5.2.6 Tampilan Halaman Login SPV dan Admin ......................................... 58 5.2.7 Tampilan Menu Utama Server ............................................................. 59 5.2.8 Tampilan Manage User ........................................................................ 59 5.2.9 Tampilan Tambah User ........................................................................ 60 5.2.10 Tampilan Manage Area Project ......................................................... 60 5.2.11 Tampilan Tambah Area Project ......................................................... 61 5.2.12 Tampilan Absensi Management ......................................................... 61 5.3 Pengujian ..................................................................................................... 62 5.3.1 Skenario pengujian ............................................................................... 62 1.
Skenario pengujian login aplikasi Klien ............................................ 62
2.
Skenario input masuk absensi masuk ................................................. 63
3.
Skenario absensi keluar ...................................................................... 63
4.
Skenario tampilkan rincian gaji .......................................................... 63
5.
Skenario history absensi ..................................................................... 63
6.
Skenario login server .......................................................................... 63
7.
Skenario input data karyawan ............................................................. 64
8.
Skenario verifikasi absensi ................................................................. 64 viii http://digilib.mercubuana.ac.id/
9.
Skenario rekap rincian gaji ................................................................. 64
5.4 Analisis Hasil Pengujian ............................................................................. 65 BAB VI ................................................................................................................. 66 KESIMPULAN DAN SARAN ............................................................................. 66 6.1 Kesimpulan ................................................................................................. 66 6.2 Saran ............................................................................................................ 66 DAFTAR PUSTAKA ........................................................................................... 67
ix http://digilib.mercubuana.ac.id/
DAFTAR GAMBAR
Gambar 2.1.1 Alur aplikasi absensi ........................................................................ 7 Gambar 2.6.1 Architecture cordova application ................................................... 14 Gambar 2.13.1 Metode waterfall .......................................................................... 19 Gambar 3.1.1 Struktur organisasi PT Putra maju lestari ....................................... 22 Gambar 3.1.2 Flowmap absensi konvensional ...................................................... 24 Gambar 4.1.1 Use case .......................................................................................... 34 Gambar 4.1.2 Activity diagram input absensi ....................................................... 38 Gambar 4.1.3 Activity diagram rincian gaji.......................................................... 39 Gambar 4.1.4 Activity verifikasi absensi .............................................................. 40 Gambar 4.1.5 Activity diagram rekap gaji ............................................................ 41 Gambar 4.1.6 Sequance diagram input absensi .................................................... 42 Gambar 4.1.7 Sequance diagram rincian gaji ....................................................... 43 Gambar 4.1.8 Sequence diagram verifikasi absensi.............................................. 44 Gambar 4.1.9 Sequence diagram rekap gaji.......................................................... 45 Gambar 4.2.1 Tampilan menu utama aplikasi ...................................................... 46 Gambar 4.2.2 Tampilan profile aplikasi android .................................................. 47 Gambar 4.2.3 Tampilan absensi masuk ................................................................ 48 Gambar 4.2.4 Tampilan absensi keluar ................................................................. 49 Gambar 4.2.5 Tampilan slip gaji ........................................................................... 50 Gambar 4.2.6 Verifikasi absensi ........................................................................... 51 Gambar 4.2.7 Tampilan server .............................................................................. 52 Gambar 5.2.1 Tampilan menu utama aplikasi. ..................................................... 54 Gambar 5.2.2 Tampilan menu login aplikasi ........................................................ 55 Gambar 5.2.3 Absensi masuk klien....................................................................... 56 Gambar 5.2.4 Absensi keluar klien ....................................................................... 57 Gambar 5.2.5 History absensi klien ...................................................................... 58 Gambar 5.2.6 Gambar login SPV atau Admin ...................................................... 59 Gambar 5.2.7 Menu utama server ......................................................................... 59 Gambar 5.2.8 Manage user ................................................................................... 60 Gambar 5.2.9 Menu tambah user .......................................................................... 60 Gambar 5.2.10 Menu manage area project ........................................................... 61
x http://digilib.mercubuana.ac.id/
Gambar 5.2.11 Menu tambah area project ............................................................ 61 Gambar 5.2.12 Menu absensi management .......................................................... 62
xi http://digilib.mercubuana.ac.id/
DAFTAR TABEL
Tabel 3.3.1 Kebutuhan Nonfungsional ................................................................. 28 Tabel 3.5.1 Gantchart pengembangan sistem ....................................................... 32 Tabel 4.1.1 Definisi aktor...................................................................................... 34 Tabel 4.1.2 Use case input absensi masuk/keluar ................................................. 35 Tabel 4.1.3 Use case melihat rincian gaji ............................................................. 35 Tabel 4.1.4 Use case verifikasi absensi ................................................................. 36 Tabel 4.1.5 Use case rekap gaji ............................................................................. 37 Tabel 4.1.6 Sequence diagram input absensi ........................................................ 42 Tabel 4.1.7 Sequence diagram input gaji .............................................................. 43 Tabel 4.1.8 Sequence diagram verifikasi absensi ................................................. 44 Tabel 4.1.9 Sequance diagram rekap gaji ............................................................. 45 Tabel 5.3.1 Pengujian aplikasi klien ..................................................................... 62 Tabel 5.3.2 Pengujian input absensi masuk .......................................................... 63 Tabel 5.3.3 Pengujian absensi keluar .................................................................... 63 Tabel 5.3.4 Pengujian rincian gaji ........................................................................ 63 Tabel 5.3.5 Pengujian history absensi ................................................................... 63 Tabel 5.3.6 Pengujian login server ........................................................................ 63 Tabel 5.3.7 Pengujian input data karyawan .......................................................... 64 Tabel 5.3.8 Pengujian verifikasi absensi ............................................................... 64 Tabel 5.3.9 Pengujian rekap rincian gaji ............................................................... 64
xii http://digilib.mercubuana.ac.id/