deforest 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18283,3 +18283,1175 @@ Deforest::LogTest: test_get_model_name
18283
18283
  --------------------------------------
18284
18284
  Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18285
18285
   (0.0ms) rollback transaction
18286
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
18287
+  (0.1ms) begin transaction
18288
+ Fixture Delete (0.8ms) DELETE FROM "posts"
18289
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 980190962)
18290
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 298486374)
18291
+ Fixture Delete (0.3ms) DELETE FROM "deforest_logs"
18292
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 980190962)
18293
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 298486374)
18294
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 113629430)
18295
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 933434481)
18296
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-02-27 17:32:58', '2023-02-27 17:32:58', 303968118)
18297
+  (1.2ms) commit transaction
18298
+  (0.1ms) begin transaction
18299
+ -----------------------------------------------------
18300
+ Deforest::LogTest: test_get_highlight_colors_for_file
18301
+ -----------------------------------------------------
18302
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18303
+  (0.1ms) rollback transaction
18304
+  (0.1ms) begin transaction
18305
+ --------------------------------------
18306
+ Deforest::LogTest: test_get_model_name
18307
+ --------------------------------------
18308
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18309
+  (0.0ms) rollback transaction
18310
+  (0.0ms) begin transaction
18311
+ ----------------------------------
18312
+ Deforest::LogTest: test_percentile
18313
+ ----------------------------------
18314
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18315
+  (0.0ms) rollback transaction
18316
+  (0.0ms) begin transaction
18317
+ ---------------------------------------------------------------------
18318
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18319
+ ---------------------------------------------------------------------
18320
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18321
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18322
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18323
+  (0.0ms) rollback transaction
18324
+  (0.0ms) begin transaction
18325
+ -----------------------------
18326
+ PostTest: test_get_app_models
18327
+ -----------------------------
18328
+  (0.1ms) rollback transaction
18329
+  (0.1ms) begin transaction
18330
+ ------------------------------------------------------------------------
18331
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18332
+ ------------------------------------------------------------------------
18333
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18334
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18335
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18336
+  (0.0ms) rollback transaction
18337
+  (0.0ms) begin transaction
18338
+ ---------------------------------------------------------------------------
18339
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18340
+ ---------------------------------------------------------------------------
18341
+  (0.0ms) rollback transaction
18342
+  (0.0ms) begin transaction
18343
+ ------------------------------------------
18344
+ DeforestTest: test_parse_and_save_log_file
18345
+ ------------------------------------------
18346
+  (0.4ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-02-27 17:32:58 UTC', '2023-02-27 17:32:58 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-02-27 17:32:58 UTC', '2023-02-27 17:32:58 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-02-27 17:32:58 UTC', '2023-02-27 17:32:58 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-02-27 17:32:58 UTC', '2023-02-27 17:32:58 UTC');
18347
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18348
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18349
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18350
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18351
+  (0.4ms) rollback transaction
18352
+  (0.0ms) begin transaction
18353
+ -----------------------------------
18354
+ DeforestTest: test_insert_into_logs
18355
+ -----------------------------------
18356
+  (0.0ms) rollback transaction
18357
+  (0.0ms) begin transaction
18358
+ -----------------------------------------------------------------------
18359
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18360
+ -----------------------------------------------------------------------
18361
+  (0.0ms) rollback transaction
18362
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18363
+  (0.0ms) begin transaction
18364
+ Fixture Delete (0.3ms) DELETE FROM "posts"
18365
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 980190962)
18366
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 298486374)
18367
+ Fixture Delete (0.1ms) DELETE FROM "deforest_logs"
18368
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 980190962)
18369
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 298486374)
18370
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 113629430)
18371
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 933434481)
18372
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-02-27 17:34:19', '2023-02-27 17:34:19', 303968118)
18373
+  (2.2ms) commit transaction
18374
+  (0.0ms) begin transaction
18375
+ ------------------------------------------
18376
+ DeforestTest: test_parse_and_save_log_file
18377
+ ------------------------------------------
18378
+  (0.4ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-02-27 17:34:19 UTC', '2023-02-27 17:34:19 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-02-27 17:34:19 UTC', '2023-02-27 17:34:19 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-02-27 17:34:19 UTC', '2023-02-27 17:34:19 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-02-27 17:34:19 UTC', '2023-02-27 17:34:19 UTC');
18379
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18380
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18381
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18382
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18383
+  (0.2ms) rollback transaction
18384
+  (0.0ms) begin transaction
18385
+ -----------------------------------------------------------------------
18386
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18387
+ -----------------------------------------------------------------------
18388
+  (0.0ms) rollback transaction
18389
+  (0.0ms) begin transaction
18390
+ ---------------------------------------------------------------------------
18391
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18392
+ ---------------------------------------------------------------------------
18393
+  (0.0ms) rollback transaction
18394
+  (0.1ms) begin transaction
18395
+ -----------------------------------
18396
+ DeforestTest: test_insert_into_logs
18397
+ -----------------------------------
18398
+  (0.0ms) rollback transaction
18399
+  (0.0ms) begin transaction
18400
+ --------------------------------------
18401
+ Deforest::LogTest: test_get_model_name
18402
+ --------------------------------------
18403
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18404
+  (0.1ms) rollback transaction
18405
+  (0.0ms) begin transaction
18406
+ ----------------------------------
18407
+ Deforest::LogTest: test_percentile
18408
+ ----------------------------------
18409
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18410
+  (0.0ms) rollback transaction
18411
+  (0.0ms) begin transaction
18412
+ -----------------------------------------------------
18413
+ Deforest::LogTest: test_get_highlight_colors_for_file
18414
+ -----------------------------------------------------
18415
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18416
+  (0.0ms) rollback transaction
18417
+  (0.0ms) begin transaction
18418
+ ------------------------------------------------------------------------
18419
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18420
+ ------------------------------------------------------------------------
18421
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18422
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18423
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-02-27 17:34:19 UTC', '2023-02-27 17:34:19 UTC');
18424
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18425
+  (0.3ms) rollback transaction
18426
+  (0.1ms) begin transaction
18427
+ ---------------------------------------------------------------------
18428
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18429
+ ---------------------------------------------------------------------
18430
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18431
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-02-27 17:34:19 UTC', '2023-02-27 17:34:19 UTC');
18432
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18433
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18434
+  (0.3ms) rollback transaction
18435
+  (0.0ms) begin transaction
18436
+ -----------------------------
18437
+ PostTest: test_get_app_models
18438
+ -----------------------------
18439
+  (0.0ms) rollback transaction
18440
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
18441
+  (0.1ms) begin transaction
18442
+ Fixture Delete (0.8ms) DELETE FROM "posts"
18443
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 980190962)
18444
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 298486374)
18445
+ Fixture Delete (0.3ms) DELETE FROM "deforest_logs"
18446
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 980190962)
18447
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 298486374)
18448
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 113629430)
18449
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 933434481)
18450
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-19 15:43:30', '2023-08-19 15:43:30', 303968118)
18451
+  (1.0ms) commit transaction
18452
+  (0.0ms) begin transaction
18453
+ ---------------------------------------------------------------------
18454
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18455
+ ---------------------------------------------------------------------
18456
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
18457
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18458
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18459
+  (0.0ms) rollback transaction
18460
+  (0.0ms) begin transaction
18461
+ -----------------------------
18462
+ PostTest: test_get_app_models
18463
+ -----------------------------
18464
+  (0.1ms) rollback transaction
18465
+  (0.1ms) begin transaction
18466
+ ------------------------------------------------------------------------
18467
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18468
+ ------------------------------------------------------------------------
18469
+  (0.4ms) SELECT COUNT(*) FROM "deforest_logs"
18470
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18471
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18472
+  (0.0ms) rollback transaction
18473
+  (0.0ms) begin transaction
18474
+ -----------------------------------------------------------------------
18475
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18476
+ -----------------------------------------------------------------------
18477
+  (0.0ms) rollback transaction
18478
+  (0.0ms) begin transaction
18479
+ ---------------------------------------------------------------------------
18480
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18481
+ ---------------------------------------------------------------------------
18482
+  (0.0ms) rollback transaction
18483
+  (0.0ms) begin transaction
18484
+ -----------------------------------
18485
+ DeforestTest: test_insert_into_logs
18486
+ -----------------------------------
18487
+  (0.0ms) rollback transaction
18488
+  (0.1ms) begin transaction
18489
+ ------------------------------------------
18490
+ DeforestTest: test_parse_and_save_log_file
18491
+ ------------------------------------------
18492
+  (0.5ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-19 15:43:30 UTC', '2023-08-19 15:43:30 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-19 15:43:30 UTC', '2023-08-19 15:43:30 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-19 15:43:30 UTC', '2023-08-19 15:43:30 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-19 15:43:30 UTC', '2023-08-19 15:43:30 UTC');
18493
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18494
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18495
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18496
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18497
+  (0.4ms) rollback transaction
18498
+  (0.1ms) begin transaction
18499
+ -----------------------------------------------------
18500
+ Deforest::LogTest: test_get_highlight_colors_for_file
18501
+ -----------------------------------------------------
18502
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18503
+  (0.0ms) rollback transaction
18504
+  (0.0ms) begin transaction
18505
+ ----------------------------------
18506
+ Deforest::LogTest: test_percentile
18507
+ ----------------------------------
18508
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18509
+  (0.0ms) rollback transaction
18510
+  (0.1ms) begin transaction
18511
+ --------------------------------------
18512
+ Deforest::LogTest: test_get_model_name
18513
+ --------------------------------------
18514
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18515
+  (0.0ms) rollback transaction
18516
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
18517
+  (0.2ms) begin transaction
18518
+ Fixture Delete (0.8ms) DELETE FROM "posts"
18519
+ Fixture Insert (3.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 980190962)
18520
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 298486374)
18521
+ Fixture Delete (0.3ms) DELETE FROM "deforest_logs"
18522
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 980190962)
18523
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 298486374)
18524
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 113629430)
18525
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 933434481)
18526
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-19 16:00:35', '2023-08-19 16:00:35', 303968118)
18527
+  (1.3ms) commit transaction
18528
+  (0.1ms) begin transaction
18529
+ --------------------------------------
18530
+ Deforest::LogTest: test_get_model_name
18531
+ --------------------------------------
18532
+ Deforest::Log Load (0.9ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18533
+  (0.1ms) rollback transaction
18534
+  (0.0ms) begin transaction
18535
+ -----------------------------------------------------
18536
+ Deforest::LogTest: test_get_highlight_colors_for_file
18537
+ -----------------------------------------------------
18538
+ Deforest::Log Load (0.3ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18539
+  (0.0ms) rollback transaction
18540
+  (0.0ms) begin transaction
18541
+ ----------------------------------
18542
+ Deforest::LogTest: test_percentile
18543
+ ----------------------------------
18544
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18545
+  (0.0ms) rollback transaction
18546
+  (0.0ms) begin transaction
18547
+ ---------------------------------------------------------------------------
18548
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18549
+ ---------------------------------------------------------------------------
18550
+  (0.1ms) rollback transaction
18551
+  (0.0ms) begin transaction
18552
+ -----------------------------------
18553
+ DeforestTest: test_insert_into_logs
18554
+ -----------------------------------
18555
+  (0.1ms) rollback transaction
18556
+  (0.0ms) begin transaction
18557
+ ------------------------------------------
18558
+ DeforestTest: test_parse_and_save_log_file
18559
+ ------------------------------------------
18560
+  (0.5ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-19 16:00:35 UTC', '2023-08-19 16:00:35 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-19 16:00:35 UTC', '2023-08-19 16:00:35 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-19 16:00:35 UTC', '2023-08-19 16:00:35 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-19 16:00:35 UTC', '2023-08-19 16:00:35 UTC');
18561
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18562
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18563
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18564
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18565
+  (0.3ms) rollback transaction
18566
+  (0.0ms) begin transaction
18567
+ -----------------------------------------------------------------------
18568
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18569
+ -----------------------------------------------------------------------
18570
+  (0.0ms) rollback transaction
18571
+  (0.0ms) begin transaction
18572
+ ---------------------------------------------------------------------
18573
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18574
+ ---------------------------------------------------------------------
18575
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18576
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18577
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18578
+  (0.0ms) rollback transaction
18579
+  (0.1ms) begin transaction
18580
+ ------------------------------------------------------------------------
18581
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18582
+ ------------------------------------------------------------------------
18583
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18584
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18585
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18586
+  (0.0ms) rollback transaction
18587
+  (0.3ms) begin transaction
18588
+ -----------------------------
18589
+ PostTest: test_get_app_models
18590
+ -----------------------------
18591
+  (0.0ms) rollback transaction
18592
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
18593
+  (0.1ms) begin transaction
18594
+ Fixture Delete (0.9ms) DELETE FROM "posts"
18595
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 980190962)
18596
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 298486374)
18597
+ Fixture Delete (0.4ms) DELETE FROM "deforest_logs"
18598
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 980190962)
18599
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 298486374)
18600
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 113629430)
18601
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 933434481)
18602
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-19 19:57:03', '2023-08-19 19:57:03', 303968118)
18603
+  (1.9ms) commit transaction
18604
+  (0.0ms) begin transaction
18605
+ ------------------------------------------------------------------------
18606
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18607
+ ------------------------------------------------------------------------
18608
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18609
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18610
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
18611
+  (0.0ms) rollback transaction
18612
+  (0.0ms) begin transaction
18613
+ -----------------------------
18614
+ PostTest: test_get_app_models
18615
+ -----------------------------
18616
+  (0.0ms) rollback transaction
18617
+  (0.1ms) begin transaction
18618
+ ---------------------------------------------------------------------
18619
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18620
+ ---------------------------------------------------------------------
18621
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18622
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18623
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18624
+  (0.0ms) rollback transaction
18625
+  (0.0ms) begin transaction
18626
+ ------------------------------------------
18627
+ DeforestTest: test_parse_and_save_log_file
18628
+ ------------------------------------------
18629
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-19 19:57:03 UTC', '2023-08-19 19:57:03 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-19 19:57:03 UTC', '2023-08-19 19:57:03 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-19 19:57:03 UTC', '2023-08-19 19:57:03 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-19 19:57:03 UTC', '2023-08-19 19:57:03 UTC');
18630
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18631
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18632
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18633
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18634
+  (0.5ms) rollback transaction
18635
+  (0.1ms) begin transaction
18636
+ -----------------------------------------------------------------------
18637
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18638
+ -----------------------------------------------------------------------
18639
+  (0.0ms) rollback transaction
18640
+  (0.0ms) begin transaction
18641
+ -----------------------------------
18642
+ DeforestTest: test_insert_into_logs
18643
+ -----------------------------------
18644
+  (0.1ms) rollback transaction
18645
+  (0.1ms) begin transaction
18646
+ ---------------------------------------------------------------------------
18647
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18648
+ ---------------------------------------------------------------------------
18649
+  (0.0ms) rollback transaction
18650
+  (0.0ms) begin transaction
18651
+ ----------------------------------
18652
+ Deforest::LogTest: test_percentile
18653
+ ----------------------------------
18654
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18655
+  (0.0ms) rollback transaction
18656
+  (0.0ms) begin transaction
18657
+ -----------------------------------------------------
18658
+ Deforest::LogTest: test_get_highlight_colors_for_file
18659
+ -----------------------------------------------------
18660
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18661
+  (0.0ms) rollback transaction
18662
+  (0.0ms) begin transaction
18663
+ --------------------------------------
18664
+ Deforest::LogTest: test_get_model_name
18665
+ --------------------------------------
18666
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18667
+  (0.0ms) rollback transaction
18668
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
18669
+  (0.1ms) begin transaction
18670
+ Fixture Delete (0.7ms) DELETE FROM "posts"
18671
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 980190962)
18672
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 298486374)
18673
+ Fixture Delete (10.6ms) DELETE FROM "deforest_logs"
18674
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 980190962)
18675
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 298486374)
18676
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 113629430)
18677
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 933434481)
18678
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-19 20:18:28', '2023-08-19 20:18:28', 303968118)
18679
+  (4.5ms) commit transaction
18680
+  (0.1ms) begin transaction
18681
+ ------------------------------------------------------------------------
18682
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18683
+ ------------------------------------------------------------------------
18684
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
18685
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18686
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-19 20:18:28 UTC', '2023-08-19 20:18:28 UTC');
18687
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
18688
+  (0.6ms) rollback transaction
18689
+  (0.0ms) begin transaction
18690
+ ---------------------------------------------------------------------
18691
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18692
+ ---------------------------------------------------------------------
18693
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18694
+  (1.0ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-19 20:18:28 UTC', '2023-08-19 20:18:28 UTC');
18695
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18696
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18697
+  (0.4ms) rollback transaction
18698
+  (0.1ms) begin transaction
18699
+ -----------------------------
18700
+ PostTest: test_get_app_models
18701
+ -----------------------------
18702
+  (0.0ms) rollback transaction
18703
+  (0.0ms) begin transaction
18704
+ -----------------------------------------------------------------------
18705
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18706
+ -----------------------------------------------------------------------
18707
+  (0.1ms) rollback transaction
18708
+  (0.0ms) begin transaction
18709
+ ---------------------------------------------------------------------------
18710
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18711
+ ---------------------------------------------------------------------------
18712
+  (0.0ms) rollback transaction
18713
+  (0.0ms) begin transaction
18714
+ ------------------------------------------
18715
+ DeforestTest: test_parse_and_save_log_file
18716
+ ------------------------------------------
18717
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-19 20:18:28 UTC', '2023-08-19 20:18:28 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-19 20:18:28 UTC', '2023-08-19 20:18:28 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-19 20:18:28 UTC', '2023-08-19 20:18:28 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-19 20:18:28 UTC', '2023-08-19 20:18:28 UTC');
18718
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18719
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18720
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18721
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18722
+  (0.3ms) rollback transaction
18723
+  (0.0ms) begin transaction
18724
+ -----------------------------------
18725
+ DeforestTest: test_insert_into_logs
18726
+ -----------------------------------
18727
+  (0.0ms) rollback transaction
18728
+  (0.0ms) begin transaction
18729
+ ----------------------------------
18730
+ Deforest::LogTest: test_percentile
18731
+ ----------------------------------
18732
+ Deforest::Log Load (0.4ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18733
+  (0.1ms) rollback transaction
18734
+  (0.1ms) begin transaction
18735
+ -----------------------------------------------------
18736
+ Deforest::LogTest: test_get_highlight_colors_for_file
18737
+ -----------------------------------------------------
18738
+ Deforest::Log Load (0.3ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18739
+  (0.1ms) rollback transaction
18740
+  (0.1ms) begin transaction
18741
+ --------------------------------------
18742
+ Deforest::LogTest: test_get_model_name
18743
+ --------------------------------------
18744
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18745
+  (0.0ms) rollback transaction
18746
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
18747
+  (0.1ms) begin transaction
18748
+ Fixture Delete (0.7ms) DELETE FROM "posts"
18749
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 980190962)
18750
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 298486374)
18751
+ Fixture Delete (0.4ms) DELETE FROM "deforest_logs"
18752
+ Fixture Insert (0.2ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 980190962)
18753
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 298486374)
18754
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 113629430)
18755
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 933434481)
18756
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 13:46:48', '2023-08-20 13:46:48', 303968118)
18757
+  (1.3ms) commit transaction
18758
+  (0.1ms) begin transaction
18759
+ -----------------------------
18760
+ PostTest: test_get_app_models
18761
+ -----------------------------
18762
+  (0.0ms) rollback transaction
18763
+  (0.1ms) begin transaction
18764
+ ---------------------------------------------------------------------
18765
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18766
+ ---------------------------------------------------------------------
18767
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18768
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 13:46:48 UTC', '2023-08-20 13:46:48 UTC');
18769
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18770
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18771
+  (0.4ms) rollback transaction
18772
+  (0.0ms) begin transaction
18773
+ ------------------------------------------------------------------------
18774
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18775
+ ------------------------------------------------------------------------
18776
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18777
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
18778
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 13:46:48 UTC', '2023-08-20 13:46:48 UTC');
18779
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18780
+  (0.3ms) rollback transaction
18781
+  (0.0ms) begin transaction
18782
+ -----------------------------------------------------------------------
18783
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18784
+ -----------------------------------------------------------------------
18785
+  (0.0ms) rollback transaction
18786
+  (0.0ms) begin transaction
18787
+ ---------------------------------------------------------------------------
18788
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18789
+ ---------------------------------------------------------------------------
18790
+  (0.1ms) rollback transaction
18791
+  (0.0ms) begin transaction
18792
+ ------------------------------------------
18793
+ DeforestTest: test_parse_and_save_log_file
18794
+ ------------------------------------------
18795
+  (0.5ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 13:46:48 UTC', '2023-08-20 13:46:48 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 13:46:48 UTC', '2023-08-20 13:46:48 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 13:46:48 UTC', '2023-08-20 13:46:48 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 13:46:48 UTC', '2023-08-20 13:46:48 UTC');
18796
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
18797
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
18798
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
18799
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
18800
+  (0.3ms) rollback transaction
18801
+  (0.0ms) begin transaction
18802
+ -----------------------------------
18803
+ DeforestTest: test_insert_into_logs
18804
+ -----------------------------------
18805
+  (0.0ms) rollback transaction
18806
+  (0.0ms) begin transaction
18807
+ --------------------------------------
18808
+ Deforest::LogTest: test_get_model_name
18809
+ --------------------------------------
18810
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
18811
+  (0.0ms) rollback transaction
18812
+  (0.0ms) begin transaction
18813
+ ----------------------------------
18814
+ Deforest::LogTest: test_percentile
18815
+ ----------------------------------
18816
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18817
+  (0.0ms) rollback transaction
18818
+  (0.1ms) begin transaction
18819
+ -----------------------------------------------------
18820
+ Deforest::LogTest: test_get_highlight_colors_for_file
18821
+ -----------------------------------------------------
18822
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18823
+  (0.0ms) rollback transaction
18824
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
18825
+  (0.1ms) PRAGMA foreign_keys
18826
+  (0.0ms) PRAGMA foreign_keys = OFF
18827
+  (0.1ms) begin transaction
18828
+ Fixture Delete (0.9ms) DELETE FROM "posts"
18829
+ Fixture Insert (0.7ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:11:47.890174', '2023-08-20 14:11:47.890174', 980190962)
18830
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:11:47.890174', '2023-08-20 14:11:47.890174', 298486374)
18831
+ Fixture Delete (0.5ms) DELETE FROM "deforest_logs"
18832
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 14:11:47.894719', '2023-08-20 14:11:47.894719', 980190962)
18833
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 14:11:47.894719', '2023-08-20 14:11:47.894719', 298486374)
18834
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 14:11:47.894719', '2023-08-20 14:11:47.894719', 113629430)
18835
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 14:11:47.894719', '2023-08-20 14:11:47.894719', 933434481)
18836
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 14:11:47.894719', '2023-08-20 14:11:47.894719', 303968118)
18837
+  (1.3ms) commit transaction
18838
+  (0.1ms) PRAGMA foreign_keys = 1
18839
+  (0.1ms) begin transaction
18840
+ ---------------------------------------------------------------------------
18841
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18842
+ ---------------------------------------------------------------------------
18843
+  (0.1ms) rollback transaction
18844
+  (0.1ms) begin transaction
18845
+ -----------------------------------------------------------------------
18846
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18847
+ -----------------------------------------------------------------------
18848
+  (0.1ms) rollback transaction
18849
+  (0.1ms) begin transaction
18850
+ -----------------------------------
18851
+ DeforestTest: test_insert_into_logs
18852
+ -----------------------------------
18853
+  (0.1ms) rollback transaction
18854
+  (0.1ms) begin transaction
18855
+ ------------------------------------------
18856
+ DeforestTest: test_parse_and_save_log_file
18857
+ ------------------------------------------
18858
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 14:11:47 UTC', '2023-08-20 14:11:47 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 14:11:47 UTC', '2023-08-20 14:11:47 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 14:11:47 UTC', '2023-08-20 14:11:47 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 14:11:47 UTC', '2023-08-20 14:11:47 UTC');
18859
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"], ["LIMIT", 1]]
18860
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/post.rb"], ["LIMIT", 1]]
18861
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"], ["LIMIT", 1]]
18862
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"], ["LIMIT", 1]]
18863
+  (0.8ms) rollback transaction
18864
+  (0.1ms) begin transaction
18865
+ ------------------------------------------------------------------------
18866
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18867
+ ------------------------------------------------------------------------
18868
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
18869
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT ? [["LIMIT", 1]]
18870
+  (0.7ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 14:11:47 UTC', '2023-08-20 14:11:47 UTC');
18871
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18872
+  (0.7ms) rollback transaction
18873
+  (0.1ms) begin transaction
18874
+ ---------------------------------------------------------------------
18875
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18876
+ ---------------------------------------------------------------------
18877
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
18878
+  (1.0ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 14:11:47 UTC', '2023-08-20 14:11:47 UTC');
18879
+ Post Load (0.2ms) SELECT "posts".* FROM "posts"
18880
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18881
+  (4.1ms) rollback transaction
18882
+  (0.0ms) begin transaction
18883
+ -----------------------------
18884
+ PostTest: test_get_app_models
18885
+ -----------------------------
18886
+  (0.1ms) rollback transaction
18887
+  (0.1ms) begin transaction
18888
+ -----------------------------------------------------
18889
+ Deforest::LogTest: test_get_highlight_colors_for_file
18890
+ -----------------------------------------------------
18891
+ Deforest::Log Load (0.3ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18892
+  (0.1ms) rollback transaction
18893
+  (0.0ms) begin transaction
18894
+ --------------------------------------
18895
+ Deforest::LogTest: test_get_model_name
18896
+ --------------------------------------
18897
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
18898
+  (0.1ms) rollback transaction
18899
+  (0.1ms) begin transaction
18900
+ ----------------------------------
18901
+ Deforest::LogTest: test_percentile
18902
+ ----------------------------------
18903
+ Deforest::Log Load (0.3ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18904
+  (0.1ms) rollback transaction
18905
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
18906
+  (0.1ms) PRAGMA foreign_keys
18907
+  (0.0ms) PRAGMA foreign_keys = OFF
18908
+  (0.1ms) begin transaction
18909
+ Fixture Delete (1.0ms) DELETE FROM "posts"
18910
+ Fixture Insert (0.7ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:23:55.818117', '2023-08-20 14:23:55.818117', 980190962)
18911
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:23:55.818117', '2023-08-20 14:23:55.818117', 298486374)
18912
+ Fixture Delete (0.7ms) DELETE FROM "deforest_logs"
18913
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 14:23:55.822553', '2023-08-20 14:23:55.822553', 980190962)
18914
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 14:23:55.822553', '2023-08-20 14:23:55.822553', 298486374)
18915
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 14:23:55.822553', '2023-08-20 14:23:55.822553', 113629430)
18916
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 14:23:55.822553', '2023-08-20 14:23:55.822553', 933434481)
18917
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 14:23:55.822553', '2023-08-20 14:23:55.822553', 303968118)
18918
+  (1.4ms) commit transaction
18919
+  (0.1ms) PRAGMA foreign_keys = 1
18920
+  (0.1ms) begin transaction
18921
+ -----------------------------
18922
+ PostTest: test_get_app_models
18923
+ -----------------------------
18924
+  (0.0ms) rollback transaction
18925
+  (0.1ms) begin transaction
18926
+ ------------------------------------------------------------------------
18927
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
18928
+ ------------------------------------------------------------------------
18929
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18930
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT ? [["LIMIT", 1]]
18931
+  (0.4ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 14:23:55 UTC', '2023-08-20 14:23:55 UTC');
18932
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18933
+  (0.3ms) rollback transaction
18934
+  (0.0ms) begin transaction
18935
+ ---------------------------------------------------------------------
18936
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
18937
+ ---------------------------------------------------------------------
18938
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
18939
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 14:23:55 UTC', '2023-08-20 14:23:55 UTC');
18940
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
18941
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
18942
+  (0.9ms) rollback transaction
18943
+  (0.1ms) begin transaction
18944
+ -----------------------------------------------------------------------
18945
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
18946
+ -----------------------------------------------------------------------
18947
+  (0.1ms) rollback transaction
18948
+  (0.1ms) begin transaction
18949
+ ---------------------------------------------------------------------------
18950
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
18951
+ ---------------------------------------------------------------------------
18952
+  (0.1ms) rollback transaction
18953
+  (0.0ms) begin transaction
18954
+ -----------------------------------
18955
+ DeforestTest: test_insert_into_logs
18956
+ -----------------------------------
18957
+  (0.1ms) rollback transaction
18958
+  (0.0ms) begin transaction
18959
+ ------------------------------------------
18960
+ DeforestTest: test_parse_and_save_log_file
18961
+ ------------------------------------------
18962
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 14:23:55 UTC', '2023-08-20 14:23:55 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 14:23:55 UTC', '2023-08-20 14:23:55 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 14:23:55 UTC', '2023-08-20 14:23:55 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 14:23:55 UTC', '2023-08-20 14:23:55 UTC');
18963
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"], ["LIMIT", 1]]
18964
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/post.rb"], ["LIMIT", 1]]
18965
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"], ["LIMIT", 1]]
18966
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"], ["LIMIT", 1]]
18967
+  (0.3ms) rollback transaction
18968
+  (0.0ms) begin transaction
18969
+ -----------------------------------------------------
18970
+ Deforest::LogTest: test_get_highlight_colors_for_file
18971
+ -----------------------------------------------------
18972
+ Deforest::Log Load (0.5ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18973
+  (0.1ms) rollback transaction
18974
+  (0.1ms) begin transaction
18975
+ --------------------------------------
18976
+ Deforest::LogTest: test_get_model_name
18977
+ --------------------------------------
18978
+ Deforest::Log Load (0.3ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
18979
+  (0.1ms) rollback transaction
18980
+  (0.1ms) begin transaction
18981
+ ----------------------------------
18982
+ Deforest::LogTest: test_percentile
18983
+ ----------------------------------
18984
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
18985
+  (0.0ms) rollback transaction
18986
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
18987
+  (0.1ms) PRAGMA foreign_keys
18988
+  (0.1ms) PRAGMA foreign_keys = OFF
18989
+  (0.0ms) begin transaction
18990
+ Fixture Delete (0.3ms) DELETE FROM "posts"
18991
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:24:27.647690', '2023-08-20 14:24:27.647690', 980190962)
18992
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:24:27.647690', '2023-08-20 14:24:27.647690', 298486374)
18993
+ Fixture Delete (0.1ms) DELETE FROM "deforest_logs"
18994
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 14:24:27.649614', '2023-08-20 14:24:27.649614', 980190962)
18995
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 14:24:27.649614', '2023-08-20 14:24:27.649614', 298486374)
18996
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 14:24:27.649614', '2023-08-20 14:24:27.649614', 113629430)
18997
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 14:24:27.649614', '2023-08-20 14:24:27.649614', 933434481)
18998
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 14:24:27.649614', '2023-08-20 14:24:27.649614', 303968118)
18999
+  (2.5ms) commit transaction
19000
+  (0.1ms) PRAGMA foreign_keys = 1
19001
+  (0.0ms) begin transaction
19002
+ -----------------------------------
19003
+ DeforestTest: test_insert_into_logs
19004
+ -----------------------------------
19005
+  (0.1ms) rollback transaction
19006
+  (0.1ms) begin transaction
19007
+ -----------------------------------------------------------------------
19008
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
19009
+ -----------------------------------------------------------------------
19010
+  (0.0ms) rollback transaction
19011
+  (0.1ms) begin transaction
19012
+ ---------------------------------------------------------------------------
19013
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
19014
+ ---------------------------------------------------------------------------
19015
+  (0.1ms) rollback transaction
19016
+  (0.1ms) begin transaction
19017
+ ------------------------------------------
19018
+ DeforestTest: test_parse_and_save_log_file
19019
+ ------------------------------------------
19020
+  (0.4ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 14:24:27 UTC', '2023-08-20 14:24:27 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 14:24:27 UTC', '2023-08-20 14:24:27 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 14:24:27 UTC', '2023-08-20 14:24:27 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 14:24:27 UTC', '2023-08-20 14:24:27 UTC');
19021
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"], ["LIMIT", 1]]
19022
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/post.rb"], ["LIMIT", 1]]
19023
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"], ["LIMIT", 1]]
19024
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT ? [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"], ["LIMIT", 1]]
19025
+  (0.4ms) rollback transaction
19026
+  (0.0ms) begin transaction
19027
+ -----------------------------------------------------
19028
+ Deforest::LogTest: test_get_highlight_colors_for_file
19029
+ -----------------------------------------------------
19030
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19031
+  (0.0ms) rollback transaction
19032
+  (0.0ms) begin transaction
19033
+ --------------------------------------
19034
+ Deforest::LogTest: test_get_model_name
19035
+ --------------------------------------
19036
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
19037
+  (0.0ms) rollback transaction
19038
+  (0.0ms) begin transaction
19039
+ ----------------------------------
19040
+ Deforest::LogTest: test_percentile
19041
+ ----------------------------------
19042
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19043
+  (0.0ms) rollback transaction
19044
+  (0.0ms) begin transaction
19045
+ ------------------------------------------------------------------------
19046
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
19047
+ ------------------------------------------------------------------------
19048
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19049
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT ? [["LIMIT", 1]]
19050
+  (0.4ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 14:24:27 UTC', '2023-08-20 14:24:27 UTC');
19051
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19052
+  (0.3ms) rollback transaction
19053
+  (0.0ms) begin transaction
19054
+ ---------------------------------------------------------------------
19055
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
19056
+ ---------------------------------------------------------------------
19057
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19058
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 14:24:27 UTC', '2023-08-20 14:24:27 UTC');
19059
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
19060
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19061
+  (0.2ms) rollback transaction
19062
+  (0.0ms) begin transaction
19063
+ -----------------------------
19064
+ PostTest: test_get_app_models
19065
+ -----------------------------
19066
+  (0.0ms) rollback transaction
19067
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19068
+  (0.1ms) begin transaction
19069
+ Fixture Delete (0.3ms) DELETE FROM "posts"
19070
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 980190962)
19071
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 298486374)
19072
+ Fixture Delete (0.0ms) DELETE FROM "deforest_logs"
19073
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 980190962)
19074
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 298486374)
19075
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 113629430)
19076
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 933434481)
19077
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 14:25:38', '2023-08-20 14:25:38', 303968118)
19078
+  (1.8ms) commit transaction
19079
+  (0.1ms) begin transaction
19080
+ ------------------------------------------
19081
+ DeforestTest: test_parse_and_save_log_file
19082
+ ------------------------------------------
19083
+  (0.5ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 14:25:38 UTC', '2023-08-20 14:25:38 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 14:25:38 UTC', '2023-08-20 14:25:38 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 14:25:38 UTC', '2023-08-20 14:25:38 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 14:25:38 UTC', '2023-08-20 14:25:38 UTC');
19084
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
19085
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
19086
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
19087
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
19088
+  (0.2ms) rollback transaction
19089
+  (0.1ms) begin transaction
19090
+ ---------------------------------------------------------------------------
19091
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
19092
+ ---------------------------------------------------------------------------
19093
+  (0.1ms) rollback transaction
19094
+  (0.0ms) begin transaction
19095
+ -----------------------------------------------------------------------
19096
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
19097
+ -----------------------------------------------------------------------
19098
+  (0.1ms) rollback transaction
19099
+  (0.1ms) begin transaction
19100
+ -----------------------------------
19101
+ DeforestTest: test_insert_into_logs
19102
+ -----------------------------------
19103
+  (0.0ms) rollback transaction
19104
+  (0.0ms) begin transaction
19105
+ -----------------------------------------------------
19106
+ Deforest::LogTest: test_get_highlight_colors_for_file
19107
+ -----------------------------------------------------
19108
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19109
+  (0.0ms) rollback transaction
19110
+  (0.0ms) begin transaction
19111
+ --------------------------------------
19112
+ Deforest::LogTest: test_get_model_name
19113
+ --------------------------------------
19114
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
19115
+  (0.0ms) rollback transaction
19116
+  (0.1ms) begin transaction
19117
+ ----------------------------------
19118
+ Deforest::LogTest: test_percentile
19119
+ ----------------------------------
19120
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19121
+  (0.0ms) rollback transaction
19122
+  (0.0ms) begin transaction
19123
+ ---------------------------------------------------------------------
19124
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
19125
+ ---------------------------------------------------------------------
19126
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19127
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 14:25:38 UTC', '2023-08-20 14:25:38 UTC');
19128
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
19129
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
19130
+  (0.4ms) rollback transaction
19131
+  (0.1ms) begin transaction
19132
+ ------------------------------------------------------------------------
19133
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
19134
+ ------------------------------------------------------------------------
19135
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19136
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
19137
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 14:25:38 UTC', '2023-08-20 14:25:38 UTC');
19138
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
19139
+  (0.3ms) rollback transaction
19140
+  (0.0ms) begin transaction
19141
+ -----------------------------
19142
+ PostTest: test_get_app_models
19143
+ -----------------------------
19144
+  (0.0ms) rollback transaction
19145
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
19146
+  (0.1ms) begin transaction
19147
+ Fixture Delete (1.0ms) DELETE FROM "posts"
19148
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 980190962)
19149
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 298486374)
19150
+ Fixture Delete (0.4ms) DELETE FROM "deforest_logs"
19151
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 980190962)
19152
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 298486374)
19153
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 113629430)
19154
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 933434481)
19155
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 14:36:20', '2023-08-20 14:36:20', 303968118)
19156
+  (1.1ms) commit transaction
19157
+  (0.0ms) begin transaction
19158
+ -----------------------------------------------------------------------
19159
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
19160
+ -----------------------------------------------------------------------
19161
+  (0.0ms) rollback transaction
19162
+  (0.0ms) begin transaction
19163
+ ---------------------------------------------------------------------------
19164
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
19165
+ ---------------------------------------------------------------------------
19166
+  (0.1ms) rollback transaction
19167
+  (0.0ms) begin transaction
19168
+ -----------------------------------
19169
+ DeforestTest: test_insert_into_logs
19170
+ -----------------------------------
19171
+  (0.1ms) rollback transaction
19172
+  (0.0ms) begin transaction
19173
+ ------------------------------------------
19174
+ DeforestTest: test_parse_and_save_log_file
19175
+ ------------------------------------------
19176
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 14:36:20 UTC', '2023-08-20 14:36:20 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 14:36:20 UTC', '2023-08-20 14:36:20 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 14:36:20 UTC', '2023-08-20 14:36:20 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 14:36:20 UTC', '2023-08-20 14:36:20 UTC');
19177
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
19178
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
19179
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
19180
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
19181
+  (1.1ms) rollback transaction
19182
+  (0.1ms) begin transaction
19183
+ ---------------------------------------------------------------------
19184
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
19185
+ ---------------------------------------------------------------------
19186
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
19187
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 14:36:20 UTC', '2023-08-20 14:36:20 UTC');
19188
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
19189
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
19190
+  (0.3ms) rollback transaction
19191
+  (0.0ms) begin transaction
19192
+ ------------------------------------------------------------------------
19193
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
19194
+ ------------------------------------------------------------------------
19195
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19196
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
19197
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 14:36:20 UTC', '2023-08-20 14:36:20 UTC');
19198
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19199
+  (0.3ms) rollback transaction
19200
+  (0.0ms) begin transaction
19201
+ -----------------------------
19202
+ PostTest: test_get_app_models
19203
+ -----------------------------
19204
+  (0.0ms) rollback transaction
19205
+  (0.0ms) begin transaction
19206
+ -----------------------------------------------------
19207
+ Deforest::LogTest: test_get_highlight_colors_for_file
19208
+ -----------------------------------------------------
19209
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19210
+  (0.0ms) rollback transaction
19211
+  (0.1ms) begin transaction
19212
+ ----------------------------------
19213
+ Deforest::LogTest: test_percentile
19214
+ ----------------------------------
19215
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19216
+  (0.0ms) rollback transaction
19217
+  (0.1ms) begin transaction
19218
+ --------------------------------------
19219
+ Deforest::LogTest: test_get_model_name
19220
+ --------------------------------------
19221
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
19222
+  (0.0ms) rollback transaction
19223
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
19224
+  (0.1ms) begin transaction
19225
+ Fixture Delete (0.9ms) DELETE FROM "posts"
19226
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 980190962)
19227
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 298486374)
19228
+ Fixture Delete (0.4ms) DELETE FROM "deforest_logs"
19229
+ Fixture Insert (0.2ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 980190962)
19230
+ Fixture Insert (0.2ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 298486374)
19231
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 113629430)
19232
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 933434481)
19233
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-08-20 14:53:27', '2023-08-20 14:53:27', 303968118)
19234
+  (1.2ms) commit transaction
19235
+  (0.0ms) begin transaction
19236
+ -----------------------------
19237
+ PostTest: test_get_app_models
19238
+ -----------------------------
19239
+  (0.1ms) rollback transaction
19240
+  (0.0ms) begin transaction
19241
+ ---------------------------------------------------------------------
19242
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
19243
+ ---------------------------------------------------------------------
19244
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
19245
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-08-20 14:53:27 UTC', '2023-08-20 14:53:27 UTC');
19246
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
19247
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19248
+  (0.2ms) rollback transaction
19249
+  (0.0ms) begin transaction
19250
+ ------------------------------------------------------------------------
19251
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
19252
+ ------------------------------------------------------------------------
19253
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19254
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
19255
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-08-20 14:53:27 UTC', '2023-08-20 14:53:27 UTC');
19256
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
19257
+  (0.4ms) rollback transaction
19258
+  (0.0ms) begin transaction
19259
+ -----------------------------------------------------
19260
+ Deforest::LogTest: test_get_highlight_colors_for_file
19261
+ -----------------------------------------------------
19262
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19263
+  (0.0ms) rollback transaction
19264
+  (0.0ms) begin transaction
19265
+ --------------------------------------
19266
+ Deforest::LogTest: test_get_model_name
19267
+ --------------------------------------
19268
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
19269
+  (0.0ms) rollback transaction
19270
+  (0.0ms) begin transaction
19271
+ ----------------------------------
19272
+ Deforest::LogTest: test_percentile
19273
+ ----------------------------------
19274
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19275
+  (0.0ms) rollback transaction
19276
+  (0.0ms) begin transaction
19277
+ -----------------------------------
19278
+ DeforestTest: test_insert_into_logs
19279
+ -----------------------------------
19280
+  (0.0ms) rollback transaction
19281
+  (0.1ms) begin transaction
19282
+ ---------------------------------------------------------------------------
19283
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
19284
+ ---------------------------------------------------------------------------
19285
+  (0.1ms) rollback transaction
19286
+  (0.1ms) begin transaction
19287
+ ------------------------------------------
19288
+ DeforestTest: test_parse_and_save_log_file
19289
+ ------------------------------------------
19290
+  (0.6ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-08-20 14:53:27 UTC', '2023-08-20 14:53:27 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-08-20 14:53:27 UTC', '2023-08-20 14:53:27 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-08-20 14:53:27 UTC', '2023-08-20 14:53:27 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-08-20 14:53:27 UTC', '2023-08-20 14:53:27 UTC');
19291
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
19292
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
19293
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
19294
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
19295
+  (0.3ms) rollback transaction
19296
+  (0.0ms) begin transaction
19297
+ -----------------------------------------------------------------------
19298
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
19299
+ -----------------------------------------------------------------------
19300
+  (0.0ms) rollback transaction
19301
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
19302
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
19303
+  (0.1ms) begin transaction
19304
+ Fixture Delete (0.7ms) DELETE FROM "posts"
19305
+ Fixture Insert (0.3ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 980190962)
19306
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 298486374)
19307
+ Fixture Delete (0.3ms) DELETE FROM "deforest_logs"
19308
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 980190962)
19309
+ Fixture Insert (0.2ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 298486374)
19310
+ Fixture Insert (0.2ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 113629430)
19311
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 933434481)
19312
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-09-08 10:56:32', '2023-09-08 10:56:32', 303968118)
19313
+  (1.2ms) commit transaction
19314
+  (0.0ms) begin transaction
19315
+ ------------------------------------------
19316
+ DeforestTest: test_parse_and_save_log_file
19317
+ ------------------------------------------
19318
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-09-08 10:56:32 UTC', '2023-09-08 10:56:32 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-09-08 10:56:32 UTC', '2023-09-08 10:56:32 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-09-08 10:56:32 UTC', '2023-09-08 10:56:32 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-09-08 10:56:32 UTC', '2023-09-08 10:56:32 UTC');
19319
+ Deforest::Log Load (0.2ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
19320
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
19321
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
19322
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
19323
+  (0.2ms) rollback transaction
19324
+  (0.0ms) begin transaction
19325
+ ---------------------------------------------------------------------------
19326
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
19327
+ ---------------------------------------------------------------------------
19328
+  (0.1ms) rollback transaction
19329
+  (0.0ms) begin transaction
19330
+ -----------------------------------------------------------------------
19331
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
19332
+ -----------------------------------------------------------------------
19333
+  (0.0ms) rollback transaction
19334
+  (0.0ms) begin transaction
19335
+ -----------------------------------
19336
+ DeforestTest: test_insert_into_logs
19337
+ -----------------------------------
19338
+  (0.0ms) rollback transaction
19339
+  (0.0ms) begin transaction
19340
+ -----------------------------
19341
+ PostTest: test_get_app_models
19342
+ -----------------------------
19343
+  (0.0ms) rollback transaction
19344
+  (0.0ms) begin transaction
19345
+ ---------------------------------------------------------------------
19346
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
19347
+ ---------------------------------------------------------------------
19348
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
19349
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-09-08 10:56:32 UTC', '2023-09-08 10:56:32 UTC');
19350
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
19351
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19352
+  (0.3ms) rollback transaction
19353
+  (0.1ms) begin transaction
19354
+ ------------------------------------------------------------------------
19355
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
19356
+ ------------------------------------------------------------------------
19357
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19358
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
19359
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-09-08 10:56:32 UTC', '2023-09-08 10:56:32 UTC');
19360
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
19361
+  (0.6ms) rollback transaction
19362
+  (0.1ms) begin transaction
19363
+ --------------------------------------
19364
+ Deforest::LogTest: test_get_model_name
19365
+ --------------------------------------
19366
+ Deforest::Log Load (0.4ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
19367
+  (0.0ms) rollback transaction
19368
+  (0.1ms) begin transaction
19369
+ ----------------------------------
19370
+ Deforest::LogTest: test_percentile
19371
+ ----------------------------------
19372
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19373
+  (0.1ms) rollback transaction
19374
+  (0.0ms) begin transaction
19375
+ -----------------------------------------------------
19376
+ Deforest::LogTest: test_get_highlight_colors_for_file
19377
+ -----------------------------------------------------
19378
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19379
+  (0.0ms) rollback transaction
19380
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
19381
+  (0.1ms) begin transaction
19382
+ Fixture Delete (0.8ms) DELETE FROM "posts"
19383
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 980190962)
19384
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "author_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', 1, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 298486374)
19385
+ Fixture Delete (0.5ms) DELETE FROM "deforest_logs"
19386
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/setting.rb', 27, 'refresh_cache', 2, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 980190962)
19387
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 2144, 'lock_user', 10, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 298486374)
19388
+ Fixture Insert (0.1ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/doctor.rb', 33, 'open', 35, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 113629430)
19389
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 100, 'get_user_name', 100, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 933434481)
19390
+ Fixture Insert (0.0ms) INSERT INTO "deforest_logs" ("file_name", "line_no", "method_name", "count", "created_at", "updated_at", "id") VALUES ('/Users/johndoe/workspace/app/models/user.rb', 200, 'get_email', 300, '2023-09-09 12:35:25', '2023-09-09 12:35:25', 303968118)
19391
+  (1.0ms) commit transaction
19392
+  (0.1ms) begin transaction
19393
+ ---------------------------------------------------------------------
19394
+ PostTest: test_calling_a_model_class_method_should_create_a_log_entry
19395
+ ---------------------------------------------------------------------
19396
+  (0.2ms) SELECT COUNT(*) FROM "deforest_logs"
19397
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','4','get_titles', 1, '2023-09-09 12:35:25 UTC', '2023-09-09 12:35:25 UTC');
19398
+ Post Load (0.1ms) SELECT "posts".* FROM "posts"
19399
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19400
+  (0.2ms) rollback transaction
19401
+  (0.0ms) begin transaction
19402
+ ------------------------------------------------------------------------
19403
+ PostTest: test_calling_a_model_instance_method_should_create_a_log_entry
19404
+ ------------------------------------------------------------------------
19405
+  (0.1ms) SELECT COUNT(*) FROM "deforest_logs"
19406
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
19407
+  (0.2ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/akshaytakkar/workspace/deforest/test/dummy/app/models/post.rb','8','get_title_with_italics', 1, '2023-09-09 12:35:25 UTC', '2023-09-09 12:35:25 UTC');
19408
+  (0.0ms) SELECT COUNT(*) FROM "deforest_logs"
19409
+  (0.2ms) rollback transaction
19410
+  (0.0ms) begin transaction
19411
+ -----------------------------
19412
+ PostTest: test_get_app_models
19413
+ -----------------------------
19414
+  (0.0ms) rollback transaction
19415
+  (0.0ms) begin transaction
19416
+ --------------------------------------
19417
+ Deforest::LogTest: test_get_model_name
19418
+ --------------------------------------
19419
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."id" = ? LIMIT 1 [["id", 980190962]]
19420
+  (0.1ms) rollback transaction
19421
+  (0.0ms) begin transaction
19422
+ -----------------------------------------------------
19423
+ Deforest::LogTest: test_get_highlight_colors_for_file
19424
+ -----------------------------------------------------
19425
+ Deforest::Log Load (0.2ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19426
+  (0.0ms) rollback transaction
19427
+  (0.1ms) begin transaction
19428
+ ----------------------------------
19429
+ Deforest::LogTest: test_percentile
19430
+ ----------------------------------
19431
+ Deforest::Log Load (0.1ms) SELECT file_name, line_no, method_name, SUM(count) AS count_sum FROM "deforest_logs" WHERE (file_name like '%/app/models/%') GROUP BY "deforest_logs"."file_name", "deforest_logs"."line_no", "deforest_logs"."method_name"
19432
+  (0.1ms) rollback transaction
19433
+  (0.0ms) begin transaction
19434
+ ------------------------------------------
19435
+ DeforestTest: test_parse_and_save_log_file
19436
+ ------------------------------------------
19437
+  (0.3ms) INSERT INTO deforest_logs (file_name, line_no, method_name, count, created_at, updated_at) VALUES ('/Users/johndoe/workspace/app/models/corporate.rb','2144','get_email', 1, '2023-09-09 12:35:25 UTC', '2023-09-09 12:35:25 UTC'),('/Users/johndoe/workspace/app/models/myuser.rb','120','get_name', 1, '2023-09-09 12:35:25 UTC', '2023-09-09 12:35:25 UTC'),('/Users/johndoe/workspace/app/models/post.rb','2211','get_title', 2, '2023-09-09 12:35:25 UTC', '2023-09-09 12:35:25 UTC'),('/Users/johndoe/workspace/app/models/comment.rb','879','get_body', 1, '2023-09-09 12:35:25 UTC', '2023-09-09 12:35:25 UTC');
19438
+ Deforest::Log Load (0.1ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/corporate.rb"]]
19439
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/post.rb"]]
19440
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/myuser.rb"]]
19441
+ Deforest::Log Load (0.0ms) SELECT "deforest_logs".* FROM "deforest_logs" WHERE "deforest_logs"."file_name" = ? ORDER BY "deforest_logs"."id" DESC LIMIT 1 [["file_name", "/Users/johndoe/workspace/app/models/comment.rb"]]
19442
+  (0.3ms) rollback transaction
19443
+  (0.0ms) begin transaction
19444
+ -----------------------------------------------------------------------
19445
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_exist
19446
+ -----------------------------------------------------------------------
19447
+  (0.0ms) rollback transaction
19448
+  (0.1ms) begin transaction
19449
+ ---------------------------------------------------------------------------
19450
+ DeforestTest: test_initialize_db_sync_file_when_db_sync_file_does_not_exist
19451
+ ---------------------------------------------------------------------------
19452
+  (0.0ms) rollback transaction
19453
+  (0.0ms) begin transaction
19454
+ -----------------------------------
19455
+ DeforestTest: test_insert_into_logs
19456
+ -----------------------------------
19457
+  (0.0ms) rollback transaction