<commit_before>//
//  GBAnalytics.h
//  GBAnalytics
//
//  Created by <NAME> on 29/01/2013.
//  Copyright (c) 2013 Goonbee. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "GBAnalyticsNetworks.h"

@interface GBAnalytics : NSObject

//See GBAnalyticsNetworks.h for param list
+(void)startSessionWithNetwork:(GBAnalyticsNetwork)network withCredentials:(NSString *)credentials, ...;

+(void)trackEvent:(NSString *)event;
+(void)trackEvent:(NSString *)event withDictionary:(NSDictionary *)dictionary;//only supported by flurry
static inline _t(event) { [GBAnalytics trackEvent:event] };
static inline _td(event, dictionary) { [GBAnalytics trackEvent:event withDictionary:dictionary] };

+(void)setDebug:(BOOL)enable;
+(BOOL)isDebugEnabled;

@end<commit_msg>changed macro to inline function<commit_after>//
//  GBAnalytics.h
//  GBAnalytics
//
//  Created by <NAME> on 29/01/2013.
//  Copyright (c) 2013 Goonbee. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "GBAnalyticsNetworks.h"

@interface GBAnalytics : NSObject

//See GBAnalyticsNetworks.h for param list
+(void)startSessionWithNetwork:(GBAnalyticsNetwork)network withCredentials:(NSString *)credentials, ...;

+(void)trackEvent:(NSString *)event;
+(void)trackEvent:(NSString *)event withDictionary:(NSDictionary *)dictionary;//only supported by flurry
static inline void _t(NSString *event) { [GBAnalytics trackEvent:event]; }
static inline void _td(NSString *event, NSDictionary *dictionary) { [GBAnalytics trackEvent:event withDictionary:dictionary]; }

+(void)setDebug:(BOOL)enable;
+(BOOL)isDebugEnabled;

@end
{'fraction_non_alphanumeric': 0.13610938471100062, 'fraction_numerical': 0.014916096954630205, 'mean_word_length': 6.1875, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3362349', 'n_tokens_mistral': 550, 'n_tokens_neox': 488, 'n_words': 116}